SPLIT is a modern, intelligent web application designed to make splitting bills effortless. Upload a receipt, and let our AI parse the items for you. Assign items to friends using natural language chat, and generate instant payment summaries.
- 🤖 AI Receipt Parsing: Powered by Google Gemini, instantly extracts items and prices from images.
- 💬 Smart Chat Interface: Assign items naturally: "I had the burger and Mike had the beer".
- ⚡ Real-Time Totals: See everyone's share update instantly as you assign items.
- 📝 Manual Control: Edit items, prices, tax, and tip percentages on the fly.
- 👥 People Management: Add, rename, and color-code your group members.
- 📤 One-Click Sharing: Generate a clean, formatted text summary to paste into WhatsApp/iMessage.
- 💾 History: Save your bills locally and reload them anytime.
- Frontend: React (TypeScript) + Vite
- Styling: Tailwind CSS (Custom Design System)
- AI: Google Gemini API (Multimodal Vision & Text)
- State Management: React Context API
- Build Tool: Vite
- Node.js (v18+)
- A Google Gemini API Key (Get one here)
-
Clone the repository
git clone https://github.com/saket-nugget/SPLIT.git cd SPLIT -
Install dependencies
npm install
-
Set up Environment Variables Create a
.envfile in the root directory:VITE_GEMINI_API_KEY=your_api_key_here
-
Run the App
npm run dev
Open
http://localhost:5173in your browser.
- Upload: Drag & drop a receipt image or click "Select Image".
- Edit (Optional): Click "Edit" to fix any scanning errors or adjust Tax/Tip.
- Assign:
- Type in the chat: "Dhruv had the pizza"
- Or click items manually to assign them.
- Review: Check the "People" tab or the live totals.
- Share: Click the "Share" button to copy the final breakdown.
- 💸 Payment Integration: Direct links to Venmo/UPI.
- ☁️ Cloud Sync: User accounts to save history across devices.
- 📱 Mobile App: Native React Native version.
Contributions are welcome! Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
