SmallDocs
Markdown without the frustrations
Details
- External ID
- 47777633
- Source
- HN
- Company
- —
- Product
- —
- Website domain
- —
- Launched
- April 15, 2026
- Cohort
- —
- Upvotes
- 92
- Upvotes percentile
- 0.8836760925449871
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Hi HN, I’d like to introduce you to SmallDocs (https://sdocs.dev). SDocs is a CLI + webapp to instantly and 100% privately elegantly preview and share markdown files. (Code: https://github.com/espressoplease/SDocs)The more we work with command line based agents the more `.md` files are part of our daily lives. Their output is great for agents to produce, but a little bit frustrating for humans: Markdown files are slightly annoying to read/preview and fiddly to share/receive. SDocs was built to resolve these pain points.If you `sdoc path/to/file.md` (after `npm i -g sdocs-dev`) it instantly opens in the browser for you to preview (with our hopefully-nice-to-look-at default styling) and you can immediately share the url.The `.md` files our agents produce contain some of the most sensitive information we have (about codebases, unresolved bugs, production logs, etc.). For this reason 100% privacy is an essential component of SDocs.To achieve this SDoc urls contain your markdown document's content in compressed base64 in the url fragment (the bit after the `#`):https://sdocs.dev/#md=GzcFAMT...(this is the contents of your document)...The cool thing about the url fragment is that it is never sent to the server (see https://developer.mozilla.org/en-US/docs/Web/URI/Reference/F...: "The fragment is not sent to the server when the URI is requested; it is processed by the client").The sdocs.dev webapp is purely a client side decoding and rendering engine for the content stored in the url fragment. This means the contents of your document stays with you and those you choose to share it with, the SDocs server doesn't access it. (Feel free to inspect/get your agent to inspect our code to confirm this!)Because `.md` files might play a big role in the future of work, SDocs wants to push the boundaries of styling and rendering interesting content in markdown files. There is much more to do, but to start with you can add complex styling and render charts visually. The SDocs root (which renders `sdoc.md` with our default styles) has pictures and links to some adventurous examples. `sdoc schema` and `sdoc charts` provides detailed information for you or your agent about how how make the most of SDocs formatting.If you share a SDocs URL, your styles travel with it because they are added as YAML Front Matter - https://jekyllrb.com/docs/front-matter/ - to the markdown file. E.g.: --- styles: fontFamily: Lora baseFontSize: 17 ... --- At work, we've been putting this project to the test. My team and I have found SDocs to be particularly useful for sharing agent debugging reports and getting easily copyable content out of Claude (e.g. a series of bash commands that need to be ran).To encourage our agents to use SDocs we add a few lines about them in our root "agent files" (e.g. ~/.claude/CLAUDE.md or ~/.codex/AGENTS.md). When you use the cli for the first time there is an optional setup phase to do this for you.I'm of course very interested in feedback and open to pull requests if you want to add features to SDocs.Thank you for taking a look!
Enrichment
- Theme
- markdown editors and writing tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Commercial product
- Normalized one-liner
- markdown editor without friction
- Manually corrected
- False
Could you build this?
Yes SmallDocs is a straightforward CLI and web app for previewing and sharing markdown files with client-side or basic server rendering.
Discussion
20 comments analyzed.
Competitors mentioned: PrivateBin, Obsidian, MarkLite, LibreOffice Writer, Glow (markdown renderer)
Concerns raised: Security theater - JavaScript can be changed server-side to capture content, URL fragments captured in browser history and logs despite client-side encryption, Gemini produces broken/corrupted Markdown output, Workflow friction - CLI launch to urlencode files is messy vs native file handling, Generated URLs can exceed chat character limits for large files
Feature requests: CLI command to output raw content/parsed frontmatter as JSON for agent consumption, Desktop app (Electron/Tauri) for day-to-day file opening and diff viewing, Frontmatter as structured JSON for agent routing and dependency resolution, Agent-friendly API to convert sdoc URLs to queryable state artifacts, Markdown file search across multiple project directories
Competitors
Other products that read as similar to this one — 139 launches clear the similarity bar, closest 8 shown.
Attention rank: #23 of 140 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 145 days after the earliest competitor.
- mdsnd · ph · 2026-09-09 · 3 upvotes · similarity 0.50
- MDDeck · ph · 2026-09-26 · 1 upvotes · similarity 0.50
- Mdpdf a 2k line C CLI to convert Markdown to tiny PDFs · hn · 2026-04-09 · 15 upvotes · similarity 0.50
- mdto.page · hn · 2026-01-16 · 58 upvotes · similarity 0.49
- OpenMarkdown · ph · 2026-07-18 · 188 upvotes · similarity 0.48
- Markdown Viewer and Editor · hn · 2026-08-31 · 34 upvotes · similarity 0.48
- Single-file private Markdown viewer · hn · 2026-09-14 · 5 upvotes · similarity 0.46
- mdprint · ph · 2026-09-22 · 2 upvotes · similarity 0.44
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.