Skip to content

LoicSERRE/finalibaba-selfhosted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finalibaba — Self-Hosted

Self-hosted personal wealth dashboard. Track net worth, investments, real estate, loans, and crypto in one place. Open-source alternative to Finary, with built-in French tax calculations (PEA · CTO · Crypto).

License: AGPL-3.0 Docker Next.js


Features

  • Net worth dashboard — gross and net of latent taxes, monthly trend, allocation breakdown
  • All asset types — bank accounts, investments (PEA / CTO / Crypto), real estate, automobiles, loans
  • French tax calculations — latent taxes: PEA 17.2%, CTO 31.4%, Crypto 31.4% (user-configurable)
  • Analytics — savings rate, survival runway, sector exposure, passive income, CAGR per account
  • Automatic sync (optional) — Trade Republic (18 EU countries) · French banks via Woob · GoCardless (2,200+ EU/UK banks)
  • English & French UI — language auto-detected from browser, switchable in Settings
  • 100% self-hosted — your data stays on your server

Tech stack

Layer Technology
Framework Next.js 16 · React 19 · TypeScript
Styling Tailwind CSS v4
Database PostgreSQL 16 · Prisma ORM
Auto-sync Python · FastAPI · pytr · Woob
Charts Recharts
Deployment Docker · Docker Compose

Quick start

Prerequisites: Docker and Docker Compose.

git clone https://github.com/LoicSERRE/finalibaba-selfhosted
cd finalibaba-selfhosted
cp .env.example .env

Edit .env — at minimum set:

POSTGRES_PASSWORD=        # strong random password
NEXTAUTH_SECRET=          # openssl rand -base64 32
docker compose up -d
docker compose exec app npx prisma db seed  # optional — pre-populates common banks

Open http://localhost:3000. First boot takes a few minutes while the image builds.


Account types

All types can be added and updated manually from the UI. Auto-sync is optional.

Type Description Auto-sync
Checking / Savings Bank accounts with balance history Woob (FR banks)
Investment — PEA / CTO Stock and ETF portfolios with live prices Trade Republic
Crypto Cryptocurrency wallets with live prices Trade Republic
Real estate Property with optional mortgage liability
Automobile Vehicle with purchase price
Loan Amortising loan with auto-computed remaining capital
Meal vouchers Ticket Restaurant and similar

Automatic sync (optional)

All sync modules are optional — the app works fully without them. Leave credentials blank to disable a module.

Trade Republic

Available in 18 EU countries: AT, BE, DE, EE, ES, FI, FR, GR, IE, IT, LT, LU, LV, NL, PL, PT, SI, SK.

Set TR_PHONE and TR_PIN in .env. First-time setup (interactive, required once):

docker compose exec -it sync python setup_tr.py
# Approve the notification in the TR app, then enter the 4-digit code

The session persists in a Docker volume. Renew it when it expires (every few weeks).

French banks via Woob

Configure credentials per institution directly from Settings → Institutions. Supports any bank available in the Woob ecosystem.


Securing access

By default the app is open — intended for local networks, VPNs, or a reverse proxy that handles authentication.

Built-in password

AUTH_ENABLED=true
AUTH_PASSWORD=your_password

For better security, use a bcrypt hash instead of a plaintext password:

# Generate a hash
htpasswd -bnBC 10 "" your_password | tr -d ':\n'
AUTH_ENABLED=true
AUTH_PASSWORD_HASH=<generated hash>

Reverse proxy (recommended for internet-facing installs)

Any of these work out of the box:

  • Nginx Proxy Manager — Basic Auth tab
  • Caddybasicauth directive
  • Traefik + Authelia / Authentik — full SSO
  • Cloudflare Access — zero-trust, free up to 50 users

VPN (simplest)

Use Tailscale, WireGuard, or OpenVPN — no auth config needed.


Updating

# Pull pre-built images (recommended)
docker compose pull && docker compose up -d

# Or rebuild from source
git pull && docker compose up -d --build

Migrations are applied automatically on startup.


Roadmap

See ROADMAP.md.

Contributing

Bug reports and pull requests are welcome. See CONTRIBUTING.md.

License

AGPL-3.0 — free to self-host and modify. If you run a modified version as a network service, you must publish your changes under the same license.

About

Self-hosted personal wealth dashboard — net worth, investments (PEA/CTO/crypto), real estate and loans. Open-source Finary alternative with French tax calculations. One docker compose up.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors