Skip to content
allenporterPublic

About

Open Private Cloud for Supernote is a lightweight, self-hosted Python server and optional AI intelligence layer for your Ratta Supernote.

Topics

Resources

Contributing

Stars

90 stars

Watchers

1 watching

Forks

Latest commit

 

History

1,499 Commits

Folders and files

Repository files navigation

Open Private Cloud for Supernote

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).

Open Private Cloud for Supernote Web UI showing synced folders and handwritten .note thumbnails

GitHub Repository Documentation License

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.


Start Small—Everything Is Optional

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

What Do You Want to Do?

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

Quick Tour of the Web UI

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.

Handwritten Notebook Viewer side-by-side with AI Markdown OCR Transcript

Tasks and Schedule Dashboard with task lists, priorities, due dates, and iCal feed export

LLM Wiki Reader with clickable wikilinks, backlinks, provenance sources, and Obsidian export


Quick Start

For Docker Compose, Caddy/Nginx reverse proxies, and backups, see the Self-Hosting & Quickstart Guide.

1. Start the server

Zero-AI sync server (Python or Docker):

pip install "supernote[all]"       # Server + cloud/admin CLI (or supernote[server] for server only)
supernote serve
docker run -d -p 8080:8080 -v $(pwd)/storage:/data --name supernote-server ghcr.io/allenporter/supernote:latest

To run in Bare Sync Mode (~135 MB RAM) without the Web UI or MCP server:

SUPERNOTE_WEB_ENABLED=false SUPERNOTE_MCP_ENABLED=false supernote serve

Add 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.

2. Create your admin account

The first registered user becomes the administrator and closes public registration:

supernote admin --url http://localhost:8080 user add you@example.com

If 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

3. Pair your Supernote

  1. On your tablet, open Settings → Sync → Supernote Cloud and choose Private Cloud.
  2. Enter your server URL (for example, http://192.168.1.5:8080) and sign in with your new account.
  3. Tap Sync.

Documentation

Guides

Reference & Operations

Architecture & Python SDK


Installation & Contributing

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]"       # Everything

Contributions are welcome! See Contributing and the Database Migration Guide to get started locally with ./script/bootstrap, ./script/test, ./script/lint, and ./script/docs.

About

Open Private Cloud for Supernote is a lightweight, self-hosted Python server and optional AI intelligence layer for your Ratta Supernote.

Topics

Resources

Contributing

Stars

90 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages