- โจ๏ธ Cursor
- ๐ Install recommended workspace
VSCodeextensions.
- ๐ Install recommended workspace
- ๐ฅ Node.js โ version from
.node-version. - ๐ฅ Bun.
- ๐ Fonts:
- ๐ณ Docker
- ๐ pgAdmin
- ๐ฑ Android SDK
- โ๏ธ
!setup.bat: Configure git and install project dependencies. - โ
!check.bat: Run all CI checks. - ๐งน
!cleanup.bat: Clean up repository. - ๐ฆ
!upgrade.bat: Upgrade dependencies interactively. - ๐
!upgrade_actions.bat: Upgrade GitHub Actions.
Schema source of truth: packages/db-core/prisma/schema.prisma.
- Run
bun do dev. - Modify
schema.prismaand restart dev server during development.
- Rebase on
main. - Run
bun do finish-feature. - Review changes.
- Commit if ok.
bun do finish-feature, do not modify schema.prisma. If schema changed, run bun do finish-feature
again.
- ๐ค Decrypt:
bun do decryptโsecrets.prod.yaml - ๐ Encrypt:
bun do encryptโ writessecrets.prod.enc.yaml(securely save printed key asSECRETS_KEY)
secrets.prod.yaml is temporary; delete it after encrypting.
| Secret | Description |
|---|---|
SSH_HOST |
Server hostname or IP |
SSH_USER |
SSH username |
SSH_PRIVATE_KEY |
Private SSH key (full PEM) |
SECRETS_KEY |
Prod secrets encryption key |
- Create a dev and prod buckets, access keys and set up access rights.
- Add secrets:
S3_ACCESS_KEY,S3_SECRET_KEY,S3_BUCKET.
Dev server (bun do dev) is always at https://home.local (site) and https://home.local/app (app). The
machine hostname should be home so phones and other devices on the LAN can resolve home.local. Android debug APK
uses the same URL.
- Dev:
bun do android-keys-dev - Prod:
bun do decryptโbun do android-keys-prodโbun do encrypt
bun do cert- creates
$env:USERPROFILE\.snappy\cert\folder.
- creates
certutil -addstore -user Root "$env:USERPROFILE\.snappy\cert\ca.pem"bun do dev
On a phone: copy ca.pem to the device and install it as a CA certificate (Settings โ Security).
- Hash:
MD5 - ResultURL:
POSThttps://snappy-ai.ru/api/webhooks/robokassa - SuccessURL:
GEThttps://snappy-ai.ru/app/billing/robokassa/success - FailURL:
GEThttps://snappy-ai.ru/app/billing/robokassa/fail
Server logs go to .logs/ in the repo root (created automatically; gitignored):
httpโ Fastify request/access logs (HttpLog)paymentโ top-up, settle, credit, Robokassa webhook / tunnel (Log.payment)authโ signup reject / bonus, email send failures (Log.auth)aiโ LLM proxy gate / debit (Log.ai)
Rotation: daily and at ~20โฏMB, keep 14 files. For top-up / tunnel issues inspect .logs/payment*.log on the server and
locally.
- ๐ฆ TypeScript
- โก Vite
- ๐ฆ tsdown
- โ๏ธ React
- ๐ Better Auth
- ๐งฌ Prisma
- ๐งช Vitest
- โจ ESLint
- ๐จ Prettier
- ๐๏ธ Stylelint
- ๐ฏ Lucide
- ๐ฆ Zod
- โ๏ธ Nodemailer
- ๐ง React Email
- ๐ agent-browser
- ๐ฎ MSI Afterburner
- ๐ฆ Ollama
- ๐ง Hermes Agent โ Autonomous agent with memory (GitHub).
- ๐ป OpenCode โ Open-source coding agent (GitHub).
- ๐งช n0x โ The full AI stack in one browser tab (GitHub).
- ๐งฉ Claude Code โ Community research mirror (GitHub).
- AITunnel
- ProxyAPI
- RouterAI
- RockAPI
- GenAPI
- VseLLM
- NeuroAPI
- Aiesa
- Cloud.ru Evolution Foundation Models
- Yandex Cloud Foundation Models
- GigaChat API
- LMSYS Chatbot Arena โ blind pairwise comparisons and user-voted Elo ratings.
- Hugging Face Open LLM Leaderboard โ open-weight models on standard benchmarks.
- Artificial Analysis โ quality, throughput, and price in one place.
- SWE-bench โ real-world GitHub-style coding and patching (software engineering).
- LiveBench โ frequently updated benchmarks focused on contamination resistance.
- assistant-ui โ open-source React toolkit for production AI chat experiences.