Skip to main content

Local privacy-first Python/GTK4 YouTube player

Project description

GTKTube

GTKTube icon

GTKTube is a local privacy-first Python/GTK4 YouTube player for Linux. It stores subscriptions and viewing history locally in SQLite, and does not use a Google account. The feed has no algorithm. It just shows recent videos from the channels you subscribe to.

Features

  • Browse recent videos from your subscribed channels without YouTube recommendations.
  • Watch without ads.
  • No tracking by GTKTube.
  • Search YouTube for videos and channels without signing in.
  • Subscribe and unsubscribe locally; no Google account, OAuth, cookies, or account sync.
  • Play videos inside the GTK app with libmpv.
  • Choose playback quality and speed, including speeds up to 4x.
  • Use normal playback shortcuts for play/pause, seeking, fullscreen, and speed changes.
  • Keep watching while browsing with a mini-player.
  • Track watch history locally, including watched time ranges rather than only a last position.
  • Search and review local watch history.
  • Store thumbnails on disk and app data in SQLite.

Screenshots

Channel Browsing

Channel grid with mini-player

Player

Video player

Queue And Mini-Player

Channel view with queue and mini-player

Install

pipx ensurepath
pipx install --system-site-packages gtktube
gtktube --install-desktop

GTKTube also needs GTK4/PyGObject and libmpv from your Linux distribution. If required system dependencies are missing, the app can launch a small installer helper.

Run

GTKTube installs a desktop app entry, so you can launch it from your normal Linux app launcher. You can also run it from a terminal:

gtktube

When launched as the installed gtktube command, GTKTube also installs or updates its desktop launcher entry in your user application directory. If your desktop environment does not show it immediately after installation, run gtktube once from a terminal or run gtktube --install-desktop.

Useful startup flags:

  • gtktube --show-upgrade opens the upgrade dialog even when GTKTube has not detected a newer version.
  • gtktube --show-deps-installer opens the system dependency installer even when GTKTube thinks dependencies are present.
  • gtktube --db /path/to/gtktube.sqlite3 uses a specific SQLite database file.
  • gtktube --install-desktop installs the desktop launcher entry and exits.

Development runs with python -m gtktube do not auto-install a desktop launcher or check PyPI for upgrades.

Data Storage

GTKTube keeps its state on your machine:

  • subscriptions and watch history in SQLite
  • thumbnail cache under the user cache directory
  • no Google account integration
  • no cloud sync
  • no analytics or tracking by GTKTube

License

GTKTube is licensed under the GNU General Public License v3.0. See LICENSE.

Project details


Download files

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

Source Distribution

gtktube-1.0.4.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

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

gtktube-1.0.4-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file gtktube-1.0.4.tar.gz.

File metadata

  • Download URL: gtktube-1.0.4.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gtktube-1.0.4.tar.gz
Algorithm Hash digest
SHA256 0e0a3954f1d968b8e7ee5476af08fd2e6981715bcded9298da9dcdf4ae77dfdf
MD5 dbbb071d2a725a158a9e089a924d069d
BLAKE2b-256 8c2578e0bb1525a243503463a27b1c3805feb345f79b0bf7589cf4d42987696b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gtktube-1.0.4.tar.gz:

Publisher: publish.yml on keredson/gtktube

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gtktube-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: gtktube-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gtktube-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e1390641882fc0c2221c385c4dcc53712563e3c1d7d93cb3e5a15a1d1e0e78d4
MD5 9e82f1384baf55ad076e5d619a8186e9
BLAKE2b-256 0b9df6cab403a1223b38696b4316427eb0a82fffcf1f4971252679a7b2af0464

See more details on using hashes here.

Provenance

The following attestation bundles were made for gtktube-1.0.4-py3-none-any.whl:

Publisher: publish.yml on keredson/gtktube

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page