A community-driven document format. PDF evolved for the era of semantic meaning.
OpenSDL is an open-source specification for documents that are:
- Semantic — Machine understands meaning (JSON structure)
- Verifiable — Cryptographically signed, tamper-proof (Ed25519 + SHA256)
- Portable — Works everywhere (web, mobile, desktop)
- Auditable — Open format, no proprietary logic
| Feature | OpenSDL | |
|---|---|---|
| Search | Slow (full scan) | Instant (JSON index) |
| Meaning | Pixels only | Semantic structure |
| Signature | Tool-dependent | Math-based verification |
| Edit | Proprietary nightmare | JSON → re-render |
| Accessibility | Heuristic | Native support |
| Determinism | App-dependent | Identical everywhere |
- SPEC.md — Full specification (what OpenSDL is)
- GOVERNANCE.md — Community governance (how decisions are made)
- ROADMAP.md — Path to W3C standard (where we're going)
git clone https://github.com/ydnAkif/opensdl.git
cd opensdl
npm run setup # Installs dependencies for CLI and ViewerWant to see it in action immediately?
npm run demo # Launches the viewer locallynpm run init my-doc # Create skeleton
npm run set-hash my-doc # Compute SHA256
npm run sign my-doc # Ed25519 signature
npm run pack my-doc out.sdl # Create .sdl filecd viewer && npm run dev
# Open http://localhost:5173
# Upload out.sdl
# Toggle "Start Edit Mode" to draw structure boxes directly on the document!See the semantic structure inspection in real-time:
The OpenSDL Viewer rendering a document with pixel-perfect SVG fidelity.
The Inspector showing the connection between the visual element and its semantic JSON structure.
cli/— Signing, hashing, packing toolsviewer/— Web viewer (React + Vite)schema/— JSON Schema for documentsexamples/— Sample .sdl documentsSPEC.md— Formal specificationGOVERNANCE.md— Community decision-makingROADMAP.md— 2026-2028 standardization path
| Component | Tech | Why |
|---|---|---|
| Container | ZIP | Auditable, universal |
| Structure | JSON | Machine-processable, human-readable |
| Rendering | SVG | Deterministic, scalable |
| Hashing | SHA256 | NIST standard |
| Signature | Ed25519 | High-performance, highly secure |
Document created
↓
SHA256(meta + structure + pages + assets) → contentHash
↓
Sign(contentHash) → Ed25519 signature → pubkey
↓
Reader verifies signature + hash
↓
✅ Document authentic & unchanged
| Component | Status |
|---|---|
| Spec v0.2 | ✅ Complete |
| CLI (TS) | ✅ Working |
| Viewer | ✅ Working |
| RFC Process | ✅ Defined |
| Rust impl | 🔄 Planned (Q2 2026) |
| W3C submission | 🔄 Planned (Q4 2026) |
| Browser support | 🔄 Planned (2027+) |
- Specification: Creative Commons CC BY 4.0 (Applies to
SPEC.md,schema/,rfc/,docs/) - Code: Mozilla Public License 2.0 (MPL 2.0) (Applies to
cli/,viewer/,examples/)
Open source, forever free.
- Read SPEC.md (understand the vision)
- Try it (create a test document)
- File issues (questions, suggestions)
- Propose RFC (see GOVERNANCE.md)
- Implement (pick your language)
- Evangelize (tell your network)
- v0.2 (now) → Spec + RFC process
- v0.3 (Q2 2026) → Rust + Python implementations
- v1.0 (Q4 2026) → W3C standardization candidate
- v1.1+ (2027+) → Collaboration, templates, multimedia
See ROADMAP.md for full details.