Know where your money went, where it is going, and when your plans become possible.
FlowLedger is a FOSS-first, self-hostable, cloud-native personal finance platform for forecasting, budgeting, asset tracking, transaction intelligence, and extensible money workflows.
Screenshots use 100% synthetic demo data — no real account numbers, no real names, no PII.
Dashboard — balance projection chart, summary cards, upcoming flows
Accounts — 6 demo accounts across checking, savings, credit, investment, and mortgage
Transactions — multi-month history with categories, merchants, and filtering
Forecasts — projected running balance with low-water-mark detection
See the full user guide for all pages including Money Plan and Recurring Flows. New here? Follow the first-30-minutes onboarding and FAQ, then see the advanced user guide (Spending, Categories, Rules, Budgets, Goals, Debt, Investments, Reports, Ask, Bill Sheet, Data & Backups, Linked logins). Operators inviting other people: work through the onboarding checklist first.
FlowLedger combines four traditionally separate tools into one system:
- A spreadsheet-like temporal money plan.
- A Mint/Simplifi-style transaction and account aggregator.
- An asset, debt, net-worth, and savings planner.
- An extensible workflow platform for financial automation.
AGPL-3.0-only — free and open source. The self-hosted version is first-class, not a crippled community edition.
AGPL section 13 note for operators: if you modify FlowLedger and let users interact with it over a network, you must offer those users the corresponding source of your modified version. Running unmodified releases carries no extra obligation. Third-party licences are listed in THIRD-PARTY-NOTICES.md.
| Layer | Technology |
|---|---|
| Runtime | .NET 10, C# 14, ASP.NET Core 10 |
| Orchestration | .NET Aspire 13.4 |
| Frontend | Blazor Web App (interactive auto), MudBlazor 9 |
| API | ASP.NET Core Minimal APIs, vertical slices |
| Database | PostgreSQL 15+ only (EF Core 10 + Npgsql); no SQLite or other engines |
| Cache / locks | Redis |
| Scheduler | Quartz.NET |
| Identity / Auth | External OIDC provider for the Web UI sign-in (see multi-user-auth); API key between services. OpenIddict is not used (ADR 0001) |
| Testing | xUnit, FluentAssertions, Testcontainers, Playwright E2E, TinyBDD, PatternKit.Core (dogfooded) |
| Observability | OpenTelemetry, Aspire dashboard |
| Security | CodeQL, Dependabot, SCA via dotnet list package --vulnerable |
| CI / CD | GitHub Actions |
- .NET 10 SDK
- Docker Desktop (or Podman)
The fast inner loop. Orchestrates API, Worker, Web, Postgres, and Redis with service discovery and a dashboard.
dotnet run --project src/FlowLedger.AppHostOpen the Aspire dashboard at https://localhost:15888 to see all services and their logs.
| URL | Purpose |
|---|---|
| https://localhost:15888 | Aspire dashboard |
| https://localhost:5001 | FlowLedger API |
| https://localhost:5002 | FlowLedger Web |
cp .env.example .env # edit POSTGRES_PASSWORD at minimum
docker compose --profile full up --buildSee docs/self-hosting/docker-compose.md for the complete guide.
All tests except E2E (which require the full stack running):
dotnet test FlowLedger.slnx --filter "Category!=E2E" --configuration ReleaseTest suite: ~499+ passing tests across unit, integration, BDD, and performance categories.
See docs/development/testing.md for detailed testing guide.
FlowLedger uses a modular monolith with vertical slice feature organization and clean architecture dependency direction.
src/
FlowLedger.AppHost/ # Aspire orchestration
FlowLedger.ServiceDefaults/ # Shared OpenTelemetry, health checks, service discovery
FlowLedger.Api/ # ASP.NET Core Minimal API (vertical slices)
FlowLedger.Web/ # Blazor Web App (server)
FlowLedger.Worker/ # Background worker host (Quartz jobs)
FlowLedger.Application/ # Vertical slice handlers, validators
FlowLedger.Domain/ # Domain model, aggregates, value objects, events
FlowLedger.Infrastructure/ # EF Core, Npgsql, Redis, object storage
FlowLedger.SharedKernel/ # Shared interfaces (ITenantContext, IObjectStorage, etc.)
FlowLedger.Integrations.Mx/ # MX financial data aggregation boundary
FlowLedger.Plugins.Abstractions/ # Plugin surface interfaces
tests/
FlowLedger.Domain.Tests/
FlowLedger.Application.Tests/
FlowLedger.Architecture.Tests/
Dependency direction (enforced by architecture tests):
Web / Api / Worker -> Application -> Domain
Infrastructure -> Application abstractions + Domain
Integrations -> Application abstractions + Domain contracts (never the reverse)
Phases 1–8 complete. All core features implemented and verified green.
| Phase | Status | Coverage |
|---|---|---|
| 0 — Repo foundation | ✅ Complete | Aspire, CI, multi-run modes |
| 1 — Core domain | ✅ Complete | Money, Account, Transaction, RecurringFlow domain model |
| 2 — Persistence & APIs | ✅ Complete | EF Core, Npgsql, CRUD endpoints |
| 3 — Money Plan | ✅ Complete | Spreadsheet view, running balances, row statuses |
| 4 — Forecasting | ✅ Complete | Deterministic forecast engine, goal affordability |
| 5 — Imports & matching | ✅ Complete | RFC-4180 CSV, transaction matching |
| 6 — Goals & reports | ✅ Complete | Savings goal tracking, low-water marks, overdraft warnings |
| 7 — MX integration | ✅ Complete | Bank aggregation, feature-flagged, webhook sync |
| 8 — Final release | ✅ Complete | Performance gates, security CI, docs, full green sweep |
By default, FlowLedger uses simulated (fake) bank data — no credentials needed.
To enable real MX.com data:
- Set
Mx__Enabled=truein your.env(or environment). - Set
Mx__ApiKey,Mx__ClientId,Mx__BaseUrl, andMx__WebhookSecret. - Restart the stack.
Full step-by-step walkthrough: docs/architecture/mx-integration.md — Swapping from the Simulated Provider to Real MX.
- Docker Compose setup: docs/self-hosting/docker-compose.md
- Production hardening, TLS, and secret rotation: docs/self-hosting/production.md
- Database operations (TLS, pooling, RPO/RTO, Postgres major upgrade): docs/self-hosting/database.md
- Backups and recovery: docs/self-hosting/backups-and-recovery.md
- Runbooks (incident, key rotation, restore, provider outage, SLO notes): docs/runbooks/
- Architecture decisions: docs/adr/
- Upgrading and rolling back: docs/self-hosting/upgrading.md
- Service objectives and capacity: docs/self-hosting/slo-and-capacity.md
- Observability and sample alerts: docs/self-hosting/observability.md
- Threat model and SECURITY.md
- Data inventory, retention and subprocessors
- Runbooks: incident response, key rotation, restore, provider outage
- Changelog
See CONTRIBUTING.md.
Before your first commit, install the pre-commit hooks to prevent secrets from being committed:
pip install pre-commit && pre-commit installSee Secret Scanning Setup for how to install the pre-commit hooks required before contributing.
See SECURITY.md for the vulnerability disclosure policy, the threat model and the data inventory and retention (including what cannot yet be deleted).
Secret-leak prevention (pre-commit hooks + CI scanning) is documented in docs/development/secret-scanning.md.