Simple yet useful Termux GUI for yt-dlp.
Project description
Simple yet useful Termux GUI for yt-dlp.
Prerequisites
These must be installed before using yt-dlp-termux-gui:
Installation
pip install yt-dlp-termux-gui --upgrade
How to use (declarative)
import yt_dlp_termux_gui
# launch the GUI
yt_dlp_termux_gui.launch()
# get settings
yt_dlp_termux_gui.settings = get_settings()
# reset settings
yt_dlp_termux_gui.reset_settings()
# get settings file path
yt_dlp_termux_gui.settings_path = SETTINGS_PATH
# get widget name (yt-dlp-gui.sh)
yt_dlp_termux_gui.widget_name = WIDGET_SCRIPT_NAME
# get widget title (YT-DLP TERMUX GUI)
yt_dlp_termux_gui.widget_title = WIDGET_TITLE
# create Termux:Widget shortcut
yt_dlp_termux_gui.ensure_termux_widget(force=True)
# check if running inside Termux
yt_dlp_termux_gui.is_termux = detect_termux()
# ensure dependencies are installed
#
# IMPORTANT:
# the plugins 'Termux:GUI' and 'Termux:Widget'
# must be installed the same way as Termux was installed
# Termux:GUI --> https://github.com/termux/termux-gui
# Termux:Widget --> https://github.com/termux/termux-widget
yt_dlp_termux_gui.ensure_packages(force=True)
How to use (CLI)
Usage: yt-dlp-termux-gui [OPTIONS...] [COMMAND]
Commands:
deps --> Ensure dependencies (install missing packages)
launch --> Launch the GUI
widget --> Ensure Termux:Widget shortcut for the GUI
Options:
--verbose <silent|debug|info|warning|error|critical> --> Set logging level
--silent --> Disable ALL GUI logs in Termux
--widget-name --> Print widget name
--widget-script-name --> Print widget script filename
--settings --> Print current settings
--settings-path --> Print settings path
--settings-reset --> Reset settings
-h, --help --> Show this help message
-v, -V, --version --> Print version
Options [deps]:
--force --> Overwrite 'curl-impersonate' compiled binaries if they already exist
Options [launch]:
--no-activity-logs --> Disable GUI activity logs in Termux
--init-logs --> Enable GUI initialization logs in Termux by the GUI
Options [widget]:
--force --> Overwrite existing widget if it already exist
Tools
Terminal
CLI
Modules
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yt_dlp_termux_gui-1.1.7.tar.gz
(260.4 kB
view details)
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 yt_dlp_termux_gui-1.1.7.tar.gz.
File metadata
- Download URL: yt_dlp_termux_gui-1.1.7.tar.gz
- Upload date:
- Size: 260.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2c9d57255fb196a66c14983d85b69787377b507d1092c18f299a88d047baa92
|
|
| MD5 |
aef5a9a7bc1e651d1960c18ae8d24939
|
|
| BLAKE2b-256 |
67bf6d4e593bea8b6317ff0f680a901325897a8ee35f37e0ba48b3475a1f3d20
|
File details
Details for the file yt_dlp_termux_gui-1.1.7-py3-none-any.whl.
File metadata
- Download URL: yt_dlp_termux_gui-1.1.7-py3-none-any.whl
- Upload date:
- Size: 260.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4786562f9d3b7d224746f18d3a80aec9ad9f74d0bdf3343cf1d75e08c50adcb
|
|
| MD5 |
0ebb5aba6c60cee12cd6d7993ba877de
|
|
| BLAKE2b-256 |
bd0a016d85b9d8171ff0503a033c700c4a0ef019e80cac6b3fc9e5bb514e7a64
|