Ivan Shandybin

Work / Spectre VPN

Spectre VPN

A subscription VPN run through a Telegram bot. A .NET backend owns billing and state; small Go agents provision each server.

Software & AI Personal
Status
Retired
Built with
.NET 8, PostgreSQL, Go, Docker
Diagram: Telegram bot, .NET 8 backend, Go agent, Xray

What it does

Users sign up and manage their devices through a Telegram bot, so there is no app to install and no dashboard to maintain. The backend owns subscriptions, device limits and key lifecycle. A Go agent on each server does the provisioning.

How it fits together

  • Backend: .NET 8 with clean architecture (Domain, Application, Infrastructure, Presentation), PostgreSQL and Docker Compose.
  • Node agent: Go, talking to Xray-core over gRPC to add and revoke users. Calls from the backend to an agent are signed with HMAC-SHA256.

Decisions

The split is the useful part: .NET owns billing and state, and the agent owns nothing, so it can be rebuilt from the database. Revocation is idempotent and works in bulk, so a lapsed subscription cleans up across every node without partial-failure problems.