I vibe coded my own Trello. Drag and drop took two fixes, and the whole thing cost 14 cents.
A kanban board is the classic "looks easy" app. Lists and cards are simple. Dragging a card from one list to another, dropping it between two others, and having it still be there after a reload is where most first attemp
A kanban board is the classic "looks easy" app. Lists and cards are simple. Dragging a card from one list to another, dropping it between two others, and having it still be there after a reload is where most first attempts fall over.
So I opened an empty folder, typed one paragraph, and let the agent work. About three and a half minutes later I had Cardflow: three lists with sample cards, new lists and cards, a card editor, coloured labels, and everything saved in the browser. That first version cost 5 cents.
Here is the real run, sped up:
The prompt
Build a kanban board like Trello, called Cardflow. Three lists to start: To do, Doing, Done, with sample cards. I can add lists and cards, edit a card by clicking it, give it a coloured label, and drag cards between lists and reorder them. Everything is remembered in the browser. Colourful, friendly design with a gradient background. Give it its own name, colours and logo; do not copy any brand. Plain HTML, CSS and JavaScript, no build tools and no installs.
Three things in that prompt did most of the work:
- "Drag cards between lists and reorder them." Two different jobs in one sentence. Moving a card to another list is easy; choosing its place among the cards already there is the part that needs care.
- "Three lists to start, with sample cards." An empty board tells you nothing. With sample cards you can drag something in the first second.
- "Everything is remembered in the browser." No server, no account, no database. Close the tab, come back, and the board is as you left it.
The part that did not work first time
The drag and drop needed two more requests, and I think that is the honest part of this story.
- Fix one, about two minutes. The agent rebuilt dragging on pointer events, so one piece of code covers a mouse, a trackpad and a finger. It also handled two things I had not thought of: on a touch screen the browser wants to scroll instead of drag, and letting go of a card could count as a click and open the editor.
- Fix two, 17 seconds. Dragging a card sometimes selected the text on the board. The agent switched text selection off while a card is moving, then selected some text in its own browser, ran a drag, and checked that nothing stayed selected.
After that second fix it told me what its test was worth: it had simulated the drag in code, not with a real mouse, so "a real mouse drag in the Preview is still worth a quick try". I tried it. It worked.
With both fixes the clock was at about six minutes and the cost at 14 cents.
Then I asked for one more thing
Add a due date to cards, and show overdue cards with a red badge.
Forty seconds later the card editor had a date field, and a card that was late wore a red badge.
What it is, and what it is not
It is a real, working board for one person in one browser. It is not Trello: no accounts, no sharing, no sync between devices, no attachments. For a personal board, a prototype, or the start of a real project, that is exactly the part you want done in minutes.
Try the same prompt
I used VibeCode.surf, a desktop AI code editor built around agents: they write the code, run it, and test it in a real browser on your own computer, with any model you choose. It runs on Mac, Windows and Linux and starts with a 7-day free trial.
Copy the prompt above, change the name, and see what yours looks like.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.