News for hackers. Stuff that matters.
Re:Show HN: Browser based state machine simulator and visual... by smusamashah on Saturday February 07, 2026 @06:43PM (#46929584)
I get a 404 immediately
Re:Show HN: Browser based state machine simulator and visual... by sridhar87 on Monday February 09, 2026 @01:54PM (#46949267)
I got a cool name for the project: smacthat, so renamed the repo. But I couldn't delete this post or edit it. Sorry, but thanks for trying out.
Re:Show HN: Browser based state machine simulator and visual... by smusamashah on Saturday February 07, 2026 @06:46PM (#46929599)
You meant this perhaps? https://svylabs.github.io/smacthat/
Re:Show HN: Browser based state machine simulator and visual... by sridhar87 on Monday February 09, 2026 @01:53PM (#46949256)
Yeah, smacthat!
Re:Show HN: Browser based state machine simulator and visual... by steve_adams_86 on Saturday February 07, 2026 @07:06PM (#46929762)
The configuration reminds me a lot of XState, which has a beautiful visualizer/simulator (with a new version on the way I think): https://stately.ai/viz

This is cool too! I love state machines.

Re:Show HN: Browser based state machine simulator and visual... by sridhar87 on Monday February 09, 2026 @01:52PM (#46949252)
Thanks for checking out.

Yes, it looks similar to XState. When I built it, I didn't know of XState, but of course, I did use a lot of AI to create this, so the configuration is similar to XState.

But my plan is to see if there is opportunity with this elsewhere, orthogonal to what stately seems to be doing.

Re:Show HN: Browser based state machine simulator and visual... by steve_adams_86 on Monday February 09, 2026 @04:25PM (#46951605)
> so the configuration is similar to XState

In my opinion this is a good thing. It's a really well-designed API. It's easily my favourite approach to defining state machines that I've encountered across several languages.

> see if there is opportunity with this elsewhere

Any plans to share yet? This sounds interesting!

Re:Show HN: Browser based state machine simulator and visual... by sridhar87 on Monday February 09, 2026 @04:34PM (#46951769)
Sure, I recently made a post about this as well here(https://news.ycombinator.com/item?id=46943538)

Happy to hear your feedback.

There are many verticals where state machines can be useful, but I think DeFi / Smart Contract is one area where I think they become more valuable, given the time it takes to implement a smart contract. Quite useful for protocol designers in the very early stages in my opinion. I was in fact designing a protocol and wanted a visual way to represent it, that's when I built this tool. I knew about mermaid, state machines, did not know about xstate.

Re:Show HN: Browser based state machine simulator and visual... by davidkpiano on Saturday February 07, 2026 @09:53PM (#46930894)
Really cool! Love the XState-inspired API ;-)
Re:Show HN: Browser based state machine simulator and visual... by sridhar87 on Monday February 09, 2026 @01:57PM (#46949321)
Thanks for checking out.

Actually I didn't know of XState when I built this, I had built this for my own workflow.

I did use AI to build this, so credits to AI for coming up with the right model, inspired by XState.

My plan is to build a slightly orthogonal version of what stately / xstate offers, even though right now it looks similar.

You can check out eigenarc.com for how I'm thinking of this.