Problem
My Bibi keeps private chat and journal writing on the user's own hardware. No content leaves the host.
System study
My Bibi runs entirely on the user's own hardware with a single docker compose up. A Next.js PWA and a FastAPI backend work with local Ollama models running Llama 3.2 3B, and with SQLite FTS5 search over a markdown vault. Each user's journal is encrypted at rest, and no content leaves the host.
What was built
A chat and journal application that runs entirely on the user's own hardware with a single docker compose up.
Local Ollama models (Llama 3.2 3B), with graceful fallback when the model is offline.
Each user's journal encrypted at rest with a key derived from that user's password.
Full-text search over messages and memories with SQLite FTS5 against a markdown vault.
Invite-link sign-in with bcrypt and JWT, delivered as a PWA.
Architecture
- Frontend
- Next.js 14 with TypeScript, Tailwind CSS and shadcn/ui.
- Backend
- FastAPI on Python 3.11.
- Storage
- SQLite with FTS5, and a markdown vault.
- Model
- Ollama runs Llama 3.2 3B on the host.
- Packaging
- Docker Compose. One docker compose up starts the app.
Key decisions
Local Ollama models, so no content leaves the host.
Encryption at rest with a per-user key derived from the user's password.
Full-text search with SQLite FTS5.
Screenshots
Technology
- Next.js 14
- TypeScript
- Tailwind CSS
- shadcn/ui
- FastAPI (Python 3.11)
- SQLite with FTS5
- markdown vault
- Ollama (Llama 3.2 3B)
- bcrypt
- JWT
- invite-link auth
- Docker Compose
- PWA
Limitations and status
Open source under the MIT licence. It runs only where it is self-hosted, so there is no public demo.
Screens show sample data only.


