Skip to content

Tracks Apartment Expenses with Roommates & Send a broadcast message to Discord when a new expense is created

License

Notifications You must be signed in to change notification settings

Merango/LiveSplitBoard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual Splitwise

A modern web application for visualizing Splitwise group expenses and balances.

Features

  • Interactive bar chart visualization of group member balances
  • Real-time data fetching from Splitwise API
  • Responsive design with mobile-friendly interface
  • Color-coded balance indicators (green for positive, red for negative)
  • Group selection dropdown for easy navigation between different groups

Technologies Used

  • Next.js
  • React
  • Recharts (for data visualization)
  • TypeScript
  • Tailwind CSS

Getting Started

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Set up your environment variables
  4. Run the development server:
    npm run dev

Project Structure

  • /src/app/[locale]/page.tsx - Main application page with visualization
  • /api/splitwise - API endpoint for fetching Splitwise data

Data Structure

The application handles two main types of data:

Group

type Group = {
  id: number;
  name: string;
  members: Member[];
};

Member

type Member = {
  id: number;
  first_name: string;
  last_name: string | null;
  balance: Array<{
    currency_code: string;
    amount: string;
  }>;
};

Contributing

Feel free to submit issues and enhancement requests!

About

Tracks Apartment Expenses with Roommates & Send a broadcast message to Discord when a new expense is created

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.0%
  • JavaScript 2.5%
  • Other 0.5%