From b08c0d5b339f491854547ca099fb0b1034773d9e Mon Sep 17 00:00:00 2001 From: "v.lagerev" Date: Sun, 12 Apr 2026 21:58:54 +0300 Subject: [PATCH] add promt md for agents --- PROMT.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 PROMT.md diff --git a/PROMT.md b/PROMT.md new file mode 100644 index 00000000..8686893b --- /dev/null +++ b/PROMT.md @@ -0,0 +1,52 @@ +# Vojo — Matrix-based messenger for the Russian market + +## What is this + +This is a fork of Cinny (https://cinny.in, MIT license) rebranded as Vojo. +Vojo is an independent messenger built on the Matrix protocol, targeting +Russian users affected by Telegram blocking. + +Key value proposition: "Telegram works without VPN" — the server maintains +Telegram bridge connections, users just open vojo.chat and chat. + +## Architecture + +- **Domain**: vojo.chat +- **Server**: Yandex Cloud VPS, Ubuntu 24.04 +- **Backend**: Synapse (Matrix homeserver) + PostgreSQL + Caddy (reverse proxy) +- **Bridges**: mautrix-telegram (Python v0.15.3, SOCKS5 proxy for Telegram) +- **Client**: This repo — Cinny fork, deployed as static files via Caddy + +The client is served from `~/vojo/cinny/` on the server. +Caddy serves it at `https://vojo.chat`. + +## Branding + +- **Name**: Vojo (everywhere in UI, page titles, meta tags) + + +## Default homeserver + +All configs must point to `vojo.chat` as the default and only homeserver. +Hide homeserver selection from the user — they don't need to know about Matrix. + +## Build & Deploy + +```bash +npm ci +npm run build +# Output in dist/ +scp -r dist/* vojo-superuser@111.88.146.156:~/vojo/cinny/ +``` + +Caddy serves from `/var/www/cinny` (symlinked to ~/vojo/cinny). + +## Key API Reference + +- Matrix Client-Server API: https://spec.matrix.org/latest/client-server-api/ +- Synapse Admin API: https://element-hq.github.io/synapse/latest/usage/administration/admin_api/ + +## Developer + +Julian — C++ backend engineer. Limited frontend experience. +Using Claude Code agents for frontend work. \ No newline at end of file