Local privacy-first Python/GTK4 YouTube player
Project description
GTKTube
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.
- Save videos to Watch Later.
- Track watch history locally, including watched time ranges rather than only a last position.
- Search and review local watch history.
- Optionally use SponsorBlock to show and skip community-maintained segment ranges.
- Limit how many videos a single channel can put in each feed day.
- Refresh subscriptions in parallel with per-channel progress in the sidebar.
- Check PyPI for updates and upgrade/restart from inside the app.
- Store thumbnails on disk and app data in SQLite.
Screenshots
Channel Browsing
Player
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-upgradeopens the upgrade dialog even when GTKTube has not detected a newer version.gtktube --show-deps-installeropens the system dependency installer even when GTKTube thinks dependencies are present.gtktube --db /path/to/gtktube.sqlite3uses a specific SQLite database file.gtktube --install-desktopinstalls the desktop launcher entry and exits.
Development runs with python -m gtktube do not auto-install a desktop launcher or check PyPI for upgrades.
Updates
When launched from an installed gtktube command, GTKTube checks PyPI for newer
releases. If an update is available, the app can run the appropriate upgrade
command and restart itself. Pipx installs use pipx upgrade gtktube; other
installs use python3 -m pip install --upgrade gtktube.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gtktube-1.1.0.tar.gz.
File metadata
- Download URL: gtktube-1.1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3163375dd9e6d432d4573c15e9f1aa6085ed8797d0fa755207632136236971ce
|
|
| MD5 |
5f2857385863171d18859ce5bffa3175
|
|
| BLAKE2b-256 |
1facbca2c92bcad65002142976a7166d5f7561f74d20c0de3a408c5e338db216
|
Provenance
The following attestation bundles were made for gtktube-1.1.0.tar.gz:
Publisher:
publish.yml on keredson/gtktube
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gtktube-1.1.0.tar.gz -
Subject digest:
3163375dd9e6d432d4573c15e9f1aa6085ed8797d0fa755207632136236971ce - Sigstore transparency entry: 1787626775
- Sigstore integration time:
-
Permalink:
keredson/gtktube@49b7c2ab3c816dead54b0dd54b9d9d2528c933aa -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/keredson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@49b7c2ab3c816dead54b0dd54b9d9d2528c933aa -
Trigger Event:
push
-
Statement type:
File details
Details for the file gtktube-1.1.0-py3-none-any.whl.
File metadata
- Download URL: gtktube-1.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6411031c098e9d0d79af9e2874798bd2903a5cb17385d974c738f17f377366d7
|
|
| MD5 |
e4321e751945bc6f50195ad438f097ae
|
|
| BLAKE2b-256 |
13514ba83f5fe9ffb50a7168e4c8e3aa3e986c4c4bb83061bcdcff39e975654c
|
Provenance
The following attestation bundles were made for gtktube-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on keredson/gtktube
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gtktube-1.1.0-py3-none-any.whl -
Subject digest:
6411031c098e9d0d79af9e2874798bd2903a5cb17385d974c738f17f377366d7 - Sigstore transparency entry: 1787627089
- Sigstore integration time:
-
Permalink:
keredson/gtktube@49b7c2ab3c816dead54b0dd54b9d9d2528c933aa -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/keredson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@49b7c2ab3c816dead54b0dd54b9d9d2528c933aa -
Trigger Event:
push
-
Statement type: