frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: MermaidTUI - Deterministic Unicode/ASCII diagrams in the terminal

https://github.com/tariqshams/mermaidtui
2•tariqshams•1h ago
Hi HN, I built mermaidtui, a lightweight TypeScript engine that renders Mermaid flowcharts directly in your terminal as clean Unicode or ASCII boxes.

Visualizing Mermaid diagrams usually requires a heavy setup: a headless browser (Puppeteer/Playwright), SVG-to-image conversion, or a web preview. That's fine for documentation sites, but it's overkill for TUI apps, CI logs, or quick terminal previews.

The Solution is a small engine (<= 1000 LOC) that uses a deterministic grid-based layout to render diagrams using box-drawing characters. Key Features

- Intelligent Routing: It uses corner characters (┌, ┐, └, ┘) for orthogonal paths.

- Topological Layering: Attempts a readable, structured layout.

- Support for Chained Edges: A --> B --> C works out of the box.

- Zero Heavy Dependencies: No Mermaid internals, no Chromium, just pure TypeScript/JavaScript. With commander for the CLI, not the MermaidTUI library

I wanted a way to see high-quality diagrams in my CLI tools quickly, it’s great for SSH sessions where you can’t easily open an SVG. I was initially embedding this within a cli tool I’m working on and figured I’d extract out a library for others to use. I also initially used regex to parse, but now I made the parser a bit more robust. I'd love to hear your thoughts on the layout engine or any specific Mermaid syntax you'd like to see supported next!

GitHub: https://github.com/tariqshams/mermaidtui

npm i mermaidtui

TV's are getting bigger and AI inside

https://ktla.com/news/tvs-are-getting-bigger-and-ai-inside/
1•Bender•49s ago•0 comments

Flux2kle.in Fast and Free Image Generator

https://flux2kle.in/
1•bingbing123•2m ago•1 comments

Learning to Discover at Test Time

https://test-time-training.github.io/discover/
1•emersonmacro•5m ago•0 comments

Microsoft gave FBI set of BitLocker encryption keys to unlock suspects' laptops

https://techcrunch.com/2026/01/23/microsoft-gave-fbi-a-set-of-bitlocker-encryption-keys-to-unlock...
5•bookofjoe•6m ago•1 comments

The Gödel Problem: A Mathematical Argument Against AI Thought [video]

https://www.youtube.com/watch?v=Vtdcdcwm7iw&list=PLoYRQl2t0w0EjRIb9Jr1yI90sSqoirgGB&index=8
1•pedro_movai•6m ago•0 comments

Building a product in 20 hours and growing it to a 5-figure ARR

https://www.indiehackers.com/post/tech/building-a-product-in-20-hours-and-growing-it-to-a-5-figur...
2•uprooted•7m ago•0 comments

Fighting AI Slop

https://actualbudget.org/blog/fighting-ai-slop/
1•iM8t•7m ago•0 comments

Submit a pitch: what needs to be built before advanced AI?

https://ifp.org/rfp-launch/
2•jonahwei•8m ago•0 comments

Proof of Corn

https://proofofcorn.com/
1•rocauc•8m ago•0 comments

Route leak incident on January 22, 2026

https://blog.cloudflare.com/route-leak-incident-january-22-2026/
3•nomaxx117•10m ago•0 comments

MTV Rewind

https://wantmymtv.xyz/
1•CharlesW•10m ago•0 comments

Show HN: QuizYou – Paste text, generate quiz, test yourself

https://www.getquizyou.com/
1•yanis_t•10m ago•0 comments

Show HN: Mpak: a package manager for MCP server bundles

https://www.mpak.dev/
1•barefootsanders•10m ago•1 comments

'I'm stupid': SF tech founder jailed in Davos for bomb-lookalike device

https://sfstandard.com/2026/01/22/tech-dude-davos-bomb-lookalike-device/
4•cdrnsf•11m ago•0 comments

Startup will send 1k people's ashes to space – affordably – in 2027

https://techcrunch.com/2026/01/23/this-startup-will-send-1000-peoples-ashes-to-space-affordably-i...
1•bookofjoe•11m ago•0 comments

Embrace Limitations

https://www.bathysphere.org/p/embrace-limitations/
1•thunderbong•11m ago•0 comments

Show HN: Easy to use, open source voice clone app

https://github.com/gangtao/VoiceCraft
1•gangtao•14m ago•0 comments

All You Need Is an Acre: On Self-Sufficiency in a Digital Economy

https://opuslabs.substack.com/p/all-you-need-is-an-acre
1•opuslabs•16m ago•1 comments

There's only one Woz, but we can all learn from him

https://www.fastcompany.com/91477114/steve-wozniak-woz-apple-the-tech-interactive-humanitarian-award
1•coloneltcb•16m ago•0 comments

Show HN: Claude Tutor – an open source engineering tutor

https://twitter.com/michaelraspuzzi/status/2014756546195148988
2•mraspuzzi•16m ago•0 comments

Principles for Building an Effective MCP Server

https://www.featbit.co/feature-flag-mcp/principles-for-building-an-fffective-mcp-server
1•mikasisiki•17m ago•0 comments

Trump calls for $1.5T military budget in 2027, up from $901B in 2026

https://www.reuters.com/world/us/trump-says-us-military-budget-2027-should-be-15-trillion-2026-01...
4•doener•17m ago•0 comments

Asteroids the size of 22 penguins to pass Earth this weekend

https://www.jpost.com/science/article-729035
4•ohjeez•22m ago•4 comments

The Next Thing Will Not Be Big

https://blog.glyph.im/2026/01/the-next-thing-will-not-be-big.html
1•dotcoma•23m ago•0 comments

Doubting U.S. resolve, Europe looks to bolster its own nuclear arsenal

https://www.nbcnews.com/politics/white-house/doubting-us-resolve-europe-looks-bolster-nuclear-ars...
3•saubeidl•24m ago•0 comments

Introducing: Postgres Best Practices

https://supabase.com/blog/postgres-best-practices-for-ai-agents
1•arunkumar201•25m ago•0 comments

Supreme Court appears to carve out a murky exception for the Federal Reserve

https://apnews.com/article/federal-reserve-supreme-court-lisa-cook-e5ceaf7041b7c835c825afe1a5cacf07
2•kaycebasques•26m ago•0 comments

Show HN: Will this discover hidden YouTube video gems (or gems in the making)?

https://gizzapp.com/buyunderratedvideofinder/
1•johnboygiz•27m ago•0 comments

Show HN: Directory of 1000 open source alternatives to popular software

http://ww17.your-domain.com/
1•Zenith-Software•27m ago•0 comments

Deregulation is not the answer to the affordable housing crisis

https://48hills.org/2026/01/new-study-shows-that-deregulation-is-not-the-answer-to-the-affordable...
1•masterofsome•28m ago•0 comments