Skip to content
nodemode-devPublic

About

form.md - instead of Notion: a workspace for people & agents from the FormAI family of apps. Documents, databases & realtime editing in one Go binary w/ one SQLite file. Self-hosted, no account; agents work in it over MCP. Free & open-source under Apache-2.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

29 stars

Watchers

1 watching

Forks

Latest commit

 

History

528 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

form.md icon

form.md

Workspace; documents, databases and realtime editing for people and agents.
Pages, database views, comments, sharing and publishing,
in one Go binary with one SQLite file. Self-hosted, no account elsewhere.

version v0.63.0 Go 1.26+ TypeScript and Vite macOS, Windows, Linux License: Apache-2.0 Status: released

Download form.md on formai.studio · Latest release · Run it from source


A trail report page in form.md with a cropped sunrise photo as the cover, a green callout and the Trail survey database below it
An original report page: a cropped photo cover, a callout and a live database view, in the editor.

Features · In the box · Agents · Under the hood · Download · Run from source


One binary

A static Go binary with the web client embedded and one SQLite file beside it. No database server.

Server-held documents

Every page is a CRDT the server applies itself, so an API edit merges into what a person is typing.

Rows are pages

Many database views on one query engine, with relations, rollups and formulas.

Agent-ready

An MCP server with OAuth, a REST API and a command line drive the same workspace.

Features

The Trail survey database as a table with zone, status, length, condition, surveyed and volunteers columns
The same rows, as a table with typed columns.

Database views

Every row is a page. Switch one query between table, board, list, gallery, calendar, timeline and form, or see it as a chart, dashboard, heatmap, graph, map or feed.
The Trail survey database as a board grouped by status: Open, Needs repair and Closed
A board grouped by the Status property.

Boards that follow the data

Group by any select, drag rows between columns and add views without copying anything.
The template gallery with 90 templates in categories and live previews of dashboards
The template gallery.

Starts with 90 templates

Documents, databases, dashboards and example projects, each previewed before you add it.

Edit together, share exactly

Comments, suggested edits, history and six access levels, enforced by the server on every route. Publish a page as a site when you want it public.

Everything in the box

Documents

Block editor · slash menu · callouts · toggles · tables · columns · code · mentions · backlinks

Databases

Table · board · list · gallery · calendar · timeline · form · heatmap · graph · charts · automations

Formats

Opens: Markdown · HTML · CSV · ENEX · OPML · Word · Excel · Saves: Markdown · HTML · PDF · CSV

Built for agents

The window's commands, the REST API and the MCP server all act on the same pages and databases.

./form-md cli list              # every command in the open window
./form-md cli describe ID       # one command with its typed parameters
./form-md mcp                   # MCP server on stdio for Claude Code, Codex, Cursor and Antigravity

.mcp.json and .cursor/mcp.json are already wired in this repo. The server also answers MCP over HTTP at /mcp and publishes its REST reference at /api/docs. See AGENTS.md.

form.md is a server you sign in to, so what an agent may do is set by its credential, not by a question in the window. A personal API token or an OAuth grant is either read and write or read only, and can be limited to chosen workspaces; a read-only credential sees the tools that change nothing and is refused anything that changes the workspace. ./form-md agents install registers form.md with Claude Code without putting the token on a command line: the setting it writes names ${FORMMD_MCP_TOKEN}, which Claude Code reads from its own environment when it connects, so keep that variable exported where you start claude. agents/manifest.json lists every MCP tool, which ones are read-only, the skills and the transports; ./form-md agents manifest rewrites it and ./form-md agents manifest --check says when it is out of date.

Extensions

form.md loads Form extensions (Form Extension Contract, API 1): install them with FormPortal, or run a folder from form.ext. They appear under Extensions in the sidebar (and the desktop menu bar), in the Extensions panel on the right and in Find a Command; each runs in a sandboxed frame and changes the page only through form.md's own doc.* commands, as one undo step, after you allow it. Extensions are installed, allowed and run only by the person in the window; agents and scripts are refused the extension commands. The API for extension authors is docs/EXTENSIONS.md; the wiki page is Extensions.

Under the hood

  • Go server: pure-Go SQLite, a Yjs-compatible CRDT in Go, one writer connection and a query-only reader pool.
  • Web client: vanilla TypeScript and Vite with ProseMirror and Yjs, no UI framework, embedded into the binary.
  • Encrypted at rest: an XTS-AES-256 SQLite VFS and AES-256-GCM uploads, with a key kept outside the data directory.
  • Tested: Go tests beside the code they cover (go test ./...), plus a TypeScript check (./form-md check).
  • Themes: dark and light profiles with accent, density and high contrast in Preferences, including AMOLED Black, a true-black dark theme for OLED screens.

Download

Platform Download Release
macOS Download form.md for macOS form.md releases on FormCompiler
Windows Download form.md for Windows form.md releases on FormCompiler
Linux Download form.md for Linux form.md releases on FormCompiler

All form.md builds are compiled and released from FormCompiler; this repo holds the source.

The desktop app signs you in as the owner by itself, with no password. To open the same workspace in a browser at http://127.0.0.1:8750, first set a password in the app under Settings, Profile (no current password is asked the first time), then sign in with the email shown there, owner@localhost until you change it.

Demo

Three offline browser demos, each a double click on its index.html, on real public-domain and freely licensed material or your own files. No server, no network.

  • demo/, editor and databases: edit Markdown pages in the real editor core and work a database in table and board views (credits in demo/CREDITS.md).
  • demos/views/, database views: one dataset of US crewed spaceflight as table, board, gallery, list, calendar, timeline, chart and heatmap, with relations, rollups and formulas (credits in demos/views/CREDITS.md).
  • demos/publish/, writing and publishing: the whole window on a long illustrated page with comments, page history, a published page view and Markdown and HTML export (credits in demos/publish/CREDITS.md).

Run it from source

Prefer it in your browser, or want to contribute? Run the web UI straight from this repo.

Requires: Go 1.26 or newer and Node.js 22 or newer.

git clone git@github.com:nodemode-dev/form.md.git
cd form.md
./form-md_oc_install   # installs Go modules and the web client's packages
./form-md              # server at http://127.0.0.1:8750, web client at http://127.0.0.1:5750

./form-md desktop dev opens the desktop window instead, and ./build_app --server-only compiles bin/form-md. On Windows use form-md_oc_install.bat and form-md.bat. The first visit shows a set-up screen that creates the owner account.

Variable Purpose
FORMMD_ADDR Listen address, default 127.0.0.1:8750
FORMMD_DATA Data directory for the database and uploads, default ./data

Important

Status: released. form.md is built and bundled for macOS, Windows and Linux and has been tested on all three. Instance-wide settings such as mail and single sign-on live in the app's Instance settings, and the wiki in .docs/wiki covers install, TLS, backups and operations.

Host it yourself: .docs/SELF_HOSTING.md takes your own copy of form.md to your own domain for a small team, step by step: one VM, automatic HTTPS, encrypted data, accounts by invitation, with the scripts in deploy/gcp.

Contributing: branch from main, keep changes to source here, and leave packaging and releases to FormCompiler. See BRANCHING.md and AGENTS.md.

Repository

Path What it is
cmd/form-md/ Entry point and subcommands (serve, backup, restore, doctor, encrypt, keygen, admin, mcp, cli)
internal/ The Go server: pages, documents, databases, search, auth, sharing, MCP, transfer
web/ The TypeScript and Vite client
src-tauri/ The desktop shell around the server binary


Maintainers

Maintainer Role
@nodemode-ai Owner
@gbarnai Co-owner

Code owners are set in .github/CODEOWNERS.

License

form.md is licensed under the Apache License 2.0 (LICENSE, SPDX Apache-2.0). Copyright 2026 NodeAgentc, Inc. Third-party notices: NOTICES.md, which the binary also serves at /notices.

Screenshot content: a cropped CC0 photo from Poly Haven; the page and data are original.

About

form.md - instead of Notion: a workspace for people & agents from the FormAI family of apps. Documents, databases & realtime editing in one Go binary w/ one SQLite file. Self-hosted, no account; agents work in it over MCP. Free & open-source under Apache-2.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

29 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages