Ruxy is a proxy rotator and operations platform built with Rust and Next.js for pool management, health checks, routing, and observability.
- Local stack is running through
docker compose - Dashboard, Core API, Proxy Server, Worker, and Postgres are wired together
- Proxy CRUD, health cycles, routing selection, events, and metrics are working end to end
apps/dashboard: Next.js admin dashboardcrates/core-api: Rust control plane APIcrates/proxy-server: Rust data planecrates/worker: background health and aggregation jobscrates/domain,crates/application,crates/infrastructure,crates/shared: supporting workspace crates
- Dashboard:
http://localhost:3000 - Core API:
http://localhost:8001 - Proxy Server:
http://localhost:8000 - PostgreSQL:
localhost:5432
- docs/sprint-0.md: staged execution path
- docs/health-state-machine.md: MVP health transition rules
- docs/api-contract-v1.md: first API contract draft
- docs/schema-v1.md: first database schema draft
System Metrics view from the current dashboard:
- Create, list, and delete proxies from the dashboard
- Reject malformed hosts such as
host:portin thehostfield - Run worker-based health cycles and persist proxy state
- Select healthy proxies through the proxy server
- Record routing events and request-level telemetry
- View overview, logs, system metrics, and settings in the dashboard
Rust:
source "$HOME/.cargo/env"
cargo checkFrontend:
pnpm installRecommended daily dev loop:
pnpm dev:localThis keeps PostgreSQL in Docker and runs core-api, proxy-server, worker, and dashboard locally for faster feedback.
Docker-backed full stack:
docker compose up --buildUseful checks:
curl http://localhost:8001/api/proxies
curl http://localhost:8001/api/health/summary
curl http://localhost:8000/healthThe next implementation targets are:
- tighten request forwarding behavior in
proxy-server - connect more dashboard surfaces to live telemetry
- add stricter validation and operational polish
