← All work

Nobita

Handwritten notes app in open .xopp (Xournal++) format for iPad and Mac, with reading on iPhone, on-device handwriting and math-to-LaTeX recognition, and a read-only MCP connection for any AI.

Role
Solo project
When
Nov 2026 – present
Stack
Swift · UIKit · PencilKit · CoreML · SQLite FTS5 · Mac Catalyst · Python · MCP · WebSocket
Links
Nobita's library on an iPad, with yellow folders and a sidebar showing Library, Favorites and Recents

I study by hand and wanted an iPad and Mac app that continues my Xournal++ .xopp notebooks without locking them into a proprietary format, while letting my AI read what I am writing without screenshots. Nobita is that app: free, with no subscription, no accounts or hosted servers, and source-available under PolyForm Shield 1.0.0 (repository still private, in testing).

Four design decisions

1. No proprietary format: native .xopp end to endXournal++ round-trip

Notebooks are standard .xopp files (with companion PDFs, images and audio beside them, plus legacy .xoj import), compatible with Xournal++ 1.2 and 1.3 with zero conversion or warnings. Nobita-specific extras — exact PencilKit ink, shapes, layer opacity, text index and audio timestamps — travel in nobita: attributes that Xournal++ silently ignores. The earlier custom format (.nob) was removed completely.

2. On-device handwriting and math-to-LaTeX recognitionCoreML INT8 · FTS5

Handwriting is recognized in the background on device (prioritizing the visible page) and indexed in SQLite FTS5 outside the notebooks for instant search across the whole library and linked folders. For formulas, TexTeller 1.0.2 (Apache 2.0) converted to CoreML INT8 ships inside the app: any lassoed formula can be copied as LaTeX offline, with optional automatic background formula recognition in Settings.

3. Read-only MCP connector for any AINo screenshots · RAM-only

A lightweight Python bridge (WebSocket + MCP) connects the app to Claude, ChatGPT, Codex or local models without Nobita servers or writing notebook content to disk. The app pushes live focus to the bridge's RAM for instant lookups, tracks per-client deltas (nobita_cambios), searches across open and closed notebooks and renders grayscale crops only when a messy region needs it. The connection is strictly read-only: your AI can never alter your notebooks.

4. One app tailored to iPad, Mac and iPhoneUIKit · Mac Catalyst

On iPad it delivers native Apple Pencil ink, ink gestures (scribble-to-erase, circle-to-select), layers, geometry instruments, multiple PDFs per notebook, ink-synced audio with local transcription and an infinite whiteboard. On Mac it runs via Mac Catalyst with tabbed windows, split view, full keyboard shortcuts and Finder integration. On iPhone notebooks open in read mode — single-tap distraction-free reading, handwriting search and one-tap page text copy — with an Edit button for quick notes by finger.

How context reaches your AI

NobitaReads ink locally and pushes live focus to the bridge.
MCP bridge
  • RAM-only (no disk writes)
  • per-client live state
  • 6 read-only tools
Your AIQueries focus, deltas, pages, library search or a tight crop.

Under the hood

  • Portable, tested core: document models, .xopp codec, cloud sync engine, recognition pipeline and connector protocol live in the UI-free NobitaCore Swift package (1,576 tests in Swift Testing), alongside 34 integration tests for the Python bridge.
  • One clean cloud plus linked folders: the default library syncs with one active cloud at a time (iCloud Drive, Google Drive, Dropbox or OneDrive) to prevent cross-cloud races, while unlimited external folders can be linked from Files or Finder.
  • Built against data loss: automatic .xopp backups (skipping unchanged companion PDFs), local version history, conflict detection and recoverable trash.