from Hacker News

Show HN: Srcbook – Self-hosted alternative to AI app builders

by nichochar on 10/23/24, 3:31 PM with 6 comments

Today we’re releasing a full AI app builder in Srcbook. We released our TypeScript notebook a few months ago (https://news.ycombinator.com/item?id=41291700) and the response was encouraging, but we kept hearing that people wanted to build interactive apps.

Today we are releasing just that. You can think of it as an open-source and local version of vercel’s v0. We actually think of it as something in between an IDE and that, because we believe the code matters and don’t shy away from that: you can view and edit the code in a full editor, but prompt your way forward if that's what you prefer. When the AI makes changes you can review the files diff like you would a GitHub pull request, and toggle between versions to view the visual diff.

Try it now: npx srcbook@latest start

It’s surprisingly good at building apps, especially with the latest claude model sonnet3.5 that came out yesterday. Here’s a video showing building and iterating on a ticket tracker MVP in a few minutes https://www.youtube.com/watch?v=jYOmzasvP74

Key features:

- bring you own API key

- diff viewer

- apply/undo mechanism to see the visual diff

- export the code

- code is OSS under apache2

  • by jwilber on 10/23/24, 10:49 PM

    Really like the inclusion of the diff + undo here. It feels like a nice sweet spot between the two dominate workflows: ai-integrated IDEs and copy & pasting from Claude/ChatGPT.
  • by santa_boy on 10/27/24, 6:39 AM

    Will try out, nice that is OSS. I work on plain vanilla HTML, JS and CSS. No React, Vue, etc. Hope this works for me.
  • by I_Write_It on 10/24/24, 12:05 PM

    Seems pretty nice, I'll give it a try !
  • by gcanyon on 10/24/24, 12:05 AM

    How would you compare this to https://www.marblism.com