Litho Turns a Codebase Into Markdown Docs and C4 Diagrams
Keeping documentation in step with a codebase is the chore nobody wants to own. Litho takes that job off your hands: it's a Rust-based tool that reads a project and writes the documentation itself, diagrams included.
It works at four levels at once: the overall system, its containers, the individual components, and the code inside them. Wire it into CI and those docs regenerate on every commit.

How Litho Generates Documentation
Litho scans a codebase and pulls out comments, structures, and the relationships between them. From that, it produces Markdown documentation and C4 diagrams automatically, so the written page and the architecture drawing come out of a single pass rather than two separate jobs.
Beyond the code itself, Litho can take PDFs, existing Markdown, and SQL files as extra context. It uses that material to generate database diagrams, and it inspects Git history to show how the architecture changed over time.
Why Keeping Docs in Sync Matters
Most teams write architecture docs once and then watch them drift out of date. Because Litho reads the code and the Git history instead of a separate document, its output moves with the repository. Hooked into CI, the documentation refreshes on each commit instead of waiting for someone to remember it exists.
Does this still work?
Nobody's checked yet
Sign in to tell everyone how it went.
Continue with GoogleBe the first — one tap saves the next person an hour.
It takes 3 reports in 30 days to set the status.
More shares you might like
ToolsHow to Get 2 XXI Tickets for 23rb With GoPayAlex Ruiez · 12h · 19 views
AIGitHub Repo Collects 517+ Claude Opus 5.5 Video PromptsAlex Ruiez · 1d · 22 views
NewsOpen-slide 2.0 Adds a Visual Editor and Editable PPTX ExportAlex Ruiez · 2d · 25 views
AIHow to Get 1B Free Tokens on Muse.AiAlex Ruiez · 2d · 31 views
AIThe Startup Splits Claude Code Into a Five-Role Dev TeamAlex Ruiez · 3d · 30 views
ToolsHow to Build Your Own Peripherals for MuseAlex Ruiez · 4d · 40 views
Comments
Join the conversation — sign in to comment.
No comments yet — start the conversation!