暫無描述

Haelwenn (lanodan) Monnier f911a16bd4 configuration: Window default width & height 4 年之前
icons fb3246adea Logo: increase stroke size and contrast 4 年之前
mo 6dae2b3442 Makefile: Add building *.mo on compilation 5 年之前
po a11b4d2186 Use libconfig to add user config (start with tab position) 4 年之前
.clang-format 1f82848e4a Formatting: Break after the return type for definitions 5 年之前
.editorconfig ab21dd24ad .editorconfig: New file 4 年之前
.gitignore 183076aaf6 .gitignore: Ignore binairies 5 年之前
.gitlab-ci.yml ffd482d156 .gitlab-ci.yml: run test instead of build 4 年之前
COPYING d2fc907c4b COPYING: New file 4 年之前
KnowledgeBase.md 39c7dc371b KnowledgeBase.md: Add “Content-Blockers firt look” 5 年之前
Makefile a11b4d2186 Use libconfig to add user config (start with tab position) 4 年之前
README.md a11b4d2186 Use libconfig to add user config (start with tab position) 4 年之前
badwolf.1 2ccd806e39 badwolf.1: Use full modifier names instead of A/C/S 4 年之前
badwolf.c f911a16bd4 configuration: Window default width & height 4 年之前
badwolf.cfg f911a16bd4 configuration: Window default width & height 4 年之前
badwolf.desktop 657cacd378 badwolf.desktop: Icon=badwolf 4 年之前
badwolf.h a11b4d2186 Use libconfig to add user config (start with tab position) 4 年之前
badwolf.inkscape.svg fb3246adea Logo: increase stroke size and contrast 4 年之前
badwolf.svg fb3246adea Logo: increase stroke size and contrast 4 年之前
config.h f911a16bd4 configuration: Window default width & height 4 年之前
decisions.md e64d606e23 decisions.md: Bump 4 年之前
downloads.c 1133efe395 configuration: BADWOLF_TAB_HEXPAND -> tab.hexpand 4 年之前
downloads.h ad8b3dd9b8 Download progress tab 4 年之前
icons_size.sh 96676069aa Add a logo 4 年之前
interface.css 06b30dc68c Use text in toggle buttons 4 年之前
interface.txt cb232d9e91 Add webcontext hex id to tab label 4 年之前
keybindings.c 7425c1579b Switch automatically to a tab when user-requested 4 年之前
keybindings.h 4d30c11f4c Move keybindings to a separate file 5 年之前
uri.c ed40d74fdd Fix implicit-declaration for realpath 4 年之前
uri.h 06b34a53c2 Add tests on badwolf_ensure_uri_scheme 4 年之前
uri_test.c 6880bf722d uri.c: Add support for relative paths 4 年之前
usr.bin.badwolf d4a4b0ab1b Update copyright to (2019-)2020 Badwolf Authors 4 年之前
version.sh ad8b3dd9b8 Download progress tab 4 年之前

README.md

BadWolf

Minimalist and privacy-oriented WebKitGTK+ browser.

Homepage: https://hacktivis.me/projects/badwolf

Copyright © 2019-2020 Badwolf Authors <https://hacktivis.me/projects/badwolf>
SPDX-License-Identifier: BSD-3-Clause

The name is a reference to BBC’s Doctor Who Tv serie, I took it simply because I wanted to have a specie in the name, like some other web browsers do, but doesn’t go into the “gentle” zone.

Differencies

Comparing from other small WebKit browsers for unixes found in the wild:

  • Independent of environment, should just work if GTK and WebKitGTK does
  • Storing data should be:
    • explicit and optionnal (ie. Applying preferences doesn't imply Saving to disk)
    • not queryabe by WebKit (so the web can't use it)
    • done in a standard format (like XBEL for bookmarks)
  • Static UI, no element should be added at runtime, this is to avoid potential tracking via viewport changes
  • Small codebase, should be possible to read and understand it completely over an afternoon.
  • Does not use modal editing (from vi) as that was designed for editing, not browsing
  • UTF-8 encoding by default

Motivation from other clients https://hacktivis.me/articles/www-client%20are%20broken

Contributing

Translations

You need to have gettext installed. If you want a GUI, poedit exists and Weblate is a good web platform that I might consider hosting at some point.

  • Syncing POT file with the source code: make po/messages.pot
  • Syncing PO file with the POT file: make po/de.po
  • Initialising a new PO file (example for German, de_DE): msginit -l de_DE -i po/messages.pot -o po/de.po

Contacts / Discussions

Repositories

git

release assets

Manual Installation

Dependencies are:

  • C11 Compiler (such as clang or gcc)
  • WebKitGTK, only the latest stable is supported
  • POSIX make with extension for shell in variables (works with GNU, {Net,Free,Open}BSD)
  • A pkg-config implementation (pkgconf is recommended)
  • libconfig
  • (optionnal) gettext implementation (such as GNU Gettext)

Compilation is done with make, install with make install (DESTDIR and PREFIX environment variables are supported, amongs other common ones). An example AppArmor profile is provided at usr.bin.badwolf, please do some long runtime checks before shipping it or a modified version, help can be provided but with no support.

You'll also need inkscape (command line only) if you want to regenerate the icons, for example after modifying them or adding a new size. These aren't needed for normal installation as it is bundled.

Notes

Most of the privacy/security stuff will be done with patches against WebKit as quite a lot isn’t into WebKitSettings and with generic WebKit extensions that should be resuseable.