Relevance
Hey HN I'm Brad, the creator of SplitMyExpenses (SME)!I've always dreaded splitting expenses with friends after meals, so I'd usually do it as a batch process after a few weeks. I always dreamed of a tool that fit that workflow seamlessly and couldn't find it, so I did the thing most software tinkerers do, build your own tool!It has evolved substantially over the past few years, from a side project that almost never made it out the graveyard, to a polished web app with powerful API integrations and even AI!Splitting expenses sounded simple up front, but a few challenges worth calling out:
- Import expenses via file uploads (.csv, .excel, .txt) 500 different styles and patterns/behaviors (column names, $ positive negative, date styles, etc.) across different financial institutions <-- a massive project within itself!
- Money split logic: I wanted to ensure you get all your money back and dividing payments "evenly" turns out to be uneven! I had to pull in a frontend and backend library to do calculations on this (IE: $5 divided by 3 people is: $1.67, $1.67, $1.66)
- Charging on payment services: Venmo, CashApp, PayPal, and Zelle all have their own URL/deeplink formats to link into and some don't even allow you to! A big of digging / reverse engineering here to figure this out, but mashing it all together so you don't have to saves a ton of time!
- Split logic: Dependent state where all bill splits need to be calculated "together". If you have $10 bill, split between 4 people it will be $2.50 each. Sweet! But if you add one more person, that will change the previously saved splits per person, so you have to save the splits all together.
^ I originally built this as a save per split, but this did not scale well at all and didn't make senseA few cool callouts:
- Clean up your expense names automatically: AI summarization / extraction of useful text describing your expenses as you do a file import
- Receipt itemization: Using Amazon's fantastic receipt APIs, can extract line items and subtotal + tax + tip, so no more typing that all out
- Charts for your effective spending: see how much you are spending AFTER you split your expensesTech stack: Laravel (PHP), Vue.js, and Inertia.jsI'm super pumped to get it out the door last week during my Product Hunt launch, excited to share it with the technical folks on HN who can appreciate some of the challenges here :)Let me know if you have any feedback! Any and all comments are welcome