Split bills like a boss.
Petty Cash is a simple and intuitive expense-splitting app that helps you and your squad settle bills without the drama. Whether you're sharing a pizza, splitting drinks, or going all-in on a group trip, Petty Cash has got your back with multiple split methods to keep it fair and fabulous. 💸
- Itemized Splits: Pay only for what you ordered. No more covering your friend's triple mojito spree.
- Dutch Splits: Divide the total bill equally among all participants. Simple and stress-free.
- Attendance-Based Splits: Share the cost of group items (like wine) only among those who enjoyed them.
- Custom Splits: Assign custom percentages to each participant for maximum flexibility.
- Real-Time Calculations: Get instant payment summaries as you add items and participants.
- Responsive, Sleek Interface: Works beautifully on desktop and mobile browsers.
- HTML5: For semantic and accessible structure.
- CSS3: For stylish, responsive design.
- Vanilla JavaScript: For all the interactivity without the overhead of frameworks.
git clone git@github.com:familieslifedev/petty-cash.git
cd petty-cash
Simply open index.html
in your browser. No build tools, no hassle!
If you want a local server (to avoid cross-origin issues):
npx serve
- Open the app in your browser.
- Add participants and items to the bill.
- Select a splitting method:
- Itemized: Assign each item to specific participants.
- Dutch: Split the total bill equally.
- Attendance-Based: Share items among selected participants.
- Custom: Set custom percentages for each participant.
- Review the real-time payment summary.
- Export or save your results (optional).
petty-cash/
├── index.html # Main app file
├── styles.css # CSS for styling the app
├── script.js # Core JavaScript logic
└── service-worker.js # Service worker for offline support
Want to make Petty Cash even better? Feel free to contribute!
git fork https://github.com/your-username/petty-cash.git
git checkout -b feature/amazing-feature
Open a PR explaining your feature or fix, and let's make it happen!
- Tax and Tip Calculations: Automatically add tax and tip for your region.
- Export Options: Save results as a PDF or CSV.
- Dark Mode: Because we all need a little
moodyaesthetic. - Offline Mode: Use the app even without an internet connection.
This project is licensed under the MIT License. See the LICENSE file for more details.
- Plain HTML/JS/CSS for keeping it light and accessible.
- You, for being fabulous enough to check out Petty Cash. ✨
Now go on, be the financial hero your group deserves. Petty Cash has got you covered! 💸