Every trip with friends ends with a headache over splitting the money afterwards? Make an app that works it out for you, with the fewest transfers.
I'm using just Gemini on the web (free), same as before. I don't write a single line of code myself.
Try the finished appThe code the AI wrote (full file)


What the app can do
- A big total for the whole trip, showing how much each person paid and how much they owe
- A summary of who transfers how much to whom, with the fewest transfers
- Add an item, pick who paid and tick who shares it (untick anyone who didn't join in), and edit or delete it
- Tick it once someone has transferred
- A copy-summary button, ready to send to the LINE group
- Add or remove friends on the trip
- Saved on the device, so it is still there after you close and reopen it
Just 3 steps
- Open gemini.google.com, tap the + button and choose Canvas
- Copy the prompt below, paste it, change the friends' names and the costs to your own trip, then send (it takes about 1 minute)
- Tap Preview and you can use it right away
Want an icon on your phone? See the special episode (iPhone: Safari → Share button → Add to Home Screen · Android: Chrome → ⋮ → Install app)
The app only helps work out the amounts. It doesn't transfer money for you. Check the amounts in your bank app before every transfer.
(The friends' names and the amounts in the clip are samples.)
The prompt
Please make an app for splitting trip expenses with friends. It should be a single web page file that works on an iPhone. - Put in a sample trip, "Khao Yai trip", with 4 friends: Ton, Fon, Boss, Mew - Put in 4 sample expenses: accommodation 4,800 (Ton paid), fuel 1,600 (Boss paid), moo kratha barbecue 1,240 (Fon paid), national park entry 400 (Mew paid) - I can add new items, choose who paid and who shares it (tick the people, everyone shares by default), and edit and delete them. - A summary page showing how much each person paid, how much they owe, and "who transfers how much to whom", using the fewest transfers possible, big and clear. - I can tick "transferred". - A "Copy summary" button that gives a text summary to send to the LINE group. - I can add or remove friends on the trip. - Save data on the device so it is still there after closing and reopening. - The app should be in Thai, with big text that is easy to read and bright colors.