kotoyuuko

kotoyuuko pushed to main at kotoyuuko/ansible-proxy

  • c828daf2f8 Allow HTTP port 80 through UFW for certbot ACME validation certbot standalone mode requires port 80 to be accessible for ACME HTTP-01 validation. UFW was configured with default deny and only SSH was allowed, blocking certbot from obtaining certificates. Add UFW allow rule for port 80 before certbot attempts certificate provisioning. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 weeks ago

kotoyuuko pushed to main at kotoyuuko/ansible-proxy

  • d12879fcb4 Support per-host Trojan domain configuration Move trojan_domain and certbot_email from group_vars to per-host inventory variables so each server can have its own TLS domain and certificate. - Add assert validation in trojan role to fail early with clear message if domain/email is missing for a host - Update inventory/hosts.yml.example with per-host domain/email examples - Update README.md with per-host configuration instructions - Sync trojan-multiuser spec with per-host domain requirements Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 weeks ago

kotoyuuko pushed to main at kotoyuuko/ansible-proxy

  • 06d92773b5 Archive OpenSpec change: upgrade-snell-v5 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 weeks ago

kotoyuuko pushed to main at kotoyuuko/ansible-proxy

  • 8a6b40fed1 Upgrade Snell default version to v5.0.1 Update snell_version from v4.1.1 to v5.0.1. Switch download URL from GitHub Releases to official NSSurge CDN (dl.nssurge.com) as v5 releases are now hosted there. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 weeks ago

kotoyuuko pushed to main at kotoyuuko/ansible-proxy

  • 5053ace211 Initialize Ansible proxy deployment project Add server base security role (SSH hardening, UFW, fail2ban, auto-updates). Add Snell single-user proxy role with auto-generated PSK. Add Trojan multi-user proxy role with YAML-based user config, Let's Encrypt TLS, and nginx fallback. Include OpenSpec design docs and specs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 weeks ago

kotoyuuko created new branch main at kotoyuuko/ansible-proxy

2 weeks ago

kotoyuuko created repository kotoyuuko/ansible-proxy

2 weeks ago

kotoyuuko pushed to main at kotoyuuko/cc-switch-cli

  • 8e0caa89bc Initial commit: cc-switch CLI Go tool that switches between Claude Code provider subscriptions by cleaning (union of all providers' env keys), injecting the selected provider's env, and launching `claude` with that environment. Supports env:VAR references to keep secrets out of the config file and ships with six built-in provider templates. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

2 weeks ago

kotoyuuko created new branch main at kotoyuuko/cc-switch-cli

2 weeks ago

kotoyuuko created repository kotoyuuko/cc-switch-cli

2 weeks ago

kotoyuuko pushed to main at kotoyuuko/ansible-proxy-chain

  • 4b7f026907 feat: restructure Surge client config with SukkaW ruleset conventions Adopt skk.moe's standard Proxy/Native group naming and expand [General] settings with DNS, IPv6, and connectivity options. Replace minimal rule set with comprehensive service-based routing (streaming, Telegram, Apple, Microsoft, AI, etc.). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
  • a6b57dc3c2 fix: correct certbot renewal hooks directory path Use /etc/letsencrypt/renewal-hooks/post/ instead of the nonexistent /etc/letsencrypt/renewal-hooks-post/ for the trojan-go renewal deploy hook Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
  • b671cbfcbf fix: resolve trojan-go startup failure from TLS permissions and missing capability Copy TLS certs to /etc/trojan-go/tls/ owned by the trojan user, update certbot renewal hook to propagate certs on renewal, and add CapabilityBoundingSet to the systemd unit Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
  • 967f5d9650 feat: use relay_domain instead of raw IP in Surge config Replace the relay server's IP address with a configurable domain name in the Surge client template, and update example/spec files Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
  • 3624244f26 feat: add nginx fallback web server for Trojan camouflage Install and configure nginx on port 8080 as the fallback server for trojan-go, so non-Trojan HTTPS traffic is served a static page instead of failing on an empty port Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

3 weeks ago

kotoyuuko created new branch main at kotoyuuko/ansible-proxy-chain

3 weeks ago

kotoyuuko created repository kotoyuuko/ansible-proxy-chain

3 weeks ago

kotoyuuko pushed to main at kotoyuuko/zenmux-usage-cli

  • 31e1c24cc9 chore: license under WTFPL v2 Add a LICENSE file at the repo root and a short License section in the README so downstream redistribution is unambiguous. Single project copyright line; upstream Sam Hocevar attribution dropped per WTFPL's own "modified copies of this license document" clause. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

3 weeks ago

kotoyuuko pushed to main at kotoyuuko/zenmux-usage-cli

  • d0f05ffcbd refactor(render): drop month progress row, show monthly cap as one-liner The API doesn't populate used_* fields on quota_monthly, so the third progress bar was always empty with — placeholders — looked like missing data. Replace with a compact "Monthly cap: 34560 flows · $1134.33" line between "Tokens consumed" and "Next reset". Covered by the existing snapshot test plus a new negative assertion that month/n/a/em-dash remnants don't leak into the bar region. JSON output unchanged (raw API response still passes through). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

3 weeks ago

kotoyuuko pushed to main at kotoyuuko/zenmux-usage-cli

  • 955e114fe9 feat: initial zenmux-usage CLI with multi-account YAML config Go CLI that renders ZenMux subscription quota windows (5h/7d/month) and token USD value for one or more accounts configured in a YAML file. Supports --account/--config/--api-key/--json/--no-color/--timeout flags and distinct exit codes (0–7) for scripting. Covered by automated tests: config parsing & validation, API client status mapping, progress-bar rendering, single- and multi-account JSON output, and every documented exit code. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

3 weeks ago

kotoyuuko created new branch main at kotoyuuko/zenmux-usage-cli

3 weeks ago

kotoyuuko created repository kotoyuuko/zenmux-usage-cli

3 weeks ago

kotoyuuko pushed to main at cosmoedev/cosmoe-bot

  • 3e22d98bc9 docs: add README.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1 month ago

kotoyuuko pushed to main at cosmoedev/cosmoe-bot

  • c1049fc72f docs: add CLAUDE.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1 month ago