Expense splitting app for small groups, or anyone sharing costs
5.6K
A lightweight, open-source expense splitting application designed for couples and two-person households. SplitDuo provides a simple, self-hosted alternative to existing solutions like Splitwise and Cospend.
git clone https://github.com/yourusername/splitduo.git
cd splitduo
docker compose up -d
http://localhost:3000admin@localhostchangeme⚠️ Important: Change the JWT secret key and admin password in production!
Edit docker-compose.yml or set environment variables:
Security (Required for Production):
SD_JWT_SECRET_KEY: your-super-secret-jwt-key-change-this-in-production
SD_INITIAL_USER_PASSWORD: changeme123
Database:
SD_DB_HOST: postgres
SD_DB_NAME: splitduo
SD_DB_USERNAME: splitduo
SD_DB_PASSWORD: splitduo
Application:
SD_BASE_URL: http://localhost:3000
SD_ENVIRONMENT: Production
Email (Optional):
SD_EMAIL_SMTP_HOST: localhost
SD_EMAIL_SMTP_PORT: 587
SD_EMAIL_SMTP_USERNAME: ""
SD_EMAIL_SMTP_PASSWORD: ""
SD_EMAIL_SSL: "false"
Backend (.NET 10):
cd sd-backend
dotnet restore
dotnet run --project SplitDuo.Api
Frontend (Vue.js/Nuxt):
cd sd-frontend
npm install
npm run dev
cd sd-backend
dotnet ef migrations add <MigrationName> --project SplitDuo.Api
dotnet ef database update --project SplitDuo.Api
Base URL: http://localhost:3000/api/v1
Core Endpoints:
/auth - Authentication (login, refresh, revoke)/users - User management/groups - Group and membership management/expenses - Expense tracking with split calculations/settlements - Payment recording between users/balances - Balance calculations and settlement suggestionsMIT License
Content type
Image
Digest
sha256:06584032b…
Size
87.8 MB
Last updated
about 2 months ago
docker pull j1mm0/splitduo