r/Frontend • • 21h ago

flowdown: streaming Markdown for AI agents. On average 17× faster than popular React renderers, 37 KB, zero dependencies

Thumbnail
gallery
0 Upvotes

I built flowdown to render what agents and chat models write, while they're still writing it.

- Fast while streaming. Each token re-parses only the last block, so cost stays linear. A 100k-character reply streams in 0.15 s; the next fastest renderer takes 2.4 s.

- No flicker. Half-written bold, links, code fences and tables never show raw syntax.

- Light. One package, no dependencies, 37 KB gzipped. Streamdown is 155 KB and installs 118 packages.

- Made for agent output. Steps, tabs, callouts, file trees, diffs, and code highlighted line by line as it's written.

- Works everywhere. React, plain HTML, DOM, a web component, a terminal for CLI agents, plus a Rust crate.

- Correct. Passes every CommonMark and GFM spec example.

"17× on average" is the geometric mean across 6 kinds of reply and 5 renderers (react-markdown, Streamdown, markdown-to-jsx, markstream, marked-react). Against the fastest one for each kind it's 3.9×. Every number comes from scripts in the repo (Bun + happy-dom, Apple M5).

GitHub: https://github.com/localixai/flowdown

Docs: https://flowdown.localix.ai

MIT. Feedback welcome, especially replies it renders badly.


r/Frontend • • 14h ago

Automated JEV-assisted superfast HTML website builder (OS; MIT)

0 Upvotes

JEV is an ultra-fast classifier from TypeSafe, that answers multiple-choice questions, and I use it to arrange the pre-defined UI elements into a webpage based on the user's prompt. For example, for the prompt e.g. "Frontend for login form" JEV would return something like the following:

"surface": { "type": "choice", "choice": "app-login", "confidence": 1,

"probabilities": { "app-login": 1, "app-signup": 0, "website": 0, "app-checkout": 0, … all 14 etc... etc... } }

And here the "app-login" is a ready-made UI element but one can modify it later in the app manually. So this is what gets inserted into resulting HTML, among other things.

Besides JEV there are many other elements you can play manually with e.g. replace and resize images, add and link pages etc.

Repo: https://github.com/GPTchatly/Forma
Free (with limits) hosted Forma Editor

Many of the UI elements are by Markmead's Hyperui, and Cole Bemis' Feather icons; Fancy Components (by Daniel Petho); Velora UI (Aigars Silkalns); Cult UI (Nolly Studio)


r/Frontend • • 4h ago

Share Private Client Demos With Six-Digit Email Codes

Thumbnail
instawormhole.com
0 Upvotes