Skip to main content

Linux Browser

A small graphical browser for Linux, packaged as a normal Python application. It uses Qt WebEngine, which embeds Chromium, so pages are rendered with their real HTML, CSS, JavaScript, images, and network behavior rather than being converted to terminal text.

Debian 12 / Ubuntu Installation

Dependencies

Install graphics and browser libraries:

sudo apt update
sudo apt install -y \
  libgl1 libegl1 \
  libxkbcommon-x11-0 libxcb-cursor0 \
  libxcomposite1 libxdamage1 libxrandr2 \
  libnss3 libxshmfence1 libxtst6 \
  libasound2t64 xvfb xdg-utils

The PyPI wheels provide the Qt and Chromium components. A working display or Xvfb (virtual framebuffer) is required to render pages.

Usage

With a graphical display (desktop/GUI environment):

linux-browser https://example.com

Headless (no display server):

QT_QPA_PLATFORM=offscreen xvfb-run -a linux-browser https://example.com

Via SSH or in a container:

export DISPLAY=:99
Xvfb :99 &
linux-browser https://example.com

Install and run

python3 -m venv .venv
.venv/bin/python -m pip install linux-browser
.venv/bin/linux-browser

Open a specific page directly:

linux-browser https://example.com

The address bar accepts URLs and search terms. Back, forward, reload, and common keyboard shortcuts are available in the toolbar.

Development

python3 -m venv .venv
.venv/bin/python -m pip install -e . pytest build
.venv/bin/python -m pytest

The WebEngine test loads an in-memory page and checks that CSS and JavaScript execute (powered by PySide6's built-in WebEngine). It is skipped when PySide6 is not installed, which keeps package metadata checks usable in minimal build environments.

Build and publish

.venv/bin/python -m build
.venv/bin/python -m pip install twine
.venv/bin/twine check dist/*
.venv/bin/twine upload dist/*

Publishing requires a PyPI account and credentials configured for twine.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linux_browser-0.1.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linux_browser-0.1.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file linux_browser-0.1.2.tar.gz.

File metadata

  • Download URL: linux_browser-0.1.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.1

File hashes

Hashes for linux_browser-0.1.2.tar.gz
Algorithm Hash digest
SHA256 084b9cdf00b8c780915624c808086973afe7a9b35fb4ffdf339220335f752a83
MD5 524178b8ceb47e1bc25dee488b943962
BLAKE2b-256 1d8fefa3db99dd09500de59e9d6abdb94088039a7335c6e9cebad655b87e9cff

See more details on using hashes here.

File details

Details for the file linux_browser-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: linux_browser-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.1

File hashes

Hashes for linux_browser-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5e5902c5bd49a9a3f46c1edc26e47f07e4778d6c05be103569f104925dae6c05
MD5 69abcfe940e4f0cd593b7e3164c13a76
BLAKE2b-256 43707231a077ac3988cf7d1f700680bdbc69518154882d269e6c8972c4690f4f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page