Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

DocSpec

Open document conversion for sovereign collaboration.

HTTP API support is planned to be released in the first week of February.

DocSpec is a document specification and conversion system built around a JSON-based Abstract Syntax Tree (AST). It transforms legacy document formats into accessible, reusable content for modern editors.

┏━━━━━━┓                                               ┌──────┐
┃ DOCX ┃ ─────────┐                              ┌───➤ │ DOCX │
┗━━━━━━┛          │                              │     └──────┘
┌──────┐          │                              │     ┏━━━━━━┓
│ HTML │ ─────────┤                              ├───➤ ┃ HTML ┃
└──────┘          │                              │     ┗━━━━━━┛
┏━━━━━━━━┓        │                              │     ┏━━━━━━━━┓
┃ Tiptap ┃ ───────┤                              ├───➤ ┃ Tiptap ┃
┗━━━━━━━━┛        │      ┏━━━━━━━━━━━━━━━━━┓     │     ┗━━━━━━━━┛
┌───────────┐     │      ┃ DocSpec         ┃     │     ┏━━━━━━━━━━━┓
│ BlockNote │ ────┼────➤ ┃ Abstract Syntax ┃ ────┼───➤ ┃ BlockNote ┃
└───────────┘     │      ┃ Tree (AST)      ┃     │     ┗━━━━━━━━━━━┛
┌──────────┐      │      ┗━━━━━━━━━━━━━━━━━┛     │     ┌──────────┐
│ Markdown │ ─────┤                              ├───➤ │ Markdown │
└──────────┘      │                              │     └──────────┘
┌─────┐           │                              │     ┌─────┐
│ ODT │ ──────────┤                              ├───➤ │ ODT │
└─────┘           │                              │     └─────┘
┏━━━━━┓           │                              │     ┌───────────────┐
┃ PDF ┃ ──────────┘                              ├───➤ │ Typst and PDF │
┗━━━━━┛                                          │     └───────────────┘
                                                 │     ┏━━━━━━┓
                                                 └───➤ ┃ EPUB ┃
 Legend:                                               ┗━━━━━━┛
┏━━━━━━━━━━━━━┓ ┌────────────────────────┐
┃ Implemented ┃ │ Implementation planned │
┗━━━━━━━━━━━━━┛ └────────────────────────┘

Features

  • Universal AST with TypeSpec specification for document interchange
  • Import from DOCX, Tiptap
  • Export to HTML, EPUB, BlockNote, and Tiptap
  • Accessibility-first with real-time WCAG validation

In Production

DocSpec powers document import for La Suite Docs, part of the Franco-German-Dutch sovereign collaboration stack under DC-EDIC.

Links

License

EUPL-1.2, MIT