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

Uploaded Python 3

File details

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

File metadata

  • Download URL: linux_browser-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 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.0.tar.gz
Algorithm Hash digest
SHA256 524079c36d3e53d0b32f0d03cd2ccc3bd04ee8e9d0e2e25b0c7cd7706711da23
MD5 dfc7077788e075ecee6583fbaddd3717
BLAKE2b-256 f761af1cb14129a4f63b717bde2e382bf1929a6ebfde7c3100e08402862938ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linux_browser-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16299d333da981e69d12547189f77ff94e2b222a03645f90b622efbf030c5957
MD5 0f9a6cd2f40623b3c120b38162e1a476
BLAKE2b-256 40f52a06f2b78f8ac8af6320e06e732eeeac636e1a219bf44507b07602750ad2

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

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