spliit
by andibraeu
Spliit is a free and open source Splitwise alternative for sharing expenses with friends and family.
About this chart
Spliit Helm Chart
Helm chart for Spliit, a free and open source Splitwise alternative.
The published image runs Prisma migrations on startup (prisma migrate deploy) and serves the Next.js app on port 3000.
Requirements
Spliit does not bundle a database. You need:
- PostgreSQL 16+ (17 is used in the upstream compose file) with a dedicated database and user
- Network access from the Spliit pod to that database
- Either
postgresql.existingSecret(keysusername/password) orpostgresql.password
Optional:
- S3-compatible storage to attach images to expenses (
config.enableExpenseDocuments) - OpenAI-compatible API for receipt scanning and category suggestions
- Analytics (
consoleorplausible)
There is no built-in user login. Groups are shared via secret URLs.
Installation
helm install spliit ./charts/spliit \
--set postgresql.host=spliit-db-rw \
--set postgresql.password='url-safe-password'
Configuration
External PostgreSQL (CloudNative-PG example)
postgresql:
host: spliit-db-rw
port: 5432
database: spliit
username: spliit
existingSecret: spliit-db-credentials
existingSecretUsernameKey: username
existingSecretPasswordKey: password
The chart builds POSTGRES_PRISMA_URL and POSTGRES_URL_NON_POOLING from those values. Kubernetes expands $(POSTGRES_USER) and $(POSTGRES_PASSWORD), so the password must be URL-safe (no @, :, /, #, ?).
To pass full URLs instead:
postgresql:
host: spliit-db-rw
existingSecret: spliit-db-credentials
existingSecretPrismaUrlKey: POSTGRES_PRISMA_URL
existingSecretNonPoolingUrlKey: POSTGRES_URL_NON_POOLING
Ingress
config:
baseUrl: https://spliit.example.com
defaultCurrencyCode: EUR
ingress:
enabled: true
className: traefik
hosts:
- host: spliit.example.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: wildcard-tls
hosts:
- spliit.example.com
Expense documents and AI features
Prefer existingSecret over plain values for credentials:
config:
enableExpenseDocuments: true
enableReceiptExtract: true
enableCategoryExtract: true
s3:
uploadBucket: spliit
uploadRegion: us-east-1
uploadEndpoint: https://minio.example.com
existingSecret: spliit-optional-secrets
Testing
helm lint charts/spliit
helm template spliit charts/spliit \
--set postgresql.host=spliit-db-rw \
--set postgresql.password=changeme
Deploy spliit with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spliit on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartspliit is pinned at v1.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply