omarandClaude Opus 4.8 0b432f2b11
CI / validate (push) Successful in 13s
CI / images (deploy/Dockerfile.api, api) (push) Successful in 35s
CI / images (deploy/Dockerfile.checker, checker) (push) Successful in 37s
CI / images (deploy/Dockerfile.web, web) (push) Successful in 23s
Polish: render dashboard charts without entry animation
Data bars/areas are immediately visible instead of animating from zero — better
for an at-a-glance telemetry console.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014TtR4PP2JM9KadaBkhPGAE
2026-07-02 01:46:30 +03:00

zhguchiy_perchik

Proxy checker panel with its own subscription system. It continuously pulls proxy configs (vless / vmess / trojan / ss) from source lists, checks each for validity by its exit IP, keeps only working ones, and serves them to clients as subscriptions (plain / base64 / Clash / sing-box).

See ARCHITECTURE.md for the design and TODO.md for the full feature wishlist.

Stack

Service Stack Role
postgres PostgreSQL 16 Database
checker Go (cmd/checker) Worker: fetch → canonicalize/dedup → check → geo → write sessions
api Go (cmd/api) REST panel API + public subscription endpoints
web React + Vite + TS + Tailwind + nginx SPA panel (Dashboard / Proxies / Subscriptions / Settings), also routes /api + /sub

The vless/vmess/trojan/ss dialers, upstream parser, geoip and fetcher are reused from tessero-checker; the canonicalization, session model, DB layer, subscription conversion and API/UI are new.

Quick start

cp .env.example .env
# edit .env: set ADMIN_PASSWORD and SESSION_SECRET (long random)
docker compose up -d --build

Open http://localhost:8088 and sign in with ADMIN_USER / ADMIN_PASSWORD.

Then in the panel:

  1. Settings → Sources: add one or more list URLs (see TODO.md for examples).
  2. Run check (top bar) or wait for the scheduled interval.
  3. Working proxies appear in Proxies; build client feeds in Subscriptions.

Model — "only working / last completed session"

The panel and subscriptions always serve the last completed check session; a running or crashed session never affects output. When a session completes, one transaction flips the is_current pointer. Per-canonical history (uptime, consecutive failures) is kept even while a proxy is currently invalid, but only working proxies from the current session are ever shown or served.

Development

Backend:

go test ./...
go vet ./...
go run ./cmd/api      # needs DB_DSN, ADMIN_PASSWORD, SESSION_SECRET
go run ./cmd/checker  # needs DB_DSN

Frontend (proxies /api + /sub to localhost:8080):

cd frontend
npm install
npm run dev

CI

.gitea/workflows/ci.yml runs go vet / go test / go build and the frontend build on every push, then (on main) builds and pushes the three images to the Gitea container registry.

S
Description
No description provided
Readme
1 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 82.7%
TypeScript 12.2%
PLpgSQL 2.8%
Shell 1.9%
JavaScript 0.2%
Other 0.1%