coder:deepseek v3
www browser/webkit/ and local video server
access in any other web browser at: localhost:8000
many things not work bookmarks,download yt video from html but yt video download from 'browser' and then press button [download video] works
keys: [ctrl]+t new tab [ctrl]+w close tab [ctrl]+r reload page
Tested on Linux
screen from firefox https://github.com/jelspace/browser.c/blob/main/Screenshot%20from%202025-01-05%2009-01-29.png
type in terminal: git clone https://github.com/jelspace/browser.c
enter dir: cd browser.c
compile with: ./compile.sh or ./make ("./make" is different than "make")
then create video dir: mkdir videos
and run 'browser': ./browser
You can install missing libraries using your package manager (e.g., apt on Debian/Ubuntu, dnf on Fedora). For example:
sudo apt install libwebkit2gtk-4.0-37 libgtk-3-0 libgstreamer1.0-0
If any of these libraries are missing or incompatible, the browser may fail to run.
To compile and run the browser application from scratch on a newly installed Linux system, you need to install several dependencies. Below is a list of all the requirements and the steps to install them.
- Update the System
Before installing any dependencies, ensure your system is up to date: bash Copy
sudo apt update sudo apt upgrade -y
- Install Build Tools
You need essential build tools like gcc, make, and pkg-config to compile the application: bash Copy
sudo apt install build-essential
- Install GTK and WebKitGTK
The application uses GTK for the graphical interface and WebKitGTK for rendering web pages. Install the necessary libraries: bash Copy
sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev
- Install GStreamer
GStreamer is used for multimedia support. Install the GStreamer development libraries: bash Copy
sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
- Install yt-dlp
yt-dlp is required for downloading YouTube videos. Install it using pip: bash Copy
sudo apt install python3-pip pip3 install yt-dlp
- Install pthread
The application uses POSIX threads (pthread) for the server. Install the development library: bash Copy
sudo apt install libpthread-stubs0-dev
- Install libsoup
libsoup is used for HTTP client/server functionality. Install the development library: bash Copy
sudo apt install libsoup2.4-dev
- Install json-glib
The application uses json-glib for JSON parsing. Install the development library: bash Copy
sudo apt install libjson-glib-dev
- Install libssl-dev
If the application uses SSL/TLS for secure communication, install the OpenSSL development library: bash Copy
sudo apt install libssl-dev
- Install libcurl
libcurl is used for making HTTP requests. Install the development library: bash Copy
sudo apt install libcurl4-openssl-dev
- Install libgirepository1.0-dev
This library is required for GObject introspection, which is used by GTK and WebKitGTK: bash Copy
sudo apt install libgirepository1.0-dev
- Install libnotify-dev
If the application uses desktop notifications, install the libnotify development library: bash Copy
sudo apt install libnotify-dev
- Install libappindicator3-dev
For system tray integration, install the libappindicator development library: bash Copy
sudo apt install libappindicator3-dev
- Install libsqlite3-dev
If the application uses SQLite for local storage, install the development library: bash Copy
sudo apt install libsqlite3-dev
- Install libxml2-dev
libxml2 is used for XML parsing. Install the development library: bash Copy
sudo apt install libxml2-dev
- Install libjpeg-dev
If the application handles JPEG images, install the development library: bash Copy
sudo apt install libjpeg-dev
- Install libpng-dev
For PNG image support, install the development library: bash Copy
sudo apt install libpng-dev
- Install libavcodec-dev and libavformat-dev
For multimedia support, install the FFmpeg development libraries: bash Copy
sudo apt install libavcodec-dev libavformat-dev
- Install libpulse-dev
If the application uses PulseAudio for audio, install the development library: bash Copy
sudo apt install libpulse-dev
- Install libgstreamer-plugins-bad1.0-dev
For additional GStreamer plugins, install the development library: bash Copy
sudo apt install libgstreamer-plugins-bad1.0-dev
- Install libsoup2.4-dev
For HTTP client/server functionality, install the development library: bash Copy
sudo apt install libsoup2.4-dev
- Install libsecret-1-dev
If the application uses secure storage for credentials, install the development library: bash Copy
sudo apt install libsecret-1-dev
- Install libatk-bridge2.0-dev
For accessibility support, install the development library: bash Copy
sudo apt install libatk-bridge2.0-dev
- Install libepoxy-dev
For OpenGL support, install the development library: bash Copy
sudo apt install libepoxy-dev
- Install libwayland-dev
For Wayland support, install the development library: bash Copy
sudo apt install libwayland-dev
- Install libxkbcommon-dev
For keyboard handling, install the development library: bash Copy
sudo apt install libxkbcommon-dev
- Install libegl1-mesa-dev
For EGL support, install the development library: bash Copy
sudo apt install libegl1-mesa-dev
- Install libgles2-mesa-dev
For OpenGL ES support, install the development library: bash Copy
sudo apt install libgles2-mesa-dev
- Install libgl1-mesa-dev
For OpenGL support, install the development library: bash Copy
sudo apt install libgl1-mesa-dev
- Install libgdk-pixbuf2.0-dev
For image loading and manipulation, install the development library: bash Copy
sudo apt install libgdk-pixbuf2.0-dev
- Install libcairo2-dev
For 2D graphics rendering, install the development library: bash Copy
sudo apt install libcairo2-dev
- Install libpango1.0-dev
For text rendering, install the development library: bash Copy
sudo apt install libpango1.0-dev
- Install libharfbuzz-dev
For text shaping, install the development library: bash Copy
sudo apt install libharfbuzz-dev
- Install libfreetype6-dev
For font rendering, install the development library: bash Copy
sudo apt install libfreetype6-dev
- Install libicu-dev
For Unicode support, install the development library: bash Copy
sudo apt install libicu-dev
- Install libenchant-2-dev
For spell checking, install the development library: bash Copy
sudo apt install libenchant-2-dev
- Install libsecret-1-dev
For secure storage of credentials, install the development library: bash Copy
sudo apt install libsecret-1-dev
- Install libsoup2.4-dev
For HTTP client/server functionality, install the development library: bash Copy
sudo apt install libsoup2.4-dev
- Install libsqlite3-dev
For SQLite database support, install the development library: bash Copy
sudo apt install libsqlite3-dev
- Install libxml2-dev
For XML parsing, install the development library: bash Copy
sudo apt install libxml2-dev
- Install libjpeg-dev
For JPEG image support, install the development library: bash Copy
sudo apt install libjpeg-dev
- Install libpng-dev
For PNG image support, install the development library: bash Copy
sudo apt install libpng-dev
- Install libavcodec-dev and libavformat-dev
For multimedia support, install the FFmpeg development libraries: bash Copy
sudo apt install libavcodec-dev libavformat-dev
- Install libpulse-dev
For PulseAudio support, install the development library: bash Copy
sudo apt install libpulse-dev
- Install libgstreamer-plugins-bad1.0-dev
For additional GStreamer plugins, install the development library: bash Copy
sudo apt install libgstreamer-plugins-bad1.0-dev
- Install libsoup2.4-dev
For HTTP client/server functionality, install the development library: bash Copy
sudo apt install libsoup2.4-dev
- Install libsecret-1-dev
For secure storage of credentials, install the development library: bash Copy
sudo apt install libsecret-1-dev
- Install libatk-bridge2.0-dev
For accessibility support, install the development library: bash Copy
sudo apt install libatk-bridge2.0-dev
- Install libepoxy-dev
For OpenGL support, install the development library: bash Copy
sudo apt install libepoxy-dev
- Install libwayland-dev
For Wayland support, install the development library: bash Copy
sudo apt install libwayland-dev
- Install libxkbcommon-dev
For keyboard handling, install the development library: bash Copy
sudo apt install libxkbcommon-dev
- Install libegl1-mesa-dev
For EGL support, install the development library: bash Copy
sudo apt install libegl1-mesa-dev
- Install libgles2-mesa-dev
For OpenGL ES support, install the development library: bash Copy
sudo apt install libgles2-mesa-dev
- Install libgl1-mesa-dev
For OpenGL support, install the development library: bash Copy
sudo apt install libgl1-mesa-dev
- Install libgdk-pixbuf2.0-dev
For image loading and manipulation, install the development library: bash Copy
sudo apt install libgdk-pixbuf2.0-dev
- Install libcairo2-dev
For 2D graphics rendering, install the development library: bash Copy
sudo apt install libcairo2-dev
- Install libpango1.0-dev
For text rendering, install the development library: bash Copy
sudo apt install libpango1.0-dev
- Install libharfbuzz-dev
For text shaping, install the development library: bash Copy
sudo apt install libharfbuzz-dev
- Install libfreetype6-dev
For font rendering, install the development library: bash Copy
sudo apt install libfreetype6-dev
- Install libicu-dev
For Unicode support, install the development library: bash Copy
sudo apt install libicu-dev
- Install libenchant-2-dev
For spell checking, install the development library: bash Copy
sudo apt install libenchant-2-dev
- Install libsecret-1-dev
For secure storage of credentials, install the development library: bash Copy
sudo apt install libsecret-1-dev
- Install libsoup2.4-dev
For HTTP client/server functionality, install the development library: bash Copy
sudo apt install libsoup2.4-dev
- Install libsqlite3-dev
For SQLite database support, install the development library: bash Copy
sudo apt install libsqlite3-dev
- Install libxml2-dev
For XML parsing, install the development library: bash Copy
sudo apt install libxml2-dev
- Install libjpeg-dev
For JPEG image support, install the development library: bash Copy
sudo apt install libjpeg-dev
- Install libpng-dev
For PNG image support, install the development library: bash Copy
sudo apt install libpng-dev
- Install libavcodec-dev and libavformat-dev
For multimedia support, install the FFmpeg development libraries: bash Copy
sudo apt install libavcodec-dev libavformat-dev
- Install libpulse-dev
For PulseAudio support, install the development library: bash Copy
sudo apt install libpulse-dev
- Install libgstreamer-plugins-bad1.0-dev
For additional GStreamer plugins, install the development library: bash Copy
sudo apt install libgstreamer-plugins-bad1.0-dev
- Install libsoup2.4-dev
For HTTP client/server functionality, install the development library: bash Copy
sudo apt install libsoup2.4-dev
- Install libsecret-1-dev
For secure storage of credentials, install the development library: bash Copy
sudo apt install libsecret-1-dev
- Install libatk-bridge2.0-dev
For accessibility support, install the development library: bash Copy
sudo apt install libatk-bridge2.0-dev
- Install libepoxy-dev
For OpenGL support, install the development library: bash Copy
sudo apt install libepoxy-dev
- Install libwayland-dev
For Wayland support, install the development library: bash Copy
sudo apt install libwayland-dev
- Install libxkbcommon-dev
For keyboard handling, install the development library: bash Copy
sudo apt install libxkbcommon-dev
- Install libegl1-mesa-dev
For EGL support, install the development library: bash Copy
sudo apt install libegl1-mesa-dev
- Install libgles2-mesa-dev
For OpenGL ES support, install the development library: bash Copy
sudo apt install libgles2-mesa-dev
- Install libgl1-mesa-dev
For OpenGL support, install the development library: bash Copy
sudo apt install libgl1-mesa-dev
- Install libgdk-pixbuf2.0-dev
For image loading and manipulation, install the development library: bash Copy
sudo apt install libgdk-pixbuf2.0-dev
- Install libcairo2-dev
For 2D graphics rendering, install the development library: bash Copy
sudo apt install libcairo2-dev
- Install libpango1.0-dev
For text rendering, install the development library: bash Copy
sudo apt install libpango1.0-dev
- Install libharfbuzz-dev
For text shaping, install the development library: bash Copy
sudo apt install libharfbuzz-dev
- Install libfreetype6-dev
For font rendering, install the development library: bash Copy
sudo apt install libfreetype6-dev
- Install libicu-dev
For Unicode support, install the development library: bash Copy
sudo apt install libicu-dev
- Install libenchant-2-dev
For spell checking, install the development library: bash Copy
sudo apt install libenchant-2-dev
- Install libsecret-1-dev
For secure storage of credentials, install the development library: bash Copy
sudo apt install libsecret-1-dev
- Install libsoup2.4-dev
For HTTP client/server functionality, install the development library: bash Copy
sudo apt install libsoup2.4-dev
- Install libsqlite3-dev
For SQLite database support, install the development library: bash Copy
sudo apt install libsqlite3-dev
- Install libxml2-dev
For XML parsing, install the development library: bash Copy
sudo apt install libxml2-dev
- Install libjpeg-dev
For JPEG image support, install the development library: bash Copy
sudo apt install libjpeg-dev
- Install libpng-dev
For PNG image support, install the development library: bash Copy
sudo apt install libpng-dev
- Install libavcodec-dev and libavformat-dev
For multimedia support, install the FFmpeg development libraries: bash Copy
sudo apt install libavcodec-dev libavformat-dev
- Install libpulse-dev
For PulseAudio support, install the development library: bash Copy
sudo apt install libpulse-dev
- Install libgstreamer-plugins-bad1.0-dev
For additional GStreamer plugins, install the development library: bash Copy
sudo apt install libgstreamer-plugins-bad1.0-dev
- Install libsoup2.4-dev
For HTTP client/server functionality, install the development library: bash Copy
sudo apt install libsoup2.4-dev
- Install libsecret-1-dev
For secure storage of credentials, install the development library: bash Copy
sudo apt install libsecret-1-dev
- Install libatk-bridge2.0-dev
For accessibility support, install the development library: bash Copy
sudo apt install libatk-bridge2.0-dev
- Install libepoxy-dev
For OpenGL support, install the development library: bash Copy
sudo apt install libepoxy-dev
- Install libwayland-dev
For Wayland support, install the development library: bash Copy
sudo apt install libwayland-dev
- Install libxkbcommon-dev
For keyboard handling