- Rust 79.3%
- Slint 9.6%
- HTML 5.5%
- Python 3.2%
- Shell 2.3%
- Other 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
System WebView, a Kotlin/Compose shell and the Rust crates through UniFFI, with an engine spike as the decision gate. Nothing is built. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019agRhR6VzxsHqt8Fyu7et8 |
||
| .cargo | ||
| .forgejo/workflows | ||
| apps | ||
| assets/brand | ||
| bench | ||
| ci | ||
| crates | ||
| deploy | ||
| design | ||
| docs | ||
| packaging | ||
| spike | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| LICENSE | ||
| README.md | ||
Ferrite
Ferrite is a desktop web browser with a native interface written in Rust and the Chromium engine underneath. It aims to use less memory than Chrome on the same pages and to keep your browsing to yourself.
- Trackers and ads are blocked before they load, in Rust in the browser process (Brave's
adblockengine with EasyList and EasyPrivacy), with no extension needed. Tracking parameters are stripped from links, referrers are trimmed, Global Privacy Control is sent, third-party cookies are blocked. - No telemetry. Nothing leaves the browser that you did not ask for, apart from filter list updates, the update check and sync to your own server, and each of those can be turned off. A CI check (
ci/netaudit.sh) confirms that a fresh profile contacts no one. - Less memory: background tabs unload after a while (15 minutes by default, sooner under memory pressure) and come back where you left them; a restored session loads tabs only when you open them.
- Vertical tabs as a tree, spaces for groups of tabs, a command palette (Ctrl+K), several profiles and private windows.
- Extensions from the Chrome Web Store (uBlock Origin Lite, Bitwarden, Dark Reader, Tampermonkey, React Developer Tools and others; see the compatibility table).
- Bookmark sync through a server you run yourself, end-to-end encrypted: the server never sees a title or a URL.
Status: version 0.1.0, Linux (x86_64). Windows and macOS are planned but not built or tested yet; docs/10-risks-open-questions.md lists what is open and why.
Install on Fedora
Ferrite is published as an RPM in this project's Forgejo package registry. Add the repository once, then install:
sudo dnf config-manager addrepo --from-repofile=https://git.pandanas.net/api/packages/Code-Liberation-Front/rpm/fedora.repo
sudo dnf install ferrite
The package bundles its own copy of the Chromium Embedded Framework under /usr/lib64/ferrite, so it does not depend on a system Chromium. It needs Fedora 44 or later (glibc 2.43). Packages are not signed yet (docs/10).
Other formats (deb for Ubuntu 26.04 and Debian testing, AppImage, Flatpak) are built from the same release; see packaging/README.md.
Run ferrite, or start it from your desktop's menu. Settings, On start offers to make it your default browser.
Build from source
You need Rust (stable, 2024 edition), a C/C++ compiler and CMake (for CEF's wrapper library), and the development headers for fontconfig, freetype, xkbcommon and X11. On Fedora, ci/setup-fedora.sh installs all of them.
ci/fetch-cef.sh # the CEF build matching the pinned cef crate, into ~/.local/share/cef
ln -s ~/.local/share/cef .cef # .cargo/config.toml points the build at this link
cargo run -p ferrite # debug build
cargo build --release -p ferrite # release build (target/release/ferrite)
ci/check.sh # format, lint, all tests
packaging/rpm/build.sh --container # an RPM, built in a Fedora container
CLAUDE.md lists every development command, and docs/ holds the design: architecture, the UI specification, the privacy shield, the sync protocol, budgets and the roadmap.
Faster and lighter than Chrome?
Measured on 2026-11-23 on a Fedora 45 VM (6 cores, no GPU): Ferrite 0.1.0 release build against Chrome for Testing 156 with the same generated page set, served locally (article-sized pages, each from its own site so every tab gets its own process), fresh profiles, medians of 3 runs after a warm-up, both on the same virtual X display. Memory is the proportional set size of every process of the browser, 15 s after the last page loaded.
| Tabs | Metric | Ferrite | Chrome | Difference |
|---|---|---|---|---|
| 1 | Total memory | 381 MiB | 490 MiB | -22% |
| 1 | Window shown | 186 ms | 247 ms | -25% |
| 1 | First page loaded | 259 ms | 293 ms | -12% |
| 1 | All pages loaded | 259 ms | 293 ms | -12% |
| 10 | Total memory | 557 MiB | 713 MiB | -22% |
| 10 | Window shown | 159 ms | 295 ms | -46% |
| 10 | First page loaded | 419 ms | 462 ms | -9% |
| 10 | All pages loaded | 468 ms | 497 ms | -6% |
| 50 | Total memory | 1320 MiB | 1688 MiB | -22% |
| 50 | Window shown | 181 ms | 498 ms | -64% |
| 50 | First page loaded | 471 ms | 1143 ms | -59% |
| 50 | All pages loaded | 1395 ms | 1374 ms | +2% |
| 50, after unload timeout | Total memory | 450 MiB | 1509 MiB | -70% |
Memory: 22% less than Chrome with the same tabs open, and 70% less once background tabs have unloaded. Speed: the window is up in under 200 ms and the page in front loads sooner than in Chrome at every tab count; with 10 tabs opening at once all of them finish sooner too. With 50 at once the last page arrives with Chrome's (2% later, within Chrome's own run-to-run spread): both browsers are then busy creating 50 renderer processes. Since 2026-11-23 each window's tabs are tabs of one embedded Chrome window, as in Chrome; before, each tab was a browser window of its own and opening 50 tabs took 2.4 s (docs/04-performance-memory.md).
Run it yourself: ci/bench.sh (it downloads Chrome for Testing, runs both browsers and checks every target). The harness is bench/bench.py; results are kept in bench/results/.
Sync server
Bookmarks sync through a small server you host (one static binary in a container, SQLite or Postgres). Everything is encrypted on your devices with a key derived from your passphrase (Argon2id, XChaCha20-Poly1305); the server stores only ciphertext and cannot read titles or URLs.
docker compose -f deploy/docker-compose.yml up -d # or: podman-compose
docker compose -f deploy/docker-compose.yml exec sync /sync-server admin create-invite
New accounts need an invite code by default (the second command prints one). Put the server behind a TLS reverse proxy such as Caddy before using it over the internet. Then in Ferrite: Settings, Sync: enter the server address, an account name, a passphrase and the invite code. A second device joins with the same account, or by scanning a pairing QR code from the first. docs/13-sync-deployment.md covers TLS, registration, backups and the admin tool; docs/06-sync-server.md the protocol.
Contributing
- Read
CLAUDE.mdfirst: it has the hard rules (engine code stays behindengine-api, the interface is native, no telemetry, the sync server never sees plaintext,unsafeonly at the FFI boundary) and the commands. - Every change passes
ci/check.sh(rustfmt, clippy with warnings as errors, the tests),ci/a11y.py, the network audit and the tracker test set, and must not break a budget indocs/04-performance-memory.md; the Forgejo workflow in.forgejo/workflows/ci.ymlruns all of them, builds the packages and benchmarks against Chrome on every push. - New dependencies need a one-line reason in the pull request.
- Interface strings are marked for translation;
crates/shell/translations/README.mdexplains how to add a language.
Licence
Ferrite is licensed under the Mozilla Public License 2.0. It bundles the Chromium Embedded Framework (BSD licence; Chromium's third-party notices are in CREDITS.html next to the program), uses Slint under its royalty-free licence, Brave's adblock-rust (MPL-2.0), and ships the English spelling dictionary from SCOWL (packaging/linux/dictionaries/README_en_US.txt). Filter lists are downloaded from their publishers and keep their own licences. The logo is in assets/brand.