sirily 431a60f9c8 fix: hide exact quota values from account response (#16)
Closes #1

- hide exact quota values from GET /api/account
- keep only the approximate quota bucket in the public account payload
- add a regression test for the public account response contract
- document that completed tasks should end with a PR

Co-authored-by: sirily <sirily@git.shararam.party>
Reviewed-on: #16
2026-03-10 15:52:16 +03:00
2026-03-10 14:03:52 +03:00
2026-03-10 14:03:52 +03:00
2026-03-10 14:03:52 +03:00
2026-03-10 14:03:52 +03:00
2026-03-10 14:03:52 +03:00
2026-03-10 14:03:52 +03:00

nproxy

Product codebase for a crypto-subscription image gateway.

The repository contains:

  • runtime applications and shared packages;
  • the agreed system plan and architecture documents;
  • operational notes for deployment, Telegram pairing, and provider key rotation;
  • directory-scoped instructions so Codex runs implement against the same decisions.

Chosen baseline

  • Product: B2C website
  • Billing: one monthly plan, paid with crypto through a payment processor
  • Model support: starts with nano_banana
  • Generation modes: text-to-image and image-to-image
  • Infra target: one VPS with Docker Compose
  • Admin surfaces: web admin and Telegram bot
  • Key management: multiple provider keys with round-robin routing, failover, cooldown, balance tracking, and optional per-key proxy

Main directories

  • apps/ runtime entrypoints
  • packages/ shared domain and adapter code
  • docs/ source-of-truth planning documents
  • infra/ deployment templates
  • scripts/ operational helpers

Read first

  • docs/plan/system-plan.md
  • docs/architecture/system-overview.md
  • docs/ops/deployment.md
  • CONTRIBUTING.md
Description
Proxy chat for image generators
Readme 194 KiB
Languages
TypeScript 92.8%
JavaScript 4.2%
Dockerfile 3%