I built DARE to solve a specific problem: LLMs are terrible at generating complex, rigid PDF documents using HTML/CSS. HTML was designed for the responsive web, and when you ask an LLM to generate an invoice or a dashboard PDF, you waste massive amounts of tokens on boilerplate, and the layout often breaks depending on the renderer.
DARE (Document & Report Engine) is a deterministic markup language built specifically for AI agents.
Why it's better for AI:
-Extreme Token Economy: The syntax is up to 10x more compact than HTML. A full professional invoice fits in a single tweet.
-Deterministic Output: A box defined as h=50mm will always be exactly 50mm high. No cascading conflicts.
-AI-Native: It ships with 16 core components (tables, charts, QR codes, columns) and 40+ CSS shorthands.
-Drop-in Prompt: You literally just paste SYSTEM_PROMPT.md
to any LLM, and it instantly knows how to write pixel-perfect DARE code. For v2, I've completely refactored the engine into a modular architecture (tokenizer, flexible CSS engine, and component registry). It renders in sub-seconds via Puppeteer.
Repo: https://github.com/local-over/DARE
Docs & Live Compiler: https://dare.pages.dev/
Would love your feedback on the syntax and the concept of an AI-first document language!
hassan-elkady•1h ago