Back to directory

JDF

A JSON-based document format that renders like a PDF, diffs cleanly in git and edits in any text editor, aimed at documents that software agents read and write as often as people do.

JDF

JDF is a JSON document format built as an alternative to PDF for an era when software, not only people, reads and writes documents. Opening a .jdf file in a plain text editor shows its JSON source directly; opening the same file in the project's own reader renders it as a page, and edits made on either side are reflected on the other. A document with embedded assets such as images or fonts ships as a zip bundle around the same JSON, so it still travels as one self-contained file.

Because the format is JSON, ordinary tools work on it without a plugin: text search and command-line utilities work directly on a document, a JSON Schema validates its structure and powers editor autocomplete, and generating a document is a matter of producing JSON. The project ships as three pieces: a native desktop reader for macOS and Windows that can import PDF and Markdown and export PDF, a JavaScript library for embedding a document on a web page, and a command-line tool that validates files, converts between PDF, JSON and Markdown, and chunks and embeds a document for retrieval-augmented generation.

More in Libraries

See all 292
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • TradeCanvas

    bonguynvan.github.io

    A zero-dependency canvas charting engine for building TradingView-style trading charts in JavaScript, with 66 technical indicators, 24 drawing tools, 17 chart types, and real-time streaming.

  • 3d retro graphics

    3d-retro.com

    A free, CC0-licensed library of copy-paste retro 3D and demoscene graphics effects, such as plasma, raytracing, and voxel terrain, runnable as WebGL 1 or plain 2D canvas.