Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

745 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 Docker Registry GitHub stars


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/


🖼️ 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.

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.


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

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages