بدون توضیح

Haelwenn (lanodan) Monnier f8d6696b46 Make `struct Window *window` a global variable 1 ماه پیش
.builds 83a8bb84a7 .builds/netbsd.yml: Explicitely pick pkgin-installed xgettext 4 ماه پیش
.reuse 4f330a1168 Make repository reuse compliant 1 سال پیش
LICENSES 87ab455687 bookmarks*: Relicense under MPL-2.0 1 ماه پیش
bookmarks_test.fixtures 4f330a1168 Make repository reuse compliant 1 سال پیش
icons fb3246adea Logo: increase stroke size and contrast 4 سال پیش
mo 6dae2b3442 Makefile: Add building *.mo on compilation 5 سال پیش
po f18b476c29 po/sr{,_man}.po: Fix copyright header for REUSE 1 ماه پیش
.clang-format 27742f6afb .clang-format: AllowShortCaseLabelsOnASingleLine: false 1 سال پیش
.editorconfig 4f330a1168 Make repository reuse compliant 1 سال پیش
.gitignore 0a4778bfe2 .gitignore: ./*_test and ./install.sh 10 ماه پیش
.gitlab-ci.yml 4f330a1168 Make repository reuse compliant 1 سال پیش
.mailmap bc68495911 .mailmap: Add gitlab placeholder email of Ben K 4 ماه پیش
AUTHORS 98a2c0a463 AUTHORS: Add Страхиња Радић 4 ماه پیش
COPYING 4f330a1168 Make repository reuse compliant 1 سال پیش
KnowledgeBase.md 4f330a1168 Make repository reuse compliant 1 سال پیش
README.md dc32b5fd7c README: Change mirror links from gitlab.com to git.sr.ht 7 ماه پیش
badwolf.1 9859ac3e85 Add options: -i (disable images) and -S (enable JavaScript) 1 ماه پیش
badwolf.c f8d6696b46 Make `struct Window *window` a global variable 1 ماه پیش
badwolf.de.1 caf0a4d2cd badwolf.de.1: Bundle 8 ماه پیش
badwolf.desktop e4a3ceb7cc Add Serbian translation 7 ماه پیش
badwolf.fr.1 6b89da092c manpage: Note the lack of GM-style userscript filtering 1 سال پیش
badwolf.h f8d6696b46 Make `struct Window *window` a global variable 1 ماه پیش
badwolf.inkscape.svg fb3246adea Logo: increase stroke size and contrast 4 سال پیش
badwolf.sr.1 e4a3ceb7cc Add Serbian translation 7 ماه پیش
badwolf.svg fb3246adea Logo: increase stroke size and contrast 4 سال پیش
badwolf.tr.1 7472e3d607 po/tr_man.po: Fix syntax error due to ASCII apostrophe 10 ماه پیش
badwolf.vi.1 40fe40ee4c Update Vietnamese translation and manpage 10 ماه پیش
bookmarks.c 87ab455687 bookmarks*: Relicense under MPL-2.0 1 ماه پیش
bookmarks.h 87ab455687 bookmarks*: Relicense under MPL-2.0 1 ماه پیش
bookmarks_test.c 87ab455687 bookmarks*: Relicense under MPL-2.0 1 ماه پیش
build.ninja c8881b0345 configure: Simplify missing ed handling 7 ماه پیش
config.h fe182d7a2c config.h: Remove deprecated enable-accelerated-2d-canvas 10 ماه پیش
configure 6009738186 Revert "configure: Check for xgettext --package-name=" 4 ماه پیش
decisions.md a75502e95b decisions: Switch from Makefile to *.ninja 9 ماه پیش
downloads.c f8d6696b46 Make `struct Window *window` a global variable 1 ماه پیش
downloads.h f8d6696b46 Make `struct Window *window` a global variable 1 ماه پیش
fmt.c 4f330a1168 Make repository reuse compliant 1 سال پیش
fmt.h 4f330a1168 Make repository reuse compliant 1 سال پیش
fmt_test.c 4f330a1168 Make repository reuse compliant 1 سال پیش
icons_size.sh 4f330a1168 Make repository reuse compliant 1 سال پیش
interface.css 4f330a1168 Make repository reuse compliant 1 سال پیش
interface.md 4f330a1168 Make repository reuse compliant 1 سال پیش
keybindings.c f8d6696b46 Make `struct Window *window` a global variable 1 ماه پیش
keybindings.h f8d6696b46 Make `struct Window *window` a global variable 1 ماه پیش
uri.c 4f330a1168 Make repository reuse compliant 1 سال پیش
uri.h 4f330a1168 Make repository reuse compliant 1 سال پیش
uri_test.c 4f330a1168 Make repository reuse compliant 1 سال پیش
userscripts.c 7371b0b682 userscripts: Formatting fix 10 ماه پیش
userscripts.h 7f4b6c8400 Add UserScripts support 1 سال پیش
usr.bin.badwolf 46ce59c9d6 Update copyright year 3 سال پیش
version.sh 4f330a1168 Make repository reuse compliant 1 سال پیش

README.md

BadWolf

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

Minimalist and privacy-oriented WebKitGTK+ browser.

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

The name is a reference to BBC's Doctor Who TV series, 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.

Differences

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 optional (i.e. 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: ninja po/messages.pot
  • Syncing PO file with the POT file: ninja 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

  • POSIX-compatible Shell (i.e. mrsh, dash, lksh)
  • ninja or samurai
  • A pkg-config implementation (pkgconf is recommended)
  • C11 Compiler (such as clang or gcc)
  • WebKitGTK, only the latest stable(2.32.0+) is supported
  • libxml-2.0, no known version limitation
  • (optional, translating) po4a to modify manpage translations
  • (optional, translating) gettext implementation (such as GNU Gettext)
  • (optional, translating) ed(1), the standard editor
  • (optional, lint) mandoc (the command) for linting the manpage
  • (optional, lint) shellcheck for linting the ./configure script
  • (optional, lint) flawfinder for examining C source code for flaws
  • (optional, lint) reuse for checking REUSE compliance

Note: Packagers can safely ignore the lint dependencies.

Compiling

./configure && ninja

Note: configure is a simple shell script (so not autotools) which supports variables like PREFIX.

Installing

ninja install
# DESTDIR is supported

Debian users will probably want to use checkinstall instead.

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.

If you modify the icons, you'll need inkscape (command line only), to regenerate the bitmap versions. It isn't needed for a normal installation as the bitmap icons are 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 reusable.