A web browser for Linux built on WebKitGTK, with an egui Material You interface.
  • Rust 89.1%
  • HTML 4%
  • Python 3.7%
  • Shell 3.1%
  • Nix 0.1%
Find a file

Nacre

A web browser for Linux, written in Rust. Pages run in WebKitGTK 6.0 inside a GTK 4 window, and the browser's own interface (tabs, address bar, menus, settings pages) is drawn with egui in a Material You style that follows your desktop colours.

  • Tabs, windows and incognito windows, session restore, reopen closed tabs, find in page, per-site zoom, full screen, picture in picture, Web Inspector.
  • Built-in ad blocker (adblock-rust filter lists), HTTPS-only mode, privacy switches, permissions per site.
  • Bookmarks, history, downloads, a password and address vault, import from Chromium and Firefox browsers and from the old Python Nacre, cookies.txt export.
  • Profiles, a customisable new tab page, rebindable keyboard shortcuts.

Linux only: WebKitGTK has no Windows or macOS build.

Install

Downloads are on the Releases page. Check them against SHA256SUMS-<version>.

  • Arch Linux: sudo pacman -U Nacre-<version>-arch-x86_64.pkg.tar.zst (package nacre-bin; remove it with sudo pacman -R nacre-bin). packaging/arch-bin/PKGBUILD builds the same package from the release. To build from this checkout instead: ./install.sh (package nacre).
  • Debian, Ubuntu and other apt systems: sudo apt install ./Nacre-<version>-amd64.deb. Needs WebKitGTK 6.0 and a glibc as new as the one named in the package (recent releases only).
  • Nix: nix profile install git+https://astar76.com/git/astar76/Nacre (flake), or callPackage ./packaging/nix { }.
  • Any distribution: unpack Nacre-<version>-Linux-x86_64.tar.gz and run sh install.sh (your home, ~/.local, no root) or sh install.sh --system (/usr/local). sh uninstall.sh removes it; --purge also deletes your profiles and data.
  • AppImage: chmod +x Nacre-<version>-x86_64.AppImage and run it. WebKitGTK 6.0 and GStreamer come from your system; they are not bundled.

Runtime needs: webkitgtk-6.0, gtk4, GStreamer with the base, good, bad and libav plugins, pam, dbus. Optional: libnotify, xdg-desktop-portal (file pickers), gnome-keyring (keeps the cookie key).

Your data

  • ~/.config/nacre-browser/: profiles and their settings
  • ~/.local/share/nacre-browser/<profile>/: history, bookmarks, vault, session, site data
  • ~/.cache/nacre-browser/<profile>/: filter lists, favicons, dictionaries

Build

nice cargo build --release -j 2        # target/release/nacre and libnacre_webext.so
tools/package.sh                       # release files in dist/: tar.gz, AppImage, Arch package, .deb, SHA256SUMS

Needs Rust, pkgconf and the WebKitGTK 6.0 and GTK 4 development files. Design notes are in docs/.

Licence

MPL-2.0, see LICENSE.

Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-02 16:26:01 -06:00
assets Recolour app icon away from purple 2026-11-26 14:05:45 -06:00
docs Move Astar Hub links to astar76.com 2026-12-02 16:26:01 -06:00
packaging Move Astar Hub links to astar76.com 2026-12-02 16:26:01 -06:00
Plans Google sign-in loads again: the Firefox user agent swap is removed (D-053); packaging docs (D-054), S054 interaction checks 2026-11-25 00:09:02 -06:00
src Move Astar Hub links to astar76.com 2026-12-02 16:26:01 -06:00
tests Import from the old Nacre (passwords too); Save and share exports cookies.txt 2026-11-25 03:04:25 -06:00
tools Move Astar Hub links to astar76.com 2026-12-02 16:26:01 -06:00
webext 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE 2026-11-26 18:23:05 -06:00
.gitignore 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE 2026-11-26 18:23:05 -06:00
build.rs S045: GTK4 host with WebKitGTK views, egui overlay, engine module; Servo and winit removed 2026-11-13 02:39:02 -06:00
Cargo.lock 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE 2026-11-26 18:23:05 -06:00
Cargo.toml 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE 2026-11-26 18:23:05 -06:00
CLAUDE.md 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE 2026-11-26 18:23:05 -06:00
flake.nix 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE 2026-11-26 18:23:05 -06:00
install.sh Packaging: Arch PKGBUILD, install.sh, desktop entry and icon 2026-11-24 23:17:34 -06:00
installer.sh 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE 2026-11-26 18:23:05 -06:00
LICENSE 0.4.1: release packages (AppImage, tar.gz, nacre-bin, .deb, Nix), README, LICENSE 2026-11-26 18:23:05 -06:00
ORCHESTRATOR.md S000: workflow scaffold 2026-11-11 17:09:29 -06:00
PLAN.md plans: fix round S059–S066 (tab lifecycle, PiP, site menus, memory saver, nacre:// lockdown, history flyout, custom manager, alignment) 2026-11-18 00:52:12 -06:00
README.md Move Astar Hub links to astar76.com 2026-12-02 16:26:01 -06:00