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