Markdown as a Database
Agent-friendly CLI for reading/writing large Markdown files - molefrog/lilmd
Markdown as a Database launched on April 24, 2026 with 13 votes, #1,135 of 21,248 launches that month and more than 90% of that year's launches.
In plain words
Markdown as a Database is a developer tool that treats Markdown files as a queryable database. It allows developers to store and retrieve structured data using standard Markdown formatting, eliminating the need for separate database setup. The tool is designed for developers who want to keep data in version-controlled, human-readable files while maintaining database-like functionality. It bridges the gap between simple file storage and traditional databases.
written from the facts on this page · September 2026
From the sources
lilmd is a CLI for working with large MD files designed for agents. Wait, but why? Agent knowledge, docs, memory keeps growing. lilmd allows you to dump it all in one file and effeciently read/write/navigate its contents. # global install > npm i -g lilmd # or run without installing > npx lilmd file.md > bunx lilmd file.md Help # start here! # both commands print short documentation for the agent > lilmd > lilmd --help Overview & table of contents First, the agent gets file overview and table of contents. # renders toc + stats; line ranges are inclusive, 1-indexed # --depth=N to limit nesting, --flat for a flat list > lilmd file.md file.md L1-450 12 headings # lilmd L1-450 # # Getting…from github.com
Does a similar job
all alternatives →- MOMarkdownDB open-source library giving you an SQL API to Markdown files2023 · markdowndb.com · ▲10
The missing interface from your Markdown files to a blog/digital garden/notion alternative and more.
Jq-Like Tool for Markdown2025 · github.com · ▲325There have been a few times I wanted the ability to select some text out of a Markdown doc. For example, a GitHub CI check to ensure that PRs / issues / etc are properly formatted. This can be done to some extent with regex, but those expressions are brittle and hard to read or edit later. mdq uses a familiar pipe syntax to navigate the Markdown in a structured way. It's in 0.x because I don't want to fully commit to the syntax being stable, in case real-world testing shows that the syntax needs tweaking. But I think the project is in a pretty good spot overall, and would be…
OpenMarkdownJul 2026 · openmarkdown.dev · ▲189A feather-light, local-first Markdown editor built for you and your agent.
Textual Markdown – a Markdown “browser” in the terminal2022 · github.com · ▲254Hi HN, This is a TUI app which displays interactive Markdown documents. Interactive in the sense that you can scroll code fences / tables / and click links. There's a Table of Contents extracted from the MD, and a very rudimentary browser like forward + back. I'm thinking it could be the starting point for a variety of hypertext like applications in the terminal. Very much a work in progress.
Marky – A lightweight Markdown viewer for agentic codingApr 2026 · github.com · ▲75Hey HN, In this age of agentic coding I've found myself spending a lot of time reviewing markdown files. Whether it's plans or documentation that I've asked my agent to generate for me, it seems that I spend more time reading markdown than code. I've tried a few different solutions to make it easier to read such as Obsidian however I've found their Vault system to be quite limiting for this use case and I've found TUI solutions to not quite be as friendly to read as I've wanted so I made Marky. Marky is a lightweight desktop application that makes it incredibly easy to read and track your…
Markdown page – Create a web page with just markdown2018 · github.com · ▲169📝 create a webpage with just markdown. Contribute to oscarmorrison/md-page development by creating an account on GitHub.
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art

PixVerse R2▲381A real-time world model you can explore and change
AI · 28d ago · world.pixverse.video
Source: Show HN post ↗
Launched alongside, April 2026
the whole month →
- AG
Thought the resources for GPU arch were lacking, so here we are
Life & fun · Apr 2026 · jaso1024.com

Built a ~9M param LLM from scratch to understand how they actually work. Vanilla transformer, 60K synthetic conversations, ~130 lines of PyTorch. Trains in 5 min on a free Colab T4. The fish thinks the meaning of life is food. Fork it and swap the personality for your own character.
AI · Apr 2026 · github.com


I made a laptop stand out of solid concrete, in the style of brutalist architecture, with themes of urbex and urban decay
Life & fun · Apr 2026 · sam-burns.com

With social media and now AI, its important to keep the indie web alive. There are many people who write frequently. Blogosphere tries to highlight them by fetching the recent posts from personal blogs across many categories. There are two versions: Minimal (HN-inspired, fast, static): https://text.blogosphere.app/ Non-minimal: https://blogosphere.app/ If you don't find your blog (or your favorite ones), please add them. I will review and approve it.
AI · Apr 2026 · text.blogosphere.app