On

One prompt generates an app with its own database

Hacker News

One prompt generates an app with its own database

Hey HN, manyminiapps is the world first massively multiplayer online mini app builder (MMOMA) *Here’s what it does:* You load the page. You write 1 prompt and you get a mini app back in under 2 minutes. There’s no sign up, and you can see what everyone’s creating in real-time! Each mini app comes with it’s own database and backend, so you can build shareable apps that save data. *What’s different* There are a lot of app builders that promise you’ll build production software for others. But we think true production software can take a long time to get right. Even if you don’t need to program there’s a lot of work involved. What if we turned the promise around? Instead of “you vibe code software companies”, it’s “you build fun software for yourself”. If you cut the problem right, LLMs as they are today can already deliver personal software. manyminiapps is meant to be an experiment to demonstrate this. You may wonder: do you really need personal software? We’re not 100% sure, but it’s definitely an interesting question. Using manyminiapps so far has been surprising! We thought our friends would just try to build the common todo app, but instead we found them building wedding planners, chord progression helpers, inspiration lists, and retro games. *How it works* Instead of spinning up VMs or separate instances per app, we built a multi-tenant graph database on top of 1 large Postgres instance. All databases live under 1 table, on an EAV table (entity, attribute, value). This makes it so creating an “app” is as light as creating a new row. If you have heard of EAV tables before, you may know that most Postgres experts will tell you not to use them. Postgres needs to know statistics in order to make efficient query plans. But when you use EAV tables, Postgres can no longer get good statistics. This is usually a bad idea. But we thought it was worth solving to get a multi-tenant relational database. To solve this problem we started saving our own statistics in a custom table. We use count-min sketches to keep stats about each app’s columns. When a user writes a query, we figure out the indexes to use and get pg_hint_plan to tell Postgres what to do. *What we’ve learned so far* We’ve tried both GPT 5, Claude Opus, and Claude Sonnet for LLM providers. GPT 5 followed the instructions the best amongst the models. Even if you told it a completely nonsensical prompt (like “absda”, it would follow the system prompt and make an app for you. But GPT 5 was also the “most lazy”. The apps that came out tended to feel too simple, with little UI detail. Both Claude Opus and Sonnet were less good at following instructions. Even when we told them to return just the code, they wanted to returned markdown blocks. But, after parsing through those blocks, the resulting apps felt much better. To our surprise, we didn’t notice a difference in quality from Opus and Sonnet. Both models did well, with perhaps Sonnet following instructions more closely. To get good results we iterated on prompts. We initially tried giving point-by-point instructions, but found that a prompt with a full example tended to do better. Here’s what we landed on: https://gist.github.com/stopachka/a6b07e1e6daeb85fa7c9555d8f... Let us know what you think, and hope you have fun : )

Share card

Actual performance

82points
66comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: started, para · Missing: supports, reddit linkedin, podcasting
95%95% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: claude, model, apps · Missing: mac, agents, macos
93%93% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
67%67% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: personal, apps, para · Missing: mobile apps, ios, entrepreneurs
43%43% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: efficient, builder · Missing: plus, platform, intuitive
43%43% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

We
Website that generates data for a database, given it's DDL file34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Website that generates data for a database, given it's DDL file

Hacker News1
A
A minimal TS library that generates prompt injection attacks28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A minimal TS library that generates prompt injection attacks

Hacker News33
I
I built an extension that generates a calendar with a prompt31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built an extension that generates a calendar with a prompt

Hacker News2
Su
SummaDB, a hierarchical database that syncs with PouchDB60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SummaDB, a hierarchical database that syncs with PouchDB

Hacker News5
No
Noms – The versioned, forkable, syncable database68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Noms – The versioned, forkable, syncable database

Hacker News43
A
A reactive Database61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A reactive Database

Hacker News1
A
A reactive Database61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A reactive Database

Hacker News1
Re
Relations in a NoSQL database68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Relations in a NoSQL database

Hacker News6
Di
Digestable Ingredient Database68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Digestable Ingredient Database

Hacker News2
Ne
NebulaDB, my first attempt at a database63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

NebulaDB, my first attempt at a database

Hacker News30