Nacre/README.md
2026-12-02 16:26:01 -06:00

2.7 KiB

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.