A lightweight, self-hosted Python private cloud server, offline .note toolkit, and optional AI knowledge hub for your Ratta Supernote (Nomad, A5 X2 Manta, A5 X, A6 X).
Unofficial Community Project: We love Ratta's hardware and built this project for the Supernote community. It is an independent open-source project and is not affiliated with, endorsed by, or sponsored by Shanghai Ratta Smart Technology Co., Ltd. Supernote and Ratta are trademarks of Shanghai Ratta Smart Technology Co., Ltd.
Unlike the official multi-container Java, MariaDB, and Redis Private Cloud stack (~2 GB+ RAM), Open Private Cloud runs in a single Python process backed by SQLite. Every major feature is an optional component that isn't even imported when turned off, so you only pay for what you use:
| Tier | Memory Footprint | What's Included | AI Required? |
|---|---|---|---|
| 1. Bare Sync Server | ~135 MB RAM | Drop-in Private Cloud sync for Raspberry Pi / NAS, storage quotas (disables Web UI and MCP) | No |
| 2. Web Workspace & Integrations | ~160 MB idle (~310 MB peak) | 4-tab Web UI (Files, Digests, Tasks, Wiki), .ics calendar feeds, webhooks, built-in Supernote keyword search |
No |
| 3. Optional AI & Knowledge Hub | ~160 MB idle + chosen model | Handwriting & diagram OCR, standalone image OCR, hybrid semantic search, opt-in LLM Wiki + Obsidian export, MCP server for Claude/Cursor | Optional (Gemini or local Ollama/vLLM) |
4. Offline .note Toolkit |
CLI / library only | Parse .note files, convert to PDF/PNG/SVG, or author Bullet Journal .note files from Markdown—no server needed |
No |
| If you want to… | Start here |
|---|---|
| Replace Ratta's 2 GB Private Cloud stack on a Raspberry Pi, NAS, or Docker host | Self-Hosting & Quickstart Guide |
| Choose between Google Gemini, local Ollama/vLLM, Apple Vision, or zero AI | Choosing an AI Provider |
| Transcribe handwriting, Bullet Journals, Mermaid diagrams, and whiteboard photos | Handwriting OCR & Multimodal Workflows |
| Search across years of notebooks by keyword or meaning | Search & Retrieval |
| Turn your synced notes and tasks into an Obsidian-ready personal wiki | LLM Wiki |
| Connect Claude Desktop, Claude Code, or Cursor to read notes and inspect sketches | MCP Server & AI Assistants |
Export Supernote To-Dos as a calendar feed (.ics) or trigger Home Assistant and n8n webhooks |
Webhooks, iCal (.ics) & Integrations |
Convert or author .note files offline from the terminal or Python |
CLI Reference · supernote.notebook |
Browse synced folders with rendered .note cover thumbnails, open handwritten pages side-by-side with AI Markdown transcripts (including rendered Mermaid diagrams), review reading digests, manage synced tasks, or curate your opt-in LLM Wiki—all in a mobile-friendly editorial Web UI.
For Docker Compose, Caddy/Nginx reverse proxies, and backups, see the Self-Hosting & Quickstart Guide.
Zero-AI sync server (Python or Docker):
pip install "supernote[all]" # Server + cloud/admin CLI (or supernote[server] for server only)
supernote servedocker run -d -p 8080:8080 -v $(pwd)/storage:/data --name supernote-server ghcr.io/allenporter/supernote:latestTo run in Bare Sync Mode (~135 MB RAM) without the Web UI or MCP server:
SUPERNOTE_WEB_ENABLED=false SUPERNOTE_MCP_ENABLED=false supernote serveAdd optional AI (Google Gemini default or local Ollama/vLLM):
Set SUPERNOTE_GEMINI_API_KEY to enable handwriting OCR, summaries, and hybrid search with gemini-3.5-flash-lite and gemini-embedding-2 (or point config/config.yaml at a local Ollama, llama.cpp, or vLLM server so notes never leave your network). See Choosing an AI Provider for OCR/search benchmarks, local configs, and API data-retention policies.
The first registered user becomes the administrator and closes public registration:
supernote admin --url http://localhost:8080 user add you@example.comIf you are running with Docker, run the same command inside the container:
docker exec -it supernote-server supernote admin --url http://localhost:8080 user add you@example.com- On your tablet, open Settings → Sync → Supernote Cloud and choose Private Cloud.
- Enter your server URL (for example,
http://192.168.1.5:8080) and sign in with your new account. - Tap Sync.
- Self-Hosting & Quickstart
- Choosing an AI Provider (Gemini vs. local Ollama/vLLM vs. no AI, benchmarks, and data policies)
- Handwriting OCR & Multimodal Workflows
- Search & Retrieval
- LLM Wiki
- MCP Server & AI Assistants
- Webhooks, iCal (
.ics) & Integrations
- Configuration Reference (
config.yaml&SUPERNOTE_*environment variables) - CLI Reference (
supernotelocal, cloud, and admin commands) - Prometheus & Grafana Monitoring
- Security & Threat Model
- OCR Benchmarks · Search & Embedding Benchmarks
- Server Component Catalog · Server & Sync Protocol · Binary
.noteFormat Spec - Python packages:
supernote.server·supernote.client·supernote.notebook·supernote.models
pip install supernote # Offline .note parser, converter & Markdown authoring
pip install "supernote[client]" # + Async Cloud API client & cloud/admin CLI
pip install "supernote[server]" # + Private Cloud server, Web UI, AI & MCP
pip install "supernote[all]" # EverythingContributions are welcome! See Contributing and the Database Migration Guide to get started locally with ./script/bootstrap, ./script/test, ./script/lint, and ./script/docs.



