LibreWolf - Source Archive
  • Fluent 65.8%
  • Shell 6.6%
  • Python 5.9%
  • HTML 5.8%
  • JavaScript 5.3%
  • Other 10.6%
Find a file
any1here 3d6fd18bca
Some checks failed
Create Test Builds / detect-version (push) Successful in 21s
Create Test Builds / test-windows (push) Has been skipped
Create Test Builds / test-macos (push) Has been skipped
Create Test Builds / test-linux (push) Failing after 53s
Updated settings submodule to the latest version
2026-01-17 12:11:45 +01:00
.forgejo/workflows Fix task output 2026-01-14 07:49:14 +01:00
.vscode Syntax highlighting for vscode 2025-01-18 14:04:48 +01:00
.woodpecker.release verify sha512sum exists 2023-11-04 16:04:17 +00:00
assets Update uBlock Origin assets per latest upstream changes - a0a7a99675 + d3024ac309 2026-01-14 01:40:24 -05:00
browser/preferences remove ocsp 2025-12-06 19:41:16 +01:00
docs Preserving output for what's valid in mozconfig 2023-10-21 15:09:41 +02:00
l10n Added translation using Weblate (Catalan) 2025-11-17 20:03:42 +00:00
patches Revert "Fix xml issue and duplicate preference registration" 2026-01-16 18:20:05 +01:00
scripts Added better target/version selection. Automatically test against beta/rc. 2026-01-14 07:49:14 +01:00
settings@2982d452e9 Updated settings submodule to the latest version 2026-01-17 12:11:45 +01:00
themes/browser Migrate all project URLs from GitLab to Codeberg 2026-01-04 14:36:55 +01:00
.gitignore inbetween commits 2022-01-08 22:55:25 +01:00
.gitmodules Added settings submodule 2023-11-14 19:53:25 +01:00
LICENSE Add LICENSE 2021-11-19 17:42:30 +00:00
Makefile Fixed gpg key import 2026-01-14 12:15:14 +01:00
README.md Update reference to bsys6 2026-01-09 15:37:38 +01:00
release bump to 146.0.1-1; update settings submodule 2025-12-18 21:10:16 +01:00
version Bump version to 147.0.1 2026-01-16 18:28:05 +01:00

LibreWolf Source Repository

This repository contains all the patches and theming that make up LibreWolf, as well as scripts and a Makefile to build LibreWolf. There also is the Settings repository, which contains the LibreWolf preferences.

LibreWolf overview

graph LR
    FFSRC(Firefox Source)

    FFSRC--Tarball--->Source

    subgraph librewolf-community/
    Settings(Settings)--"librewolf.cfg<br>policies.json"-->Source
    Website(Website<br><br>- Documentation<br>- FAQ)
    subgraph browser/
        Source(Source<br><br>- Patches<br>- Theming<br>- Build scripts)
        bsys6(bsys6<br><br>New Docker building<br>repository)
        AppImage
        Arch
    end
    end
    Website-->librewolf.net
    Source--"Source tarball"-->bsys6
    AppImage--".appimage"-->librewolf.net
    bsys6--"Windows setup.exe"--->librewolf.net
    bsys6--"Windows portable.zip"--->librewolf.net
    bsys6--"Windows .msix"--->MS("Microsoft Store")
    bsys6--"Windows .nupkg"--->Chocolatey
    bsys6--"Linux binary tarball"--->Flathub
    bsys6--"Linux binary tarball"--> AppImage
    bsys6--"Linux .deb"--->repo.librewolf.net
    bsys6--"Linux .rpm"--->repo.librewolf.net
    bsys6--"Linux binary tarball for 'librewolf-bin'"--> Arch
    Source--"Source tarball for 'librewolf'"-->Arch
    Arch-->AUR

Active repositories and projects

List of browser build sub projects. These are the locations where people have their repositories and build artifacts.

Currently active build repositories:

  • Arch: Arch Linux package
  • Bsys6: .deb/.rpm for Mint, Fedora, Ubuntu; .dmg for MacOS; portable/setup for Windows.
  • Gentoo: Gentoo package

Downstream distribution packages:

Previous forks:

LibreWolf build instructions

There are two ways to build LibreWolf. You can either use the source tarball or compile directly with this repository.

Building from the Tarball

First, let's download the latest tarball. This tarball is the latest produced by the CI. You can also check the sha256sum of the tarball there.

tar xf <tarball>
cd <folder>

Then, you have to bootstrap your system to be able to build LibreWolf. You only have to do this one time. It is done by running the following commands:

./mach --no-interactive bootstrap --application-choice=browser
./lw/setup-wasi-linux.sh

Finally you can build LibreWolf and then package or run it with the following commands:

./mach build
./mach package
# OR
./mach run

Building with this Repository

First, clone this repository with Git:

git clone --recursive https://codeberg.org/librewolf/source.git librewolf-source
cd librewolf-source

Next, build the LibreWolf source code with the following command:

make dir

After that, you have to bootstrap your system to be able to build LibreWolf. You only have to do this one time. It is done by running the following command:

make bootstrap

Finally you can build LibreWolf and then package or run it with the following commands:

make build
make package
# OR
make run

Translations

We use Weblate to localize all LibreWolf-specific strings. You can help us by translating LibreWolf into your language at https://translate.codeberg.org/engage/librewolf. Here is the current translation status:

Translation status

Development Notes

How to make a patch

The easiest way to make patches is to go to the LibreWolf source folder:

cd librewolf-$(cat version)
git init
git add <path_to_file_you_changed>
git commit -am initial-commit
git diff > ../mypatch.patch

We have Gitter / Matrix rooms, and on the website we have links to the various issue trackers.

How to work on an existing patch

The easiest way to make patches is to go to the LibreWolf source folder:

make fetch # get the firefox tarball
./scripts/git-patchtree.sh patches/sed-patches/disable-pocket.patch

Now change the source tree the way you want, keeping in mind to git add new files. When done, you can create the new patch with:

cd firefox-<version>
git diff 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD > ../my-patch-name.patch

This ID is the hash value of the first commit, which is called initial. Dont forget to commit changes before doing this diff, or the patch will be incomplete.

How to create a patch for problems in Mozilla's Bugzilla.

Well, first of all:

Now that you have a patch in LibreWolf, that's not enough to upload to Mozilla. See, Mozilla only accepts patches against Nightly. So here is how to do that:

If you have not done already, create the mozilla-unified folder and build Firefox with it:

hg clone https://hg.mozilla.org/mozilla-unified
cd mozilla-unified
hg update
MOZBUILD_STATE_PATH=$HOME/.mozbuild ./mach --no-interactive bootstrap --application-choice=browser
./mach build
./mach run

If you skipped the previous step, you could ensure that you're up to date with:

cd mozilla-unified
hg pull
hg update

Now you can apply your patch to Nightly:

patch -p1 -i ../mypatch.patch

Now you let Mercurial create the patch:

hg diff > ../my-nightly-patch.patch

And it can be uploaded to Bugzilla.

(excerpt from the Mozilla readme) Now the fun starts

Time to start hacking! You should join us on Matrix, say hello in the Introduction channel, and find a bug to start working on. See the Firefox Contributors’ Quick Reference to learn how to test your changes, send patches to Mozilla, update your source code locally, and more.

Hey, I'm using MacOS or Windows..

We understand, life isn't always fair 😺. The same steps as above do apply, you'll just have to walk through the beginning part of the guides for:

  • MacOS: The cross-compiled Mac .dmg files are somewhat new. They should work, perhaps with the exception of the make setup-wasi step.
  • Windows: Building on Windows is not very well tested.

Help with testing these targets is always welcome.