Skip to content
LabRaToxPublic

About

Local-first desktop app for platform submissions (OAuth verifications, compliance audits, appeals): procedures, deadlines, correspondence, documents, DPAs and encrypted API keys in one place. Electron + Next.js, SQLite, no cloud — plus a local MCP server for Claude.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Anubis

Anubis: Correspondence Archive

Keeper of the Apps. A local-first desktop app that keeps track of platform submissions (OAuth verifications, compliance audits, appeals), the correspondence around them, contracts/DPAs, documents and API keys. It also ships a local MCP server so Claude can work with the same data.

License: MIT Platform Stack

🇩🇪 Deutsche Fassung dieser README


Why

Getting an app approved on YouTube, Meta, TikTok & friends means juggling tickets, deadlines, e-mail threads, screenshots, signed DPAs and a pile of API keys, across several projects at once. Anubis puts all of that in one place, on your own machine, and reminds you before a deadline burns.

Screenshots

Dashboard: overdue submissions, upcoming deadlines and pending replies at a glance, with the activity timeline below (entries with a robot icon came in through MCP).

Dashboard

Submission with correspondence: status workflow, reference and deadline, plus the full message thread in both directions.

Submission with correspondence

API keys: stored encrypted, displayed masked. Plaintext only via "Anzeigen" (reveal), and every reveal is written to the activity log.

API keys

Documents: drag & drop import, category filters, SHA-256 and size per file.

Documents

All images show fabricated demo data. Platforms, reference numbers and company names are invented. The interface is shown in German; it ships in English too.

What it does

  • Projects: group everything per app/product, with status and colour.
  • Submissions: platform, kind, status workflow (draft → submitted → in review → …), reference number, submission/decision dates and a deadline.
  • Correspondence: a message thread per submission (incoming/outgoing, e-mail/form/portal), with the actual date the message happened.
  • Documents: drag & drop import into the vault (SHA-256, 0600), category filter, text extraction for PDF/DOCX/TXT, "open in OS".
  • API keys: encrypted at rest, shown masked (••••1234), reveal is an explicit, logged action; rotation, expiry dates, console URL.
  • DPAs: vendor list with status, signed date, review reminder, link to the signed document.
  • Dashboard: overdue / due in < 7 days / awaiting response, plus an activity timeline.
  • Search: SQLite FTS5 across submissions, correspondence and documents.
  • Reminders: desktop notification on start and every 6 hours for due deadlines and DPA reviews.
  • Backups: a dated, consistent copy of the database on every start, plus a manual button.
  • MCP server: read and safe-write access for Claude, with secrets redacted (see below).

Importing e-mail

Correspondence is the core of this app, and it used to be typed in by hand. Drop a saved .eml file onto a submission and it becomes a message; attachments become documents on the same submission. If the platform put its case ID in the subject, the matching submission is proposed automatically via its reference.

Deliberately no IMAP: this app promises that nothing leaves the machine, and a mailbox connection would be an architectural decision rather than a feature. The mail is already a file on your disk, so reading it costs no new network surface.

Templates and case files

Recurring letters such as appeals, follow-ups or extension requests live as templates; placeholders like {referenz} or {frist} are filled from the submission when you insert one.

The other way round, a submission exports as a single Markdown file: header, correspondence, a document table with checksums, and the history. Useful when a platform escalates or someone asks you to account for a process.

Deadlines in your calendar

Backups… → Export deadlines writes fristen.ics next to the database: open submission deadlines and DPA reviews as all-day events with an alarm two days ahead. Subscribe to that file once in KOrganizer, Thunderbird or on your phone; every export keeps it current.

Language

The UI ships in English and German. On first start Anubis follows your system locale (en* → English, otherwise German). Switch it any time via the menu bar:

File → Language → Deutsch | English

The choice is stored in settings.json next to the database and applies to the whole app: window, menu, dialogs, date formats and desktop notifications.

Security model

  • Secrets are encrypted at rest: a random key in the OS keyring (Secret Service / kwallet), otherwise a master password → argon2id → AES-256-GCM. All crypto lives in crates/anubis-core/src/security/secrets.rs, nowhere else.
  • Plaintext of a secret leaves the backend only through credentials_reveal, which is a deliberate UI action and gets written to the activity log.
  • The MCP server never hands out secret plaintext. Its credential DTO has no value field and there is no reveal tool. That is not filtering: the query never selects the column.
  • The renderer holds no capability beyond calling the app's own commands: no filesystem, no shell, no dialog. Strict CSP, no unsafe-inline for scripts.
  • Database file and imported documents are written with mode 0600, directories 0700.
  • Nothing is sent anywhere. There is no telemetry, no account, no cloud.

Stack

Tauri 2 / Rust (the backend owns the data) · Next.js App Router (output: 'export', no SSR) · rusqlite with bundled SQLite + FTS5 (WAL) · Tailwind v4 · Zustand · TypeScript (strict).

Handing it to other machines

The AppImage bundles WebKitGTK but not the C library. Built on Arch it needs glibc 2.39, which rules out Debian 12 and Ubuntu 22.04. For distribution:

npm run build:portable      # builds inside an Ubuntu 22.04 container

That lowers the floor to glibc 2.34 (measured) and makes the AppImage smaller as a side effect. The release workflow does the same and fails if the floor creeps up again.

Installation

Download the prebuilt AppImage from the releases page and verify its checksum, or build it yourself. Step by step, including prerequisites, desktop integration, MCP setup and troubleshooting: INSTALL.md.

The short version for building (Linux x64, Rust 1.82+, Node 20+, webkit2gtk-4.1):

npm install && npm run build   # → target/release/bundle/appimage/

The build script sets NO_STRIP=1 for you: the strip shipped inside linuxdeploy does not understand the .relr.dyn sections current binutils produce, and bundling would fail after the compile had already succeeded.

Per-version changes: CHANGELOG.md.

Development

npm install
npm run dev            # tauri dev: next dev (:3000) + the app window
npm run typecheck      # tsc for shared/ and renderer/
npm test               # cargo test
npm run gen:i18n       # regenerate Rust strings after editing shared/i18n.ts

Architecture

  • The renderer has no database or filesystem access. Everything goes through Tauri commands (src-tauri/src/commands.rs), wrapped in renderer/lib/api.ts, typed in shared/types.ts.
  • SQL exists in exactly one place: crates/anubis-core. The app and the MCP server share it, so the queries cannot drift apart.
  • One source of truth for DTOs: shared/types.ts. One source of truth for UI strings: shared/i18n.ts. Rust gets them through a codegen step, and backend errors carry i18n keys rather than translated sentences.

Data lives in ~/.config/labratox-anubis/ on Linux: vault.db, documents/, backups/, settings.json. The directory name is historical and is pinned explicitly in src-tauri/src/state.rs, because renaming the app must never move existing vaults.

MCP server (Claude access)

A standalone stdio MCP server (anubis-mcp, its own binary) reads the same vault.db (WAL) and writes to it safely. Secrets stay redacted: list_credentials returns metadata only, there is no value field and no reveal tool. Every write is attributed in activity.actor to the client that made it. The name comes from clientInfo.name in the MCP handshake, so any client (Claude Code, Claude Desktop, Cursor, Zed, your own tooling) records itself. 'user' is reserved for the person at the UI and cannot be claimed by a client.

  • Read: list_projects, get_project, list_submissions, get_submission, list_messages, list_documents, get_document_text, list_credentials (redacted), dashboard_overview, search.
  • Write: create_project, update_project, create_submission, update_submission, set_submission_status, add_message, add_credential_record (without value), upsert_dpa, delete_submission.

Registering: point Claude Code/Desktop at the binary. No runtime, no wrapper:

{
  "mcpServers": {
    "anubis": {
      "command": "/home/you/.local/bin/anubis-mcp",
      "env": { "VAULT_DB": "/home/you/.config/labratox-anubis/vault.db" }
    }
  }
}

The database path comes from VAULT_DB (default: ~/.config/labratox-anubis/vault.db).

License

MIT © Heiko Stuhrmann

About

Local-first desktop app for platform submissions (OAuth verifications, compliance audits, appeals): procedures, deadlines, correspondence, documents, DPAs and encrypted API keys in one place. Electron + Next.js, SQLite, no cloud — plus a local MCP server for Claude.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages