page/README.md

52 lines
858 B
Markdown
Raw Normal View History

2026-08-12 18:48:46 +08:00
# page
A minimal WebKitGTK viewer. Inspired by [surf](https://surf.suckless.org/),
but without the XEmbed dependency, so it actually works under pure Wayland.
## Dependencies
- `pkg-config`
- `meson`
- `ninja`
- `wrapGAppsHook3`
- `gtk4`
- `webkitgtk_6_0`
- `glib-networking`
- `gsettings-desktop-schemas`
- `cacert`
- `gstreamer`
- `gst-plugins-base`
- `gst-plugins-good`
- `gst-plugins-bad`
- `gst-plugins-ugly`
- `gst-libav`
## Building
```sh
nix develop (on NixOS)
meson setup build
ninja -C build
./build/page
```
Or, for a standalone wrapped binary (nixOS only):
```sh
nix build
./result/bin/page
```
## Usage
```rc
page
page example.com
page some search terms # searches Google by default
page -h # help page
```
See `config.h` for keybindings, default URI, data directory, and other
tweakable settings and stuff.