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
3•tariqshams•4h 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

Show HN: Whosthere: A LAN discovery tool with a modern TUI, written in Go

https://github.com/ramonvermeulen/whosthere
162•rvermeulen98•8h ago•60 comments

Show HN: Zsweep – Play Minesweeper using only Vim motions

https://zsweep.com
48•oug-t•5d ago•16 comments

Show HN: New 3D Mapping website - Create heli orbits and "playable" map tours.

https://www.easy3dmaps.com/gallery
18•dobodob•3h ago•8 comments

Show HN: Text-to-video model from scratch (2 brothers, 2 years, 2B params)

https://huggingface.co/collections/Linum-AI/linum-v2-2b-text-to-video
117•schopra909•1d ago•23 comments

Show HN: Teemux – Zero-config log multiplexer with built-in MCP server

https://teemux.com/
8•gajus•4h ago•6 comments

Show HN: Obsidian Workflows with Gemini: Inbox Processing and Task Review

https://gist.github.com/juanpabloaj/59bc13fbed8a0f8e87791a3fb0360c19
5•juanpabloaj•2h ago•1 comments

Show HN: isometric.nyc – giant isometric pixel art map of NYC

https://cannoneyed.com/isometric-nyc/
1231•cannoneyed•1d ago•225 comments

Show HN: S2-lite, an open source Stream Store

https://github.com/s2-streamstore/s2
63•shikhar•2d ago•18 comments

Show HN: Startups.in: An in-development "global" startup intelligence database

https://startups.in
4•Startups_in•2h ago•3 comments

Show HN: BrowserOS – "Claude Cowork" in the browser

https://github.com/browseros-ai/BrowserOS
80•felarof•1d ago•32 comments

Show HN: Claude Tutor – an open source engineering tutor

https://twitter.com/michaelraspuzzi/status/2014756546195148988
3•mraspuzzi•2h ago•0 comments

Show HN: Cholesterol Tracker – Built after high cholesterol diagnosis at 33

https://cholesterol-tracker.poniansoft.com/
2•briskibe•3h ago•0 comments

Show HN: I've been using AI to analyze every supplement on the market

https://pillser.com/
81•lilouartz•1d ago•43 comments

Show HN: Txt2plotter – True centerline vectors from Flux.2 for pen plotters

https://github.com/malvarezcastillo/txt2plotter
33•tsanummy•3d ago•7 comments

Show HN: Interactive physics simulations I built while teaching my daughter

https://www.projectlumen.app/
83•anticlickwise•4d ago•21 comments

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

https://github.com/tariqshams/mermaidtui
3•tariqshams•4h ago•0 comments

Show HN: RTK – Simple CLI to reduce token usage in your LLM prompts

https://github.com/pszymkowiak/rtk
2•patrick4urcloud•4h ago•1 comments

Show HN: AskUCP – UCP protocol explorer showing all products on Shopify

https://askucp.com/
10•possiblelion•4d ago•5 comments

Show HN: A social network populated only by AI models

https://aifeed.social
8•capela•8h ago•8 comments

Show HN: Synesthesia, make noise music with a colorpicker

https://visualnoise.ca
35•tevans3•1d ago•13 comments

Show HN: First Claude Code client for Ollama local models

https://github.com/21st-dev/1code
43•SerafimKorablev•1d ago•22 comments

Show HN: Sweep, Open-weights 1.5B model for next-edit autocomplete

https://huggingface.co/sweepai/sweep-next-edit-1.5B
522•williamzeng0•1d ago•147 comments

Show HN: CLI for working with Apple Core ML models

https://github.com/schappim/coreml-cli
45•schappim•1d ago•5 comments

Show HN: Bible translated using LLMs from source Greek and Hebrew

https://biblexica.com
49•epsteingpt•1d ago•64 comments

Show HN: Rails UI

https://railsui.com/
204•justalever•2d ago•109 comments

Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

https://github.com/ChartGPU/ChartGPU
662•huntergemmer•2d ago•209 comments

Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

https://github.com/mastra-ai/mastra
213•calcsam•3d ago•69 comments

Show HN: yolo-cage – AI coding agents that can't exfiltrate secrets

https://github.com/borenstein/yolo-cage
59•borenstein•2d ago•74 comments

Show HN: I'm writing an alternative to Lutris

https://github.com/navid-m/styx
14•death_eternal•1d ago•4 comments

Show HN: C/C++ Cheatsheet – a modern, practical reference for C and C++

https://github.com/crazyguitar/cppcheatsheet
7•crazyguitar•16h ago•5 comments