mirror of
https://github.com/Komediruzecki/token-circles.git
synced 2026-10-20 09:46:43 +02:00
renderMail in worker/src/emailTemplates.ts lays a mail out the way the 2026-10-11 design settled: the wordmark above the card, the engraved art flush at its top, an eyebrow, one headline, one or two short paragraphs, a button (or a button and a quieter outlined one), at most one list of numbered steps, and the footer outside the card. Dark by default, paper in light mode through prefers-color-scheme, the dark colours also set as bgcolor attributes for classic Outlook, and the system font stack. The art is two cuts of one image, frontend/public/email/ hero-engraved-night-v1.jpg and banner-engraved-night-v1.jpg. /email/* is served immutable for a year, which is safe because a file there is never overwritten: new art gets a new name. The master and its prompt are in docs/design/mail-art/. No mail uses the layout yet; the first shell and every mail on it are unchanged.
Documentation Index
Start here if you are an agent or a new contributor: AGENTS.md — what ships
(the SolidJS frontend and the Cloudflare Worker), what no longer exists (the Express/SQLite server
that stood under backend/, and the Docker files that described it — all deleted), and the rules
that are not negotiable.
Getting Started
- README.md — Project overview, setup, features, API reference
- CONTRIBUTING.md — Development setup, workflow, testing, PR guidelines
- CODE_OF_CONDUCT.md — Community standards
- SECURITY.md — Vulnerability reporting and security features
- AGENTS.md — Repository orientation: what ships, what is retired, migration and deploy rules
- MCP Server and Account API — Personal access tokens, the MCP tools, and importing statements over the API
- ROADMAP.md — Planned features and improvements
- CHANGELOG.md — Version history and release notes
- LICENSE — GNU AGPL-3.0
Deploying
- worker/README.md — Self-hosting: your own Cloudflare Worker, D1 and R2. This is the only self-host path; the Docker/Express guides were deleted with the server they described (they are at tag
v5.9.3if you still run an image built from it). - Deploy-Update Pipeline — How open tabs cross a release: service worker, version.json, reload bounds, manual verification
- PWA Install Assets — The maskable icon and the install-dialog screenshots: what they are, why they fail silently, and how to regenerate them
Marketing
- Marketing Screenshots — Re-shooting the product stills the landing sites bundle: seeding, profiles, and the traps that produce a plausible wrong image
Design
- Mail art: the engraved art at the top of the mails, its master and prompt, and why a file under
frontend/public/email/is never overwritten
Feature Specifications
Detailed EARS (Exactly As Required Specification) documents for all features:
Frontend
| Module | Spec |
|---|---|
| Dashboard | specs/frontend/dashboard.md |
| Onboarding | specs/frontend/onboarding.md |
| Transactions | specs/frontend/transactions.md |
| Accounts | specs/frontend/accounts.md |
| Categories | specs/frontend/categories.md |
| Budgets | specs/frontend/budgets.md |
| Goals | specs/frontend/goals.md |
| Loans | specs/frontend/loans.md |
| Bills | specs/frontend/bills.md |
| Retirement | specs/frontend/retirement.md |
| Compound Interest | specs/frontend/compound-interest.md |
| Emergency Fund | specs/frontend/emergency-fund.md |
| Analytics | specs/frontend/analytics.md |
| Import | specs/frontend/import.md |
| Settings | specs/frontend/settings.md |
| Rent vs Buy | specs/frontend/rent-buy.md |
Backend
These describe the API contract — the routes, their inputs and their guarantees. They were written against the retired Express implementation, so read them for what the API does, not for how it is built. The implementation is
worker/src/routes/. See AGENTS.md.
| Module | Spec |
|---|---|
| Authentication | specs/backend/auth.md |
| Profiles | specs/backend/profiles.md |
| Transactions | specs/backend/transactions.md |
| Accounts | specs/backend/accounts.md |
| Categories | specs/backend/categories.md |
| Tags | specs/backend/tags.md |
| Budgets | specs/backend/budgets.md |
| Bills | specs/backend/bills.md |
| Loans | specs/backend/loans.md |
| Savings Goals | specs/backend/savings-goals.md |
| Reports | specs/backend/reports.md |
| Settings | specs/backend/settings.md |
| Health | specs/backend/health.md |
| Analytics | specs/backend/analytics.md |
| Housing | specs/backend/housing.md |
| Receipts | specs/backend/receipts.md |
| Recurring | specs/backend/recurring.md |
| Calculator | specs/backend/calculator.md |
See also: specs/INDEX.md