frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: SmallDocs - Markdown without the frustrations

8•FailMore•20h ago
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!

Comments

moeadham•19h ago
I had not heard of url fragments before. Is there a size cap?
FailMore•16h ago
Ish, but the cap is the length of url that the browser can handle. For desktop chrome it's 2MB, but for mobile Safari its 80KB.

The compression algo SDocs uses reduces the size of your markdown file by ~10x, so 80KB is still ~800KB of markdown, so fairly beefy.

moaning•9m ago
Markdown style editing looks very easy and convenient

Show HN: Libretto – Making AI browser automations deterministic

https://github.com/saffron-health/libretto
96•muchael•16h ago•35 comments

Show HN: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
21•ozarkerD•5h ago•5 comments

Show HN: SmallDocs - Markdown without the frustrations

8•FailMore•20h ago•3 comments

Show HN: Gave Claude a casino bankroll – it gambles till it's too broke to think

https://letaigamble.com/
9•mackbrowne•6h ago•6 comments

Show HN: I rebuilt a 2000s browser strategy game on Cloudflare's edge

https://kampfinsel.com/
31•parzivalt•4d ago•25 comments

Show HN: I built a Wikipedia based AI deduction game

https://sleuththetruth.com/
5•brikym•7h ago•4 comments

Show HN: Omi – watches your screen, hears conversations, tells you what to do

https://github.com/BasedHardware/omi
8•kodjima33•11h ago•8 comments

Show HN: Every CEO and CFO change at US public companies, live from SEC

https://tracksuccession.com/explore
177•porsche959•19h ago•63 comments

Show HN: Fakecloud – Free, open-source AWS emulator

https://github.com/faiscadev/fakecloud
25•lucas_vieira•14h ago•5 comments

Show HN: Sudomake Friends, personalized AI personas in a Telegram group chat

https://github.com/audiodude/sudomake-friends/
4•audiodude•7h ago•0 comments

Show HN: Object Storage Comparisons

https://storage.mixpeek.com
4•Beefin•6h ago•0 comments

Show HN: Flint – A 30B model fine-tuned for less repetition

https://springboards.ai/models/flint-alpha
4•thmsmxwll•6h ago•0 comments

Show HN: LangAlpha – what if Claude Code was built for Wall Street?

https://github.com/ginlix-ai/langalpha
144•zc2610•1d ago•53 comments

Show HN: Plain – The full-stack Python framework designed for humans and agents

https://github.com/dropseed/plain
90•focom•1d ago•51 comments

Show HN: Compile English specs into 22 MB neural functions that run locally

10•yuntian•17h ago•0 comments

Show HN: Ithihāsas – a character explorer for Hindu epics, built in a few hours

https://www.ithihasas.in
174•cvrajeesh•2d ago•45 comments

Show HN: US keyboards don't have enough keys, so I switched to Japanese

https://simone.org/hyperjis/
4•smnrg•11h ago•0 comments

Show HN: Kelet – Root Cause Analysis agent for your LLM apps

https://kelet.ai/
47•almogbaku•1d ago•24 comments

Show HN: Pseudonymizing sensitive data for LLMs without losing context

https://atticsecurity.com/en/blog/why-llms-hate-fake-data-token-proxy/
4•n00pn00p•19h ago•4 comments

Show HN: Monadic Networking Library for Go

https://github.com/philip-peterson/fp-go-net
3•ironmagma•13h ago•0 comments

Show HN: Skillgrab – scan any project, auto-install matching AI skills

https://briascoi.github.io/skillgrab/
7•ismaelb•20h ago•1 comments

Show HN: boringBar – a taskbar-style dock replacement for macOS

https://boringbar.app/
516•a-ve•3d ago•298 comments

Show HN: Tine – Drive Wayland Around with Agents

https://github.com/smythp/tine
4•tarboreus•15h ago•4 comments

Show HN: Dependicus, a dashboard for your monorepo's dependencies

https://descriptinc.github.io/dependicus/
6•irskep•15h ago•1 comments

Show HN: Cush – curl your shell, an HTTP tunnel for AI agents

https://github.com/statespace-tech/cush
2•esafranchik•16h ago•1 comments

Show HN: MCP server gives your agent a budget (save tokens, get smarter results)

https://l6e.ai
5•bennettdixon•16h ago•2 comments

Show HN: Avec – iOS email app that lets you handle your Gmail inbox in seconds

https://apps.apple.com/us/app/avec-email-app-for-gmail/id6742199038
18•jnnnthnn•16h ago•4 comments

Show HN: CD-Deluxe for the Command Line

https://github.com/m6z/cd-deluxe
2•m6z•16h ago•1 comments

Show HN: Scope-structured arena memory for C, O(1) cleanup, no GC/borrow checker

https://github.com/hollow-arena/ariandel
3•theperezident•17h ago•0 comments

Show HN: SafeWeave – 8 security scanners as an MCP server inside your AI editor

https://safeweave.dev
2•techxeni•17h ago•0 comments