Librefolio/LibreFolio
About
LibreFolio is a self-hosted financial portfolio tracker for managing investments, cash accounts, and loans across multiple brokers.
Business & FinanceMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
LibreFolio
Free to understand, free to act.
A self-hosted, open-source financial portfolio tracker.
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
🖼️ Gallery
📸 More Screenshots
Asset Management
Transactions Log & Imports
Forex conversion graph & routes
🤔 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:
- Scroll to the top of this page.
- Click the Watch button (top right).
- Select Custom in the dropdown menu.
- 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.
Create a project directory:
mkdir librefolio && cd librefolioDownload 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 .envStart the application:
docker compose up -d
Access: http://localhost:6040. The first registered user automatically becomes the administrator.
🪶 Image variants:
latestis 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 asX.Y.Z— the full image, screenshots included, documentation fully offline — andX.Y.Z-light. Version tags have nov(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
- New Plugins — LibreFolio uses a Registry & Plugin System with three plugin types:
- 📥 BRIM Plugins — Import from a new broker (CSV/Excel). See 🏦 Supported Brokers for the list of already supported brokers.
- 📈 Asset Plugins — Fetch prices from a new data source. See 📈 Supported Asset Providers for existing providers.
- 💱 FX Plugins — Add a new exchange rate provider. See 💱 Supported Forex Providers for existing providers.
- Chart Signal Plugins — New technical indicators and chart overlays
- UI/UX Ideas — Aesthetic improvements and design suggestions
- Bug Reports — Finding and reporting issues on GitHub Issues
🛠️ How to Contribute Code
- Fork the repository
- Create a branch for your feature or fix
- 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:
⭐ Star on GitHub · 💡 Share Ideas · 🐛 Report Bugs
Explore related projects
Loading…