Show HN: Dyad, local, open-source Lovable alternative (Electron desktop app)
dyad.shHi HN!
I left Google earlier this year and created Dyad, a local, open-source AI app builder made with Electron.
The motivation: I tried one of the popular cloud-based AI app builders, but when I pulled down the app to run locally and debug in Cursor, it just didn’t work. So I created Dyad, an app builder that runs fully on your computer, making it easy to switch between Dyad and coding tools like Cursor or Claude Code.
Source code: https://github.com/dyad-sh/dyad/
Download (free, no sign-up): https://www.dyad.sh/
I've gotten questions about how it works under the hood so I wrote an architecture doc explaining how it does tool calling using XML tags, etc: https://github.com/dyad-sh/dyad/blob/main/docs/architecture....
Let me know what you think and happy to answer questions about building an Electron app, etc!
Thanks for all of your hard work and commitment, Will! You've put everything into it, but its turning into something far more than some other companies that are much larger.
Thanks for being such a kind, caring guy. I have been here for a long time now, using Dyad. It's often becoming my main choice for designing and prototyping on things when I have a bit of inspiration.
I hope you find all the success out there, man. You're a genuinely good guy and it really shows in the way you do business. Have a wonderful time. Reach great heights.
Congrats for launching and awesome work, I will try it out soon!
Question, I have my own persistence and auth services, all well documented, that I would like to build apps against. Is there a recommended way to do this other than pasting the docs in the prompt each time I create a new app?
Thanks! Check out our Prompt Library feature: this way you can create reusable prompts across your apps: https://www.dyad.sh/docs/releases/0.18.0
I have been using it and I love it. It's isn't my main driver because I have to work on a lot of Bootstrap sites, it didn't like them the last I checked because they weren't a js framework. But I have made a few playthings with it that were and it was good.
My Kagi-fu fails me, but I recall a builder generated code use Supabase row level security, and it fails open, and no longer filtering out data from other users. Is this guaranteed to protect your data?
we have an extensive system prompt to instruct the Supabase to follow RLS best practices: https://github.com/dyad-sh/dyad/blob/de2cc2b48f2c8bfa401608c...
What you're describing as the fail-open behavior is from the Supabase platform (and not specific to any app builders): https://supabase.com/docs/guides/database/postgres/row-level...
These things does work (up to a max few thousand lines of code), but, they eat tokens like f*ng monsters.
we have features like manual context management https://www.dyad.sh/docs/guides/large-apps#manual-context-ma... which lets you select files to use in your context window
Hey, could the tool do this itself? Like using code embeddings?
https://www.trynia.ai/ seems to be doing sometihing similar.
very interesting - when we ship MCP support you should be able to use nia!
How about local support? First draft is simple enough to implement: chunk => embed => store. And then one simple lookup function.
Complexity would arise once we start to go into AST's and graph traversals.
> All source code remains on your machine. Use your preferred IDE (VS Code, Cursor, etc.) and seamlessly integrate Dyad into your existing workflow.
The fact that it has to be said... :D
I'm working on adding MCP support to Dyad soon! What's your favorite MCP servers? (trying to curate a list of recommended MCPs)
There is a project I’ve been playing with called claude-code-templates that keeps curated lists of things Claude code can use, one of which is MCP servers: https://github.com/davila7/claude-code-templates
neat! thanks for sharing
Context7 or Deepwiki are a must-have. They are also relatively secure, unless those sources of information become compromised in some way.
Can it run with Ollama?
yes! https://www.dyad.sh/docs/guides/ai-models/local-models
Thank you!