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

Install a display server (a desktop session is fine) and the runtime libraries used by Qt:

sudo apt update
sudo apt install libegl1 libgl1 libnss3 libxkbcommon-x11-0 libxcb-cursor0 \
	libxcomposite1 libxdamage1 libxrandr2 libasound2 xdg-utils

The PyPI wheels provide the Qt and Chromium components. A working graphical session and graphics driver are still required to show the window. On a headless machine, run it inside a desktop container or an X server such as Xvfb.

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.1.tar.gz (4.1 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linux_browser-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 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.1.tar.gz
Algorithm Hash digest
SHA256 e962320a73e8248fb988440ab07499a07dd2fb41bfead7181213b27ceab0dab1
MD5 d36422e192e149daa231f638bbd57e23
BLAKE2b-256 aa6f9cbe57a899c28c4f2c3329661a41375bb1d3629f7b4e55cab5045b387ffc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linux_browser-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec57b7c082ef0df1019ff59498b79d93883e29a999fc568ce1962f28de7ebea5
MD5 ffed83d9a8dd5facf647ac6d696be15b
BLAKE2b-256 f2386c27461edb05c8e246cd32ef539d57ab79615afe7d953407e6242081cc41

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

0.1.2

2 files

This release

0.1.1 This release

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