Skip to content

firefox-sync

Self-hosted Firefox Sync server stack for people who want bookmarks and passwords off

Copyleft (OSI) · GPL-3.0

Listed by , founder & editor

61

Health

Active

Overview

Stars

120

Last commit

today

Nov 2026

Repository age

2 years

since Jul 2024

Latest version

v2026.11.23

Nov 2026

Contributors

–

3 active in 90 days

Releases

8

last 12 months

Language

Shell

This project packages Mozilla's open source Sync backend so you can run it yourself. It builds images from Mozilla's syncstorage-rs and tokenserver code with few changes, tests them against each supported database, and adds the pieces around them. Firefox encrypts the data before it leaves your device, so your bookmarks, passwords, history and tabs sit on your own server.

You can run it with Docker Compose, rootless Podman with Quadlets, or a Helm chart on Kubernetes. It works with MariaDB, MySQL or PostgreSQL, either in containers or on a server you already have. Images are published for amd64 and arm64 after the tests pass.

Extras include an admin UI with accounts, storage, health checks, an event log and Prometheus metrics. You get invite-only access, nightly database backups, and alerts by email, Slack, Discord, Teams, ntfy, Gotify, Telegram, Matrix or webhook. You can also host the Mozilla accounts yourself, so no Mozilla server is involved. That mode needs four HTTPS host names, 3-4 GB of RAM and an SMTP server. It replaces the hosted Mozilla sync service.

Who it's for

Homelab users who already run Docker or Podman

A compose file and a setup script get Sync running behind your existing reverse proxy.

Skip if: You want a service that Mozilla supports and maintains for you.

Privacy-minded Firefox users

Sync data and, optionally, the accounts stay on hardware you control.

Skip if: You cannot maintain a server with HTTPS and backups.

Kubernetes operators

A Helm chart covers Kubernetes 1.27 or later with your choice of database.

Skip if: You only need a single-user setup and have no cluster.

The problem it solves

Mozilla publishes its Sync server code but offers no supported way to run it yourself. That leaves your bookmarks, passwords and history on Mozilla's servers. This project gives you a tested way to host them on your own.

Strengths

  • Runs on Docker Compose, rootless Podman or a Helm chart
  • Supports MariaDB, MySQL and PostgreSQL
  • Images for amd64 and arm64, published only after tests pass
  • Admin UI with Prometheus metrics and nightly database backups
  • Optional self-hosted Mozilla accounts with invite or allowlist access

Trade-offs

  • Not endorsed or supported by Mozilla
  • Under development, with breaking changes possible
  • Self-hosted accounts need four HTTPS host names, an SMTP server and 3-4 GB of RAM
  • You should not rely on it as your only copy of important data

Self-host firefox-sync

Self-hostable
Yes
Docker Compose
The repository ships a Compose file
Kubernetes
Helm chart available

Quick start

git clone https://github.com/porelli/firefox-sync.git
cd firefox-sync
./prepare_environment.sh
docker compose up -d

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. It is licensed under GPL-3.0 and you run it on your own server.

Can I self-host it?

Yes, that is its purpose. You can use Docker Compose, rootless Podman or Helm on Kubernetes.

Can I host the Mozilla accounts too?

Yes, optionally. That setup needs four HTTPS host names, 3-4 GB of RAM and an SMTP server.

Which databases work?

MariaDB, MySQL and PostgreSQL, in containers or on a server you already run.

Can I move from another Sync server?

The documentation has a migration section for moving from another Sync server.

Similar tools in Browser extensions

KeKeio_Tab

Browser extensions

100 3 months ago Dormant MIT

ToS;DR

Browser extensions

74 4 2 years ago Dormant MIT

opencapture

Browser extensions

Browser extension for full-page screenshots and local annotation on Chrome, Edge and

62 5 28 days ago Slowing AGPL-3.0

Replaces Gofullpage

slop-filter

Browser extensions

27 1 2 months ago Active MIT