How k4hav/splitsave works
SplitSave is a browser-only UPI QR generator for collecting payments in manageable parts. The main workflow is entering payee and amount details, previewing an optional split, generating QR codes, and manually marking each payment done; completion saves the session to local history. The single page also supports sharing and history reuse, while the root layout bootstraps the remembered theme. The README documents capabilities beyond the sampled source, so those links are cited to the README rather than presented as inspected implementation details. No backend or payment-processing service is shown.
Main entry points: page.tsx Payment Form · layout.tsx Theme Setup · globals.css Theme Styles
Components 15
Entry and Setup
- Payment Form
app/page.tsx - Split Preview
app/page.tsx - Theme Setup
app/layout.tsx - Theme Styles
app/globals.css
Payment Flow
- Session Control
app/page.tsx - UPI Link
app/page.tsx - QR Display
app/page.tsx - Payment Progress
app/page.tsx - Completion Screen
app/page.tsx
History and Sharing
- Payment History
app/page.tsx - Browser Storage
- Share Menu
app/page.tsx
Other components
- Collector
- Share Targets
- UPI Apps
Connections 18
- Collector → Payment Form: enters payment
README.md - Payment Form → Split Preview: previews split
README.md - Payment Form → Session Control: generates session
README.md - Session Control → UPI Link: builds payment link
README.md - UPI Link → QR Display: encodes link
README.md - QR Display → UPI Apps: opens in
README.md - Collector → Payment Progress: marks payment done
README.md - Payment Progress → Session Control: advances session
README.md - Session Control → Completion Screen: finishes session
README.md - Completion Screen → Payment History: saves completed payment
README.md - Payment History → Browser Storage: persists entries
README.md - Payment Form → Payment History: reuses amount
README.md - Payment Form → Share Menu: offers sharing
README.md - QR Display → Share Menu: offers sharing
README.md - Completion Screen → Share Menu: offers sharing
README.md - Share Menu → Share Targets: shares payment details
app/page.tsx - Theme Setup → Browser Storage: loads theme choice
README.md - Theme Setup → Theme Styles: applies theme
app/layout.tsx