https://github.com/0brym/tinyweb
Tiny terminal-launched web browser for Linux.
https://github.com/0brym/tinyweb
gtk3 linux webkit-browser webkit2gtk
Last synced: 4 months ago
JSON representation
Tiny terminal-launched web browser for Linux.
- Host: GitHub
- URL: https://github.com/0brym/tinyweb
- Owner: 0brym
- Created: 2025-03-04T14:30:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-25T22:19:11.000Z (over 1 year ago)
- Last Synced: 2025-03-25T23:26:13.722Z (over 1 year ago)
- Topics: gtk3, linux, webkit-browser, webkit2gtk
- Language: C
- Homepage: https://github.com/0brym/tinyweb
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TinyWeb Browser
A lightweight web browser built with GTK and WebKit for Linux and WSL2.
## Features
- Simple and minimal interface
- Command-line arguments for specifying URLs
- Bookmarks management
- Address bar navigation
## Dependencies
- GTK 3
- WebKit2GTK
## Installing the dependencies
### Debian/Ubuntu
```bash
sudo apt update
sudo apt install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev pkg-config
```
### Fedora/RHEL/CentOS
```bash
sudo dnf install gcc gtk3-devel webkit2gtk3-devel pkg-config
```
### Arch Linux
```bash
sudo pacman -S base-devel gtk3 webkit2gtk pkg-config
```
### OpenSUSE
```bash
sudo zypper install gcc gtk3-devel webkit2gtk-devel pkg-config
```
## Building
```bash
gcc -o tinyweb tinyweb.c $(pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0)
```
## Usage
From your terminal, run the following commands.
Run tinyweb with the hardcoded homepage:
```bash
./tinyweb
```
Run tinyweb and set the homepage at runtime:
```bash
./tinyweb -h https://example.com
```
Run tinyweb with a specific URL at runtime:
```bash
./tinyweb https://example.com
```
The rest is pretty intuitive UI stuff. Enjoy :)
- Steve