Skip to content

About

LibreFolio is a self-hosted financial portfolio tracker for managing investments, cash accounts, and loans across multiple brokers.

Topics

Resources

Stars

28 stars

Watchers

2 watching

Forks

Latest commit

ย 

History

2,569 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

LibreFolio Logo

LibreFolio

Free to understand, free to act.
A self-hosted, open-source financial portfolio tracker.

Buy Me a Coffee

Build Status License: AGPL v3 Changelog GitHub stars GHCR downloads


Bring all your investments into one private, secure dashboard. Track stocks, ETFs, crypto, bonds, and loans across multiple brokers โ€” with automated pricing, FX conversion, and technical analysis tools.

Your data stays on your server. No third-party cloud. No tracking.

๐Ÿ“š Full Documentation: https://librefolio.github.io/LibreFolio/

๐Ÿ“‹ What's new: Changelog ยท Releases


Star History

Star History Chart


๐Ÿ–ผ๏ธ Gallery

LibreFolio Dashboard

๐Ÿ“ธ More Screenshots

Asset Management

Asset List

Transactions Log & Imports

Transactions List

Forex conversion graph & routes

Forex Pairs and Rates

๐Ÿค” Why LibreFolio?

LibreFolio is built to solve common issues found in existing portfolio tracking tools:

  • ๐Ÿ”’ Verifiable Security & Privacy: Your financial data belongs to you. Since LibreFolio is fully open-source, its code is auditable by anyone, ensuring complete transparency with no hidden tracking, telemetries, or silent data collection.
  • ๐Ÿงฎ Open & Transparent Calculations: Traditional trackers use black-box formulas. LibreFolio calculates cost basis (FIFO and WAC) and ROI (TWRR and MWRR) at runtime with completely open-source, verifiable formulas.
  • ๐Ÿฆ Broad Broker & Data Integration: Easily import statement files from a wide range of supported brokers and keep your assets updated with price quotes from various market data providers and forex rates sources.
  • ๐Ÿค– AI-Assisted Portfolio Analysis: Export your anonymized portfolio data to leverage AI models for custom performance analysis, risk assessments, and allocation insights. This is a core focus area of our roadmap and will be continuously enhanced.

๐Ÿ“ข Stay Updated on LibreFolio Progress

If you want to follow the development and get notified about new features, updates, and releases, set up an alert in 10 seconds:

  1. Scroll to the top of this page.
  2. Click the Watch button (top right).
  3. Select Custom in the dropdown menu.
  4. Check Releases and click Apply.

You will receive an automatic notification directly on GitHub whenever a new version is released!


๐Ÿš€ Quick Start

๐Ÿณ Docker Installation (Recommended for Users)

Run LibreFolio using the official pre-built image. No development tools or compilers required.

Prerequisites: Docker & Docker Compose installed.

  1. Create a project directory:

    mkdir librefolio && cd librefolio
  2. Download the configuration files:

    # Using curl:
    curl -L https://raw.githubusercontent.com/Librefolio/LibreFolio/main/docker-compose.prod.yml -o docker-compose.yml
    curl -L https://raw.githubusercontent.com/Librefolio/LibreFolio/main/.env.example -o .env
    
    # Or using wget:
    wget https://raw.githubusercontent.com/Librefolio/LibreFolio/main/docker-compose.prod.yml -O docker-compose.yml
    wget https://raw.githubusercontent.com/Librefolio/LibreFolio/main/.env.example -o .env
  3. Start the application:

    docker compose up -d

Access: http://localhost:6040. The first registered user automatically becomes the administrator.

๐Ÿชถ Image variants: latest is the light image: the same application without the documentation screenshots, which load on demand from the online docs site (so viewing them requires an internet connection); the documentation text pages are still bundled. Each release is also published as X.Y.Z โ€” the full image, screenshots included, documentation fully offline โ€” and X.Y.Z-light. Version tags have no v (e.g. 1.1.0). See Image Variants.

For complete guide, auto-updates (Watchtower), and backups, see the ๐Ÿณ User Installation Manual.

๐Ÿ’ป Host Installation (Local Development)

Prerequisites: Python 3.13+, Pipenv, Node.js 24+

git clone https://github.com/Librefolio/LibreFolio.git
cd LibreFolio

pipenv install --dev
pipenv shell

./dev.py install        # Install all dependencies (backend + frontend)
cp .env.example .env    # Configure environment
./dev.py db upgrade     # Run database migrations
./dev.py server         # Start development server

Access: http://localhost:6040 โ€” API Docs: http://localhost:6040/api/v1/docs

./dev.py --help shows all available commands.

For full host setup and administration details, see the ๐Ÿ’ป Host Installation Guide and the Developer Workflow.

๐Ÿ—๏ธ Advanced Docker (Build from Source)

Build your own custom Docker image from the source code.

Prerequisites: Python 3.13+, Pipenv, Node.js 24+, and Docker.

git clone https://github.com/Librefolio/LibreFolio.git
cd LibreFolio

cp .env.example .env       # Configure environment
./dev.py docker build      # Build custom image (builds frontend + docs)
docker compose up -d       # Start container

Access: http://localhost:6040

For advanced deployment options, reverse proxy configurations, and test mode, see the ๐Ÿ—๏ธ Advanced Docker Guide.

๐Ÿค Contribute

LibreFolio values every form of contribution equally โ€” code, ideas, and donations all drive the project forward.

๐Ÿ’ก High-Impact Contributions

๐Ÿ› ๏ธ How to Contribute Code

  1. Fork the repository
  2. Create a branch for your feature or fix
  3. Submit a Pull Request with a clear description

See the Developer Manual for architecture, conventions, and testing guidelines.

๐Ÿ“„ License

LibreFolio is licensed under GNU Affero General Public License v3.0 (AGPL-3.0). You can use, modify, and distribute it freely โ€” if you distribute modifications (including over a network), you must release your source under AGPL-3.0.

See LICENSE for the full text and the Credits & Legal page for details.

LibreFolio builds on excellent open-source work released under permissive licenses โ€” QuantLib, Riskfolio-Lib, TA-Lib, pandas-ta-classic and many more. See THIRD_PARTY_LICENSES.md for the full attribution list.


If LibreFolio helps you manage your investments, consider supporting its development:

Buy Me a Coffee

โญ Star on GitHub ยท ๐Ÿ’ก Share Ideas ยท ๐Ÿ› Report Bugs

About

LibreFolio is a self-hosted financial portfolio tracker for managing investments, cash accounts, and loans across multiple brokers.

Topics

Resources

Stars

28 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages