Mizoine logo

About Mizoine 1.0

Personal knowledge base and file storage on plain Markdown files and Git

Version 1.0.0

What is Mizoine?

Mizoine is a small web server that lets you and your AI agents read and change your notes and files. They stay ordinary Markdown and text files in ordinary Git repositories. You can open them in the browser, script them over plain HTTP, or let an AI assistant such as Claude work in them through MCP (Model Context Protocol).

The files on disk are the only source of truth. Every other layer, such as the search index, can be switched off or deleted and rebuilt. If Mizoine disappears, your knowledge is still a folder of readable files in Git.

Mizoine 1.0 is a fresh start. It shares a name with the earlier Mizoine issue tracker (v0.1, deprecated) but none of its code or data format. The old feature list is kept on a separate page.

Highlights

Plain files

  • Markdown and text on disk
  • No database
  • No migration: point it at your folders
  • Edit with any tool

Git

  • Status, stage, commit from the browser
  • Pull (fast-forward only) and push
  • Never force-pushes
  • Stores no Git passwords

AI agents

  • MCP endpoint for Claude and others
  • Agents see only their own folders
  • Agents cannot use Git
  • A human reviews and commits

Features

  • Browser UI: browse folders and files, read Markdown as pages, edit text files with syntax highlighting, and see the Git status.
  • Markdown pages: relative links and images, heading anchors, GitHub-style tables, task lists, strikethrough and autolinks. Every page has a stable address.
  • File API over HTTP: download, upload (PUT), delete, create folders, move and rename. Works with curl and scripts. Each file carries an ETag, so a write can succeed only if nobody changed the file meanwhile.
  • Tags: key:value tags kept in a .tags file inside each folder, so they travel with the folder and are versioned by Git.
  • Search: file names and content across the repositories a user may read. It tolerates spelling variants and word forms and understands English, German, French and Russian. It uses an embedded Apache Lucene index that is kept outside your repositories.
  • Inbox: a per-repository folder where new items land until you sort them.
  • Upload links: temporary links that need no login, so a phone or a chat can drop files into one folder.
  • MCP tools: list repositories and folders, read and write files, upload, create folders, delete, move, set tags, search, and create upload links.

Working with AI agents

An agent is just another user in users.yaml with a limited set of folder grants. It reads and writes plain files in those folders and nothing else. It has no Git access. You review what it changed with git diff and commit it yourself.

ClientHow it connects
Claude Code and similar toolsHTTP Basic authentication with an agent user
Claude on the web and phoneOAuth. Mizoine acts as its own OAuth server; you configure a client ID, a hashed secret and a callback URL

Access and security

  • Only users listed in users.yaml can log in. Passwords are stored as BCrypt hashes, and plain-text passwords are refused.
  • Access is granted per folder, per repository. A grant covers its folder and everything below it. Anything outside the grants answers "not found", exactly like a missing item.
  • Hidden names such as .git are never shown. Git access is a separate grant.
  • Failed logins are rate-limited (by default 5 attempts in 5 minutes). Browser writes require a CSRF token.
  • Writes are atomic, so readers and Git never see half-written files.
  • Downloads are sandboxed. HTML and SVG files are downloaded, never displayed. Raw HTML in Markdown is shown as text.
  • Mizoine listens on 127.0.0.1 by default. Put nginx (an example configuration is included) or another proxy in front for HTTPS.

Getting started

Requirements: Java 25 and Git on the server. Building from source also needs Maven 3.9+ and Node.js.

  1. Download mizoine-1.0.0.jar from the GitHub releases page, or build it with mvn verify.
  2. Copy users.example.yaml and the repositories.example folder. Add your user name and a password hash created with the built-in hash-password command.
  3. Describe each repository in a <name>.yaml file that maps users to the folders they may access.
  4. Set LANG=C.UTF-8 and start the jar with the users file and the repositories folder. The script docs/mizoine.sh does this in the background.
  5. Open http://127.0.0.1:12013 and log in.

Changes to the users file and the repository files take effect without a restart.

For commits from the browser, the server user needs a Git identity (user.name and user.email). Pull and push use the server user's own SSH key or credential helper. For Claude on the web and phone, also set mizoine.public-url and one OAuth client per chat app.

Known limitations of 1.0.0

  • The browser cannot yet upload files, delete, or create folders. Use curl or an agent for now.
  • Git in the browser covers everyday steps only. Merges, conflicts, branches and diverged branches are handled on the server.
  • Chat-app OAuth sessions are held in memory, so after a restart you reconnect in the chat app.
  • Moving or renaming a file does not update links to it in other files.
  • The search index is built by hand. Until the first reindex, search is unavailable.