docs: add ARCHITECTURE.md with detailed codebase guide

This commit is contained in:
Nicolas Varrot
2026-02-12 18:27:58 +00:00
parent 9b7f15f5ad
commit d6449773c3
2 changed files with 126 additions and 0 deletions

View File

@@ -125,6 +125,8 @@ graph TD
4. **Messages** — Messages stream in via WebSocket frames; the hook assembles partial chunks into complete messages
5. **Send** — User input (+ optional file attachments) is sent as a JSON frame over the WebSocket
> 📖 For a deeper dive into the codebase structure, see [ARCHITECTURE.md](ARCHITECTURE.md).
## 🌐 Adding a Language
PinchChat uses a zero-dependency i18n system. Adding a new language takes ~5 minutes: