selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Ghostfolio logo

Self-host Ghostfolio

3.100.0

Open-source wealth management dashboard

ReleaseOpen SourceAGPL-3.0
Updated2 days ago
LanguageTypescript
Setup difficultyModerate
MobilePWA
ThemeDark mode
Stars
9 716
Port
3333 (Ghostfolio web UI and API (compose maps 3333:3333))
Requires
PostgreSQL
Docker
ghostfolio/ghostfolio
Install with Docker Compose
The Ghostfolio app open on a phone

What is Ghostfolio?

Ghostfolio is an open-source wealth management web application that lets private investors track stocks, ETFs, bonds, cryptocurrencies and other holdings without giving up their data. Transactions can be created, updated, deleted and imported in bulk, spread across many accounts and platforms, and the app turns them into portfolio performance figures (return on average investment including dividends for today, week, month, year, 5 years and all time), allocation breakdowns, charts, a static risk analysis, a watchlist, dividend tracking, liabilities and a FIRE calculator. You self-host it with Docker Compose from an official image on Docker Hub alongside PostgreSQL and Redis; the first account created becomes the administrator, and optional OpenID Connect sign-in and an experimental MCP endpoint for AI clients are available through environment variables. A public REST API covers health checks, portfolio import/export and asset-profile updates. The software is free and AGPL-3.0 licensed; the optional Ghostfolio Premium subscription adds the managed cloud offering and the professional data provider, and the self-hosted version has no app-store mobile app but works as a progressive web app.

Ghostfolio alternatives

Should you self-host Ghostfolio?

Ghostfolio scores 74/100 on selfhost.directory (how scoring works) and ranks #4 of 63 in Personal Finance. It has 9 716 GitHub stars, +270 in the last 30 days.

It shipped 110 stable releases in the past year. The latest, 3.100.0, came out on 15 November 2026. New versions land roughly every 1 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Sure (86/100, 16 050 stars). It scores higher overall, so compare the two before you pick. See Ghostfolio vs Sure side by side.

Features

  • Data Import and Export
  • Dividend tracking
  • FIRE calculator
  • Liabilities and wealth items tracking
  • MCP server for AI clientsExperimental, disabled by default (ENABLE_FEATURE_MCP).
  • Multi-account Management
  • Multi-language UI
  • Performance benchmarks
  • Portfolio allocation analysis
  • Portfolio performance metrics
  • REST API
  • Static portfolio analysis
  • Transaction tracking
  • WatchlistListed on the features page next to a Ghostfolio Premium marker.
  • Zen Mode

Ghostfolio README

Ghostfolio logo

Ghostfolio

Open Source Wealth Management Software

Ghostfol.io | Live Demo | Ghostfolio Premium | FAQ | Blog | LinkedIn | Slack | X

Shield: Buy me a coffee Shield: Contributions Welcome Shield: Docker Pulls Shield: License: AGPL v3

Ghostfolio is an open source wealth management software built with web technology. The application empowers busy people to keep track of stocks, ETFs or cryptocurrencies and make solid, data-driven investment decisions. The software is designed for personal use in continuous operation.

Preview image of the Ghostfolio video trailer

How to install Ghostfolio

Install Ghostfolio with Docker Compose

PostgreSQL and Redis
Environment variables
ACCESS_TOKEN_SALT, DATABASE_URL, DIRECT_URL, JWT_SECRET_KEY, POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, REDIS_HOST, REDIS_PORT, REDIS_PASSWORD
Prerequisites
  • Basic knowledge of Docker
  • Installation of Docker
  • Create a local copy of this Git repository (clone)
  • Copy the file .env.example to .env and populate it with your data (cp .env.example .env)
a. Run environment

Run the following command to start the Docker images from Docker Hub:

docker compose -f docker/docker-compose.yml up -d
Setup
  1. Open http://localhost:3333 in your browser
  2. Create a new user via Get Started (this first user will get the role ADMIN)

How to configure Ghostfolio

  • ACCESS_TOKEN_SALTRandom string used as salt for access tokens.

    values: string

  • API_KEY_COINGECKO_DEMOCoinGecko Demo API key.

    values: string (optional)

  • API_KEY_COINGECKO_PROCoinGecko Pro API key.

    values: string (optional)

  • DATABASE_URLDatabase connection URL; use the pooled URL when a connection pooler sits in front.

    values: e.g. postgresql://user:password@localhost:5432/db

  • DIRECT_URLDirect database URL for the Prisma CLI (migrations, seeding), bypassing poolers; falls back to DATABASE_URL.

    values: string (optional)

Ghostfolio releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Is there a mobile app for the self-hosting version of Ghostfolio available in the app store?

No, the self-hosted version has no app-store app, but you can add the web app to your home screen for the same experience.

Which devices are supported?

Ghostfolio runs in any modern web browser on smartphones, tablets and desktop computers.

How do I set up Markets?

Also done in Market Data by ticking Include in Benchmark / Markets for an asset profile; because data is cached, changes can take a few minutes to show up.

How do I add a custom asset?

Create an asset profile manually with a unique symbol in Market Data, edit it, and then add activities by searching for that symbol.

How do I set up a benchmark?

In the Admin Control panel under Market Data, pick an asset profile and tick the Include in Benchmark / Markets box.

Will you add data provider X?

There are no plans to extend the core data providers, but you can usually pull data from a chosen website via the MANUAL data source with a scraper configuration.

Can I get access to a professional data provider?

Yes, a Ghostfolio Premium subscription includes access to the professional data provider through an API key.

Which data providers are supported?

CoinGecko, Ghostfolio, Manual and Yahoo are officially supported; every other data provider counts as experimental.

How do I add a new tag?

Open the Admin Control panel, go to the Settings section and click the Add Tag button.

How do I add a new platform?

Open the Admin Control panel, go to the Settings section and click the Add Platform button.

What is the concept of platforms?

Platforms group several accounts, such as a savings and a trading account at the same bank, giving a unified icon and platform-specific risk insights.

How do I resolve No exchange rate has been found errors?

You are responsible for historical exchange rates: in the Admin Control panel's Market Data section, find the currency pair and gather its historical market data (for derived currencies, gather the parent currency).

How do I add a new currency?

Currencies are managed automatically from recorded activities; an extra one can be entered manually in the Admin Control panel under Market Data.

Which home server systems is Ghostfolio available on?

Community packages exist for CasaOS, Easypanel, Home Assistant, Runtipi, TrueCharts, Umbrel and Unraid.

How do I start?

Run Ghostfolio on your own infrastructure using the source code and the self-hosting instructions in the GitHub repository.

More in Personal Finance

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…