portable-doc

FRIKKern/portable-doc
★ 0 stars TypeScript 💻 Code/Dev Tools Updated 1d ago
One semantic document → deterministic, beautiful output across Web, Native, Email, TUI, and plain text. Closed-by-design AST + intersection-schema validator + MCP server + 5 backends + Vite editor.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "portable-doc": {
      "command": "npx",
      "args": [
        "-y",
        "FRIKKern/portable-doc"
      ]
    }
  }
}

README Excerpt

**One semantic document → deterministic, beautiful output across Web, Native, Email, TUI, and plain text.** PortableDoc is a JSON document format, a compiler, an MCP server, and an editor. Author once against a closed AST of 10 block types; render natively across five surfaces with cross-surface guarantees enforced by the validator at edit time. Inspired by Tamagui, Sanity Portable Text, React Email, and Ink.

Tools (12)

VITE_PORTABLE_DOC_MCP_URLactioncalloutcodedividerdoc_explain_blockdoc_renderdoc_validateheadinglistparagraphsection