A lightweight web browser built with GTK and WebKit for Linux and WSL2.
- Simple and minimal interface
- Command-line arguments for specifying URLs
- Bookmarks management
- Address bar navigation
- GTK 3
- WebKit2GTK
sudo apt update
sudo apt install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev pkg-config
sudo dnf install gcc gtk3-devel webkit2gtk3-devel pkg-config
sudo pacman -S base-devel gtk3 webkit2gtk pkg-config
sudo zypper install gcc gtk3-devel webkit2gtk-devel pkg-config
gcc -o tinyweb tinyweb.c $(pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0)
From your terminal, run the following commands.
Run tinyweb with the hardcoded homepage:
./tinyweb
Run tinyweb and set the homepage at runtime:
./tinyweb -h https://example.com
Run tinyweb with a specific URL at runtime:
./tinyweb https://example.com
The rest is pretty intuitive UI stuff. Enjoy :)
- Steve