Skip to content

About

FlowLedger — financial ledger & forecasting platform (.NET 10, Blazor/MudBlazor, EF Core/Postgres, Aspire). Pluggable bank-data providers (MX + simulated).

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

521 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

FlowLedger

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.

What it looks like

Screenshots use 100% synthetic demo data — no real account numbers, no real names, no PII.

Dashboard with balance projection and overdraft warning Dashboard — balance projection chart, summary cards, upcoming flows

Accounts grid Accounts — 6 demo accounts across checking, savings, credit, investment, and mortgage

Transactions grid Transactions — multi-month history with categories, merchants, and filtering

Forecasts chart 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.


What it does

FlowLedger combines four traditionally separate tools into one system:

  1. A spreadsheet-like temporal money plan.
  2. A Mint/Simplifi-style transaction and account aggregator.
  3. An asset, debt, net-worth, and savings planner.
  4. An extensible workflow platform for financial automation.

License

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.

Tech stack

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

Prerequisites

Quick start

Development (Aspire inner loop)

The fast inner loop. Orchestrates API, Worker, Web, Postgres, and Redis with service discovery and a dashboard.

dotnet run --project src/FlowLedger.AppHost

Open 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

Full Stack (Docker Compose, self-hosting / E2E)

cp .env.example .env          # edit POSTGRES_PASSWORD at minimum
docker compose --profile full up --build

See docs/self-hosting/docker-compose.md for the complete guide.

Run tests

All tests except E2E (which require the full stack running):

dotnet test FlowLedger.slnx --filter "Category!=E2E" --configuration Release

Test suite: ~499+ passing tests across unit, integration, BDD, and performance categories.

See docs/development/testing.md for detailed testing guide.

Architecture

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)

Status

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

MX Integration

By default, FlowLedger uses simulated (fake) bank data — no credentials needed.

To enable real MX.com data:

  1. Set Mx__Enabled=true in your .env (or environment).
  2. Set Mx__ApiKey, Mx__ClientId, Mx__BaseUrl, and Mx__WebhookSecret.
  3. Restart the stack.

Full step-by-step walkthrough: docs/architecture/mx-integration.md — Swapping from the Simulated Provider to Real MX.

Self-hosting & production

Security & privacy

Contributing

See CONTRIBUTING.md.

Before your first commit, install the pre-commit hooks to prevent secrets from being committed:

pip install pre-commit && pre-commit install

See Secret Scanning Setup for how to install the pre-commit hooks required before contributing.

Security

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.

About

FlowLedger — financial ledger & forecasting platform (.NET 10, Blazor/MudBlazor, EF Core/Postgres, Aspire). Pluggable bank-data providers (MX + simulated).

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages