A simple SvelteKit app to split a receipt just from the link, item-by-item, allowing you to easily share the cost of a meal with friends.
- Automatically imports receipt items from a receipt link (currently supports Toast), including the number of guests (if available), tax, tip, and fees/surcharges.
- Quickly provide names for each guest and assign items to one or more guests.
- Automatically calculates the total for each guest, including their portion of tax and tip.
- Generates a shareable QR code and link for the split receipt.
Once you've cloned the repo and installed dependencies with npm install, start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version of the app:
npm run buildYou can preview the production build with npm run preview.
To deploy to cPanel, run:
npm run build:cpanelThis will create a to_upload.tar that you can upload to your cPanel account and then extract it to your Node.js application directory. Set the startup file to index.cjs in your cPanel Node.js application settings.