Skip to content
@docspec

docspec

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

Pinned Loading

  1. spec spec Public

    TypeScript 1

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…