💾 Archived View for drawk.cab › projects › tabulator › index.gmi captured on 2023-01-29 at 15:23:44. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
Tabulator is an app which keeps track of debts between a group of people over some event, like a weekend break. I made it for the Colonel's Regiment, which includes a number of Yorkshiremen and others disposed to working such things out exactly.
The original version was an Android app built with AngularJS and Ionic. As usual, changes in technology made it tricky to update, so in 2022 I reimplemented it as a PWA using SvelteKit.
You can run it in your browser, or if you have a suitable device, install it like a normal application. It should work offline once installed; however I haven't completely figured out localStorage, which means that you may find all your data wiped without warning. (Deleting your browser data and using iOS appear to be the main causes.) So don't use it for anything too important at this stage.
Tabulator doesn't access your contacts. You can represent people by their initials or some other meaningful tag.
Tabulator web application, version 0.9
For each bill, you enter in what everyone had (or at least what it cost) and what everyone contributed, and it calculates who owes and who is owed. If the eventual amount owed can't be evenly divided then the app rounds cents in favour of whoever is owed the most.
It doesn't matter who specifically owes what money to whom, as long as everyone ends up redeemed at the end, and how to do this in the best way turns out to be a Hard Problem in maths which I haven't tried to solve. In our group we generally pay off whoever is owed most and then sort out the remaining debts.
Say you're in a restaurant and have eaten $80 worth of food. So there are some items on the right hand (debt) side of the bill page which add up to $80. Right now the bill is unbalanced because we haven't put in who has paid for anything.
When a bill is unbalanced like this, Tabulator provides an extra button which automatically adds a credit of the amount needed.
But what if you decide to throw in a $100 bill and leave the extra $20 as a tip? If you add the $100 on the credit side, and now the bill is unbalanced the other way. Tabulator's extra button now works the othe way, automatically adding a debt which you can split among the satisfied diners.
In this situation Tabulator also tells you what percentage tip you are leaving.