frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Knowledge-Bank

https://github.com/gabrywu-public/knowledge-bank
1•gabrywu•26s ago•0 comments

Show HN: The Codeverse Hub Linux

https://github.com/TheCodeVerseHub/CodeVerseLinuxDistro
1•sinisterMage•1m ago•0 comments

Take a trip to Japan's Dododo Land, the most irritating place on Earth

https://soranews24.com/2026/02/07/take-a-trip-to-japans-dododo-land-the-most-irritating-place-on-...
1•zdw•1m ago•0 comments

British drivers over 70 to face eye tests every three years

https://www.bbc.com/news/articles/c205nxy0p31o
1•bookofjoe•1m ago•1 comments

BookTalk: A Reading Companion That Captures Your Voice

https://github.com/bramses/BookTalk
1•_bramses•2m ago•0 comments

Is AI "good" yet? – tracking HN's sentiment on AI coding

https://www.is-ai-good-yet.com/#home
1•ilyaizen•3m ago•1 comments

Show HN: Amdb – Tree-sitter based memory for AI agents (Rust)

https://github.com/BETAER-08/amdb
1•try_betaer•4m ago•0 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•anhxuan•4m ago•0 comments

Show HN: Seedance 2.0 Release

https://seedancy2.com/
1•funnycoding•5m ago•0 comments

Leisure Suit Larry's Al Lowe on model trains, funny deaths and Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
1•thelok•5m ago•0 comments

Towards Self-Driving Codebases

https://cursor.com/blog/self-driving-codebases
1•edwinarbus•5m ago•0 comments

VCF West: Whirlwind Software Restoration – Guy Fedorkow [video]

https://www.youtube.com/watch?v=YLoXodz1N9A
1•stmw•6m ago•1 comments

Show HN: COGext – A minimalist, open-source system monitor for Chrome (<550KB)

https://github.com/tchoa91/cog-ext
1•tchoa91•7m ago•1 comments

FOSDEM 26 – My Hallway Track Takeaways

https://sluongng.substack.com/p/fosdem-26-my-hallway-track-takeaways
1•birdculture•7m ago•0 comments

Show HN: Env-shelf – Open-source desktop app to manage .env files

https://env-shelf.vercel.app/
1•ivanglpz•11m ago•0 comments

Show HN: Almostnode – Run Node.js, Next.js, and Express in the Browser

https://almostnode.dev/
1•PetrBrzyBrzek•11m ago•0 comments

Dell support (and hardware) is so bad, I almost sued them

https://blog.joshattic.us/posts/2026-02-07-dell-support-lawsuit
1•radeeyate•12m ago•0 comments

Project Pterodactyl: Incremental Architecture

https://www.jonmsterling.com/01K7/
1•matt_d•12m ago•0 comments

Styling: Search-Text and Other Highlight-Y Pseudo-Elements

https://css-tricks.com/how-to-style-the-new-search-text-and-other-highlight-pseudo-elements/
1•blenderob•14m ago•0 comments

Crypto firm accidentally sends $40B in Bitcoin to users

https://finance.yahoo.com/news/crypto-firm-accidentally-sends-40-055054321.html
1•CommonGuy•15m ago•0 comments

Magnetic fields can change carbon diffusion in steel

https://www.sciencedaily.com/releases/2026/01/260125083427.htm
1•fanf2•15m ago•0 comments

Fantasy football that celebrates great games

https://www.silvestar.codes/articles/ultigamemate/
1•blenderob•15m ago•0 comments

Show HN: Animalese

https://animalese.barcoloudly.com/
1•noreplica•16m ago•0 comments

StrongDM's AI team build serious software without even looking at the code

https://simonwillison.net/2026/Feb/7/software-factory/
3•simonw•16m ago•0 comments

John Haugeland on the failure of micro-worlds

https://blog.plover.com/tech/gpt/micro-worlds.html
1•blenderob•17m ago•0 comments

Show HN: Velocity - Free/Cheaper Linear Clone but with MCP for agents

https://velocity.quest
2•kevinelliott•17m ago•2 comments

Corning Invented a New Fiber-Optic Cable for AI and Landed a $6B Meta Deal [video]

https://www.youtube.com/watch?v=Y3KLbc5DlRs
1•ksec•19m ago•0 comments

Show HN: XAPIs.dev – Twitter API Alternative at 90% Lower Cost

https://xapis.dev
2•nmfccodes•19m ago•1 comments

Near-Instantly Aborting the Worst Pain Imaginable with Psychedelics

https://psychotechnology.substack.com/p/near-instantly-aborting-the-worst
2•eatitraw•25m ago•0 comments

Show HN: Nginx-defender – realtime abuse blocking for Nginx

https://github.com/Anipaleja/nginx-defender
2•anipaleja•26m ago•0 comments
Open in hackernews

Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text

https://github.com/mermaid-js/mermaid
255•olalonde•8mo ago

Comments

smusamashah•8mo ago
I have an almost exhaustive list [1] of browser based text to diagram tools. Some specialised tools (like https://sequencediagram.org/) so much better at what they do than any generic ones like mermaid.

[1] https://xosh.org/text-to-diagram/

edoceo•8mo ago
70! That is awesome
codetrotter•8mo ago
70!? That’s more than a Googol!
edoceo•8mo ago
You're catching more heck than me but, for real it's a great competitive cross cut. Maybe my remarks seemed flippant but, curated list like this is what I wish Google or AI could deliver. It's quality content.
andrewl•8mo ago
I like Mermaid fine, but nothing is perfect. I will look at your list. The tool I always wanted would let me paste in the SQL of my database schema and output a diagram of the tables and relationships. That's SQL and not Markdown or JSON or any other format.

Note that DrawDB (www.drawdb.app) does this, although it does not yet handle views. But I have been happy with what it offers so far. Still, I would welcome suggestions of other tools.

picklesman•8mo ago
Check out dbdiagram.io though I don’t know if it handles views either, I never tried.
MathMonkeyMan•8mo ago
If it's sqlite compatible, then there a many solutions. In general it's trickier.

plug: https://github.com/dgoffredo/sqliteviz

Not web based, though.

Hendrikto•8mo ago
This is based on graphviz, and with the available layout algorithms, any schema with more than 5 tables and a few foreign key relation becomes a jumbled, unreadable mess.
MathMonkeyMan•8mo ago
Here's one with 16 tables: <https://raw.githubusercontent.com/dgoffredo/sqliteviz/refs/h...>.

Not the prettiest, but workable.

I wouldn't try it on 100 tables.

akaicha•8mo ago
Since you asked for recommendations: Cacoo (https://nulab.com/cacoo/) has this function. You input your database schema SQL and it generates an editable diagram with all the relationships.

Disclaimer: I work for them. I’m the person who developed that feature.

Feedback welcome!

kanodiaashu•8mo ago
This list is so cool!
bradly•8mo ago
This is a great resource. Thank you for the effort. Do you know of something similar for charting/data-viz libraries?
smhanov•8mo ago
I wish WebSequenceDiagrams was further up your list. I guess I have some work to do.

When I made it, nothing like mermaid, plantUML,lucid charts existed. The syntax of most tools was based on Java or graphviz and overly verbose. I was writing an email to a colleague at BlackBerry and wrote out the sequence diagrams as text. I spent the next week making a script to convert it to an image and put it online. Many other tools have since adopted the syntax and I'm happy it has become so widespread.

paul_h•8mo ago
Great tech - thanks for your pioneering work. I made https://vsm-book.com/app as a tool to support a meeting and leave a lasting artifact. WebSequenceDiagrams (and https://bramp.github.io/js-sequence-diagrams/ which also credits yours) was very much in my mind, though my grammer is much less elegant.
_puk•8mo ago
Thank you so much for WSD.. I've used it extensively for at least a decade. We even self hosted it at one place after I pushed for it.

It was indeed pioneering in its day, though I find the default mermaid integration in the likes of Notion make it the (generic) goto for the team now.

makeitdouble•8mo ago
Thank you so much for your work!

WebSequenceDiagrams has been my go to for years, and I'd be basically brainstorming straight in it in lieu of pen and paper. I laughed the day one of my colleague was explaining his issue on the whiteboard and he was writing it "A->B: some action" style instead of the actual box and arrow sequence, it just became part of our culture I think.

I had to move on when I couldn't get it approved at the place I worked, and nowadays PlantUML tools have become "good enough" (still wish Notion had PlantUML support instead of mermaid...), but I'm incredible thankful your service is still up and running.

butz•8mo ago
I was wondering, are there any tools that could help to draw decent looking genealogical tree ? My main issue are the updates, where adding one of the ancestors or newborns causes full rework of entire tree. I'd like to feed data to some script and have it render a family tree, with all the regular updates.
smusamashah•8mo ago
https://www.familyecho.com/ is the lightest one. It's almost offline. Some light reverse engineering can make it work totally offline. I saw a version of it on Github too. Some features had problems, I think it was printing which was failing.
fastasucan•8mo ago
But they are browser based.
smusamashah•8mo ago
Yes. Most of them are offline even if they load in browser. Diagram is rendered right inside the browser.
zendist•8mo ago
The main benefit for me to just know and primarily use mermaid is that it integrates with markdown in Azure DevOps and GitHub seamlessly. No need for a text to image build step or similar.
dherikb•8mo ago
Same reason. I can add to this list Readme.com and Notion.
globular-toast•8mo ago
They might be "better", but Mermaid works offline (there's a cli) which makes it a much better choice, along with PlantUML. An online tool might be good for making one off things you know you won't ever need to change, but my main use case for these tools is documentation which, naturally, needs to change over time.
smusamashah•8mo ago
I think almost all of the tools I listed are offline. They do load in browser, but from there they don't use server to render diagrams. Some aggregator tools like Kroki is of course not offline though.
J_cst•8mo ago
Thank you, that's handy!
tj_astro•8mo ago
Nice list, thanks for compiling it. It looks like you have "textik" in there twice in positions 11 and 13.
smoyer•8mo ago
That's an amazing list! If you're writing in asciidoc like I generally do, here's the subset that you can write directly in your document: https://docs.asciidoctor.org/diagram-extension/latest/
kacesensitive•8mo ago
i have been quite enjoying https://www.eraser.io/diagramgpt
jagged-chisel•8mo ago
Like PlantUML?
mdaniel•8mo ago
Nicer looking but fewer diagram types

Also, AFAIK, their "render locally" story is "boot up headless chrome, good luck" which isn't great

gertlex•8mo ago
Another comment mentioned along the lines of, "it's the goto used by developers in readmes", and I suspect it's more specifically javascript-adjacent developers (as is the case where I work)

The "render locally" situation was enough friction to keep me happy with my .jpgs and .pngs generated from various sources and/or screenshotting.

mdaniel•8mo ago
I don't know if this helps you but the Mermaid plugin in JetBrains has an export feature which can save you a step. But I find Mermaid diagrams so limiting and the syntax more immature than PlantUML so it's very rare that I bother

The "in readmes" is a special case because the markdown rendering in both GitHub and GitLab support it without drama

twodave•8mo ago
There are plugins for VS Code that enable local rendering when previewing markdown files. Fairly nice for editing dev wiki files!
JoachimSchipper•8mo ago
Picking anything but PlantUML's default theme will make PlantUML look less 90's-Java. As a minimalistic solution, I already like "skinparam monochrome true" https://plantuml.com/skinparam#:~:text=Black%20and%20White. (You can go further with CSS and themes and...)
aeonik•8mo ago
Except it has trouble rendering text on the CLI version when producing SVGs.
cogogo•8mo ago
Little weird to see this on the lead page… mermaid has been around for a long time. And in general I’ve found its real world use pretty lacking.
prepend•8mo ago
I use it and see it many times per month as it’s the preferred way of sticking graphics and diagrams in markdown in git repos and generated static sites.

It’s so handy for putting a sequence diagram in your docs and then tracking the changes over time using git.

I’m curious what other software developers use if not this. I’ve tried specific graph and drawing tools like lucid and Visio, but the simplicity of mermaid is nice. And I don’t know anything else that shows git blame for who changed what in my diagram, when.

billyp-rva•8mo ago
> And I don’t know anything else that shows git blame for who changed what in my diagram, when.

You could do this with any diagrams-as-code tool, no?

matthew16550•8mo ago
Mermaid is sort of a defacto standard because github auto renders it inside markdown files.
_tom_•8mo ago
I think he's saying you can click and edit on the diagram, which mermaid doesn't support. This does propagate back into the source.

I think you are talking about "just change the text and regenerate", which achieves much the same goal.

I'm not sure in what cases the former is better.

prepend•8mo ago
Such as?
heluser•8mo ago
Re what other developers use. I tried mermaid and other text to diagram tools for work, but, as mentioned above, found them lacking. Most companies / teams I know of use something like excalidraw or miro. Definitely matches your simplicity requirements, but, obviously, no git blame
prepend•8mo ago
I haven’t tried excalidraw, but don’t like miro as I want my docs embedded with the repo, not linking out to a third party.

I like miro for brainstorming and such.

mpalmer•8mo ago
I love it when this happens, people almost always reply with something cool they did with it, or discovered. The link isn't new, often the comments are.
jen729w•8mo ago
Its real-world use is drawing diagrams on a web page! I much prefer diagram-as-code to diagram-as-screenshot. e.g. https://sbs.johnnydecimal.com/14.23+OPS1#diagram
manmal•8mo ago
We use it a lot for internal documentation, eg in Markdown on GitHub (renders natively), Notion, and Jira.
wadewatts•8mo ago
I love Mermaid diagrams. I let my coding LLMs generate diagrams during architecture design and then afterward for accuracy— Sequence Diagrams, CSD’s, Flowcharts, DFDs, and ERDs. Couldn’t be simpler. I’m happy.
bredren•8mo ago
Yes, I think this is why mermaid is hard to beat right now. LLMs seem to understand the syntax well.

I’ve used AI to build mermaid diagrams during ongoing system design discussions from transcripts as they progress.

I’ve rendered them, shared them and then the group can look at them and iterate very quickly.

A bunch of the rendering tools aren’t great, but some are and decent basic styling makes a big difference.

behnamoh•8mo ago
I liked Mermaid but unfortunately LLMs don't understand it well, so I switched to Latex tikz which LLMs know pretty well. At least I know Gemini 2.5 Pro does a good job at tikz. 3.7 and o1 were meh.
aryonoco•8mo ago
deepseek r1 understands mermaid very well and can correct all the mistakes of Gemini and Claude
DrPhish•8mo ago
I can second this. I’ve been using R1 to both straight up generate mermaid as well as making custom mermaid syntax generators for dynamic diagramming
NightMKoder•8mo ago
IMO mermaid is awesome, but for two somewhat indirect reasons:

- There’s an almost wysiwig editor for mermaid at https://www.mermaidchart.com/play . It’s very convenient and appropriately changes the layout as you draw arrows!

- Notion supports inline mermaid charts in code blocks (with preview!) It’s awesome for putting some architecture diagrams in Eng docs.

jdougan•8mo ago
Obsidian also supports inline mermaid charts in markdown code blocks. One of those features I don't see mentioned much.
novia•8mo ago
github / gitlab too!
fastball•8mo ago
Supernotes too!
patrickk•8mo ago
LLMs (I use ChatGPT) can take a generic process description, spit out the result in mermaid, which can then be imported and refined in something like draw.io. Yes, you’ll have to correct a few things by hand, but it drastically speeds things up. Last time I check draw.io is supported in obsidian.
inadequatespace•8mo ago
I recently tried this, but the import to draw.io did not go well. It imported as a single static image rather an editable diagram. Maybe I did something wrong?
patrickk•8mo ago
Usually in such cases either copy and paste the error message from draw.io, or screenshot it and upload to chatGPT. It will debug it for you.

There’s also a specific sequence of steps to import mermaid scripts, I don’t remember the menu location by heart, ChatGPT can also give you the steps needed to do this.

SkyPuncher•8mo ago
Github supports inline mermaid charts, too!

I've been starting to include them in my bigger PRs and reviewers really like them.

codeduck•8mo ago
Hugo does this as well.
Teocali•8mo ago
About Notion, they do indeed support Mermaid, but their included version is quite obsolete and they don’t seems so eager to update it. A shame.
LifeIsBio•8mo ago
One of my favorite applications of multimodal LLMs thus far is the ability to:

1. Draw a DAG of whatever pipeline I’m working on with pen and paper.

2. Take a photo of the graph, mistakes and all.

3. Ask ChatGPT to translate the image into mermaid.js

Given how complicated the pipelines are that I’m working with and the sloppiness of the hand drawn image, it’s truly amazing how well this workflow works.

codazoda•8mo ago
Care to share your prompt(s)?

I draw a fair bit on a Kindle Scribe. I’d love to try this, but I bet your prompt would be helpful.

LifeIsBio•8mo ago
There's really not much to share. I rewrite the prompt each time, but here's was a recent one:

> I have an image of a hand drawn workflow diagram. I’d like to turn it into a mermaid.js file.

(with the image attached)

lubujackson•8mo ago
Alternatively, ask the LLM to create a mermaid DAG of your current code.
LifeIsBio•8mo ago
That's an interesting idea. A lot of times what I'm drawing is a blend of what the code is versus what I want it to be post-refactor.
jillesvangurp•8mo ago
I recently did a variation of this where instead of drawing, I just drafted a quick few bullet points and text describing at a high level what the system should do. And then I asked chat GPT to identify use cases and generate sequence diagrams for each use case in puml format (plantuml). Shockingly effective and it took about five minutes. This was a technical proposal that I shared with a few partner companies to provide a detailed plan to a customer. It came after several online meetings spaced over a few weeks of us negotiating the details. Pretty important document and it was well received. Plantuml looks decent enough that you can get away with sticking the resulting diagrams in a document.

I'm a busy person. I don't have hours of time that I can take out of my schedule to generate what I regard as write only documentation (nobody will ever read or truly value it) that ticks the box of "we have stuff to point at when somebody asks (which nobody ever will)", which has a lowish value. Sometimes it's nice to have. The above is a fine example. People will glance at it, give me a little thumbs up, and then give me permission to proceed as planned and bill accordingly. Job done. It's not a reference design that anyone will ever look at for more than a few seconds.

After a few decades in the industry, I'm extremely skeptical of the value of diagrams vs. the time required to produce them. I just don't see it. A lot of good software gets produced without them. You don't need blueprints for your blueprints, which is what source code is (a blueprint for automatically compiling into working software). People value such traits as structure, readability, conciseness in source code for a reason: it allows them to treat source code as design assets. I don't write UML, I stub out data classes and interfaces instead. And then I refactor them over and over again. Diagrams just slow me down.

But a few minutes is about on the threshold of me wasting braincycles on producing them and enrich documentation that I'm writing anyway in text form. Quickly jot down some notes. Don't waste any time whatsoever obsessing about the awkward syntax of these micro languages, and just get the essentials nailed. I bet I can get it down to like a minute or so with better LLMs and larger context windows. "Examine this project, produce an overview diagram of all the database tables". That's a prompt I'd write. In the same way, letting LLMs document code is a great use of time.

nine_k•8mo ago
> write only documentation (nobody will ever read or truly value it)

But what's the point of producing such documentation? I could imagine that the process of creating it could be somehow beneficial (committing to memory, finding discrepancies, etc). If it's not, why can't it just be skipped?

baq•8mo ago
Documentation is a tool for creating shared understanding. If you don’t need to share your understanding, don’t write docs.

Note however that sharing understanding works on the people axis and on the time axis. Docs allow you to share your current understanding with your future self. They’d better be general enough to be true then, though.

Nowadays I find Gemini pro to be able to accurately document a complex workflow within minutes just by looking at the sources and sometimes even just logs, so value of low level docs is questionable. High level requirements - essentially how it’s supposed to work and what for - is very valuable, as it allows you and the model to cross check whether things work as they were intended.

jillesvangurp•8mo ago
I write and read lots of documentation. Diagrams are not a common feature of that.
baq•8mo ago
I'd rather have a single concept diagram than a thousand words of docs. To each their own I guess.
Hendrikto•8mo ago
The answer is literally in the same sentence you quoted…
jillesvangurp•8mo ago
None other than ticking boxes and shutting up the people that keep asking for such things to be produced. Who then invariably don't have the attention span to do anything with the diagram. That's literally the only reason I have for creating them. Otherwise it's a tedious activity that gets in the way of developing, slows me down, and just interrupts my creative process. I usually have better things to do.

And as you might understand from what I just said, I rarely produce any diagrams. I've been active as a developer since before UML got popular and then peaked and then faded into obscurity. I still have a signed (by Martin Fowler) copy of UML distilled on a shelf somewhere gathering dust. First edition and everything. I don't think it's very valuable. Waste paper basically. But contact me if you feel otherwise. It's in pristine condition because I never did much more than thumb though it and shelve it.

25 years ago, any self respecting architect had expensive licenses for things like rational rose or visio. And they'd be fiddling with those tools for hours to produce detailed class and other diagrams. And those diagrams were as useless then as they are now. Epic waste of time. People stopped buying and using those tools. This was once a very big industry that has now imploded to next to nothing. Nobody is buying, very few people waste budget on this crap. It's a niche market with some niche revenue. Tens of millions of developers ignore these tools.

What do plantuml, mermaid, and other OSS diagramming tools have in common? The people that make them don't eat their own dogfood to document how their own software works. You can have some fun looking for diagrams in OSS projects. With few exceptions, this is not a thing (devops people seem to have a weird obsession with diagramming. And overengineering). I'm not aware of many serious OSS project where developers have bothered to document even a tiny fraction of their software with diagrams. Including all the major OSS UML diagramming tools.

The documentation for these contains plenty of examples of course (typically very simplistic). Just not any that document how the tool is designed or works. I'm not judging. I wouldn't bother either for reasons that I articulated above. But I find it ironic that even diagram tool developers don't seem to feel an urge to use diagrams for their own stuff. Makes you wonder why they bother creating the tool? You'd have to be passionate about diagramming tools but not so that you'd want to use them for your own software.

donatj•8mo ago
I don't love Mermaid and generally find it less well designed than something like Graphviz/dot. I generally find a lot of the syntax needlessly strict for something non-programmer humans are meant to interact with, but the big seller for me with Mermaid is that it works inline on GitHub.

I end up creating a lot of sequence diagrams and having them as editable mermaid is very convenient. I do wish GitHub giant mermaid navigation controls floating over the bottom right corner obscuring things.

taklimakan•8mo ago
I was under the impression mermaid is a wrapper around graphviz dot.
nine_k•8mo ago
No, it's an independent, JS-only implementation, and it's way, way less featureful.
xamde•8mo ago
I believe it uses an cross compiled version of dot in js
mdaniel•8mo ago
I don't see the infrastructure for that, rather it seems to be relying on d3 and DAG renderers targeting it https://github.com/mermaid-js/mermaid/blob/mermaid%4011.6.0/...
ding444•8mo ago
This is built into Obsidian, and I love it for making quick diagrams in my notes.

Mapping out database tables while I’m conceptualizing an idea is what I use it more most often. I also use sequence diagrams to map process flow or try e flow of information.

ngm7•8mo ago
I'm slightly surprised excalidraw (https://excalidraw.com/) is not in the comments. I use it regularly to convey ideas to my devs and designers. Plus, it exports to json! Someone wrote a library to convert mermaid to excalidraw as well.

We're now experimenting with creating design questions to ask in interviews with excalidraw/mermaid

davely•8mo ago
I did a system design interview awhile back using Excalidraw. I really enjoyed it (though I also frequently use it for normal work stuff, so was familiar with it).
nine_k•8mo ago
I love excalidraw. But does it have an editable, diffable textual representation? Can it be generated with little ceremony, and laid out automatically?
mdaniel•8mo ago
The sibling submission about https://kroki.io has an Excalidraw in https://kroki.io/#examples and the input is the following, so presumably "yes" and "no"

  {
    "type": "excalidraw",
    "version": 2,
    "source": "https://excalidraw.com",
    "elements": [
        {
          "type": "rectangle",
          "version": 175,
          "versionNonce": 279344008,
          "isDeleted": false,
          "id": "2ZYh24ed28FJ0yE-S3YNY",
Yes, textual, but no, the diffs aren't going to mean anything. It'll be like diffing svg from Inkscape
iammrpayments•8mo ago
I remember I use this last year when trying to draw my auth flow. I tried using excalidraw but it gets laggy if your chart is too big, besides I find it easier to type the chart than using the mouse.
zoba•8mo ago
Claude Artifacts will generate mermaid diagrams for you.
paul_h•8mo ago
I just used Mermaid for multiple sequence diagrams from build-steps sequences in a video talk I did on comparing build systems - https://www.youtube.com/watch?v=L67ri_xe2oQ (slides - https://paulhammant.com/google-style-dag-build-systems/). The new boost for me was GPT4o. It was able to quickly make what I wanted from the build logs alone, though it took some hand tweaking too. A new (or very old) problem after that was not taking sufficient save points (URL bookmarks) and sometimes making the same edit twice cos I'd lost a URL. That there was a second save of the PNG form for each (https://kroki.io/mermaid/svg/...) added to the keep-track-of-changes problem for me, especially when I'm very tired me :(
azthecx•8mo ago
Interesting slides, it's always nice to see different ways to set up these kinds of systems and with a practical git repo to boot!
smurpy•8mo ago
Check out Kroki for a multi-syntax wrapper around a bunch of text driven diagram generators —- including Mermaid, PlantUML, Ditaa, GraphViz, SVGBob, etc, etc

https://kroki.io/

mdaniel•8mo ago
That's pretty slick, thanks for sharing. https://github.com/yuzutech/kroki (MIT) and they thankfully use Zulip for their chat!
jldugger•8mo ago
All I really want is something that can diagram out 30+ microservices and interconnections without getting ugly.

graphviz does okay, but I kinda want some extra levels of grouping to keep services in the same k8s namespace close together.

noisem4ker•8mo ago
Are clusters not enough?

They can be nested.

https://graphviz.org/Gallery/directed/cluster.html

https://github.com/ReneNyffenegger/about-Graphviz/blob/maste...

jldugger•8mo ago
Hmm. I thought I'd tried that but perhaps I didnt' read the documentation close enough. Even after reading your reply it took me about 20 minutes to realize the subgraph has to have a name prefix of "cluster." And after more digging I see now that cluster=true will do it as well.

It's not exactly what I was hoping for, but is an improvement on the randomization I had going on before!

jgalt212•8mo ago
IIRC, you have the have the cluster prefix and cluster=true to make it work. I also found clusters to be quite tricky to work with (especially when you have an arrow between a regular node and cluster node).
jldugger•8mo ago
I seem to be getting by with just the prefix ^_^

Fortunately, I don't intend to add arrows into clusters, I just want stuff in the same k8s namespace to be near each other.

ris•8mo ago
I much prefer d2 https://d2lang.com/

Only downside is AFAIK no in-browser renderer.

Koffiepoeder•8mo ago
They were working on a wasm version some time ago I believe [0]. Not sure how usable this is insofar, but it may be of interest.

[0]: https://github.com/terrastruct/d2/pull/436/files

mdaniel•8mo ago
https://play.d2lang.com/ loads https://play.d2lang.com/d2.wasm so presumably "all done"
Koffiepoeder•8mo ago
I have the impression this is still using api.d2lang.com/render/svg as the primary source for its renders. So to me it seems that - although wasm is being loaded/used - this is maybe more for client-side processing steps, rather than the full rendering being done in wasm.
manmal•8mo ago
That’s a pretty major downside, since broad in-browser support (GitHub, Notion etc) is arguably Mermaid‘s USP.
globular-toast•8mo ago
It's not too bad if you're prepared to set up a rendering pipeline using a static site generator like mkdocs. This will get you much better results than just letting GitHub et al render markdown in whatever style they please.
manmal•8mo ago
We're quite happy with mermaid though, not sure what's the issue with it?
globular-toast•8mo ago
Well it just can't do as much as many other tools.
yencabulator•8mo ago
The other downside is that D2 is a thinly-veiled Open Core project and you'll be forever stuck with yet another company trying to get money from you:

https://d2lang.com/tour/tala/

> Proprietary layout engine developed by Terrastruct

> TALA is a separate install from D2, to keep a clean cut between 100% free and open-source D2, and proprietary, closed-source TALA.

The two non-proprietary layout engines are 1) Dagre, a port of ideas from Graphviz to Javascript, where the only benefit over Graphviz seems to be "it's in Javascript!" 2) ELK, a fairly naive layout engine that makes non-symmetrical graphs with oddly crooked lines.

ris•8mo ago
It's weird to me that TALA is considered the "special sauce" layout engine, because I've only ever had it produce extremely weird layouts for me.

I always tend to end up using ELK.

J_cst•8mo ago
On my RooCode chat window with Gemini2.5 the mermaid charts are not always shown... 44049619.
herol3oy•8mo ago
I use Mermaid in my app[0] to generate books story relationships.

[0]https://github.com/herol3oy/austen

alok-g•8mo ago
Your app looks interesting. Am curious about how is AI being used. Assuming that to discover character relationships, how is that done? Thanks.