Skip to main content

AnimePahe anime downloader for Termux — CLI only, no GUI, no PyQt6

Project description

animepahe-dl-tmux

A CLI-only AnimePahe downloader built specifically for Termux — no GUI, no PyQt6, no hassle.

Just type dl and start downloading.

Why this package?

The original animepahe-dl package installs PyQt6 (a heavy GUI library) as a mandatory dependency. PyQt6 is nearly impossible to install in Termux without hours of troubleshooting. This package strips all GUI code and gives you a clean, fast, Termux-native CLI.

Install

pip install animepahe-dl-tmux

Prerequisites (install in Termux first)

pkg install ffmpeg fzf nodejs python

If you haven't set up Termux storage, also run:

termux-setup-storage

This lets the downloader save files to ~/storage/downloads/Anime.

Usage

# Launch interactive mode (fzf-powered)
dl

# Search and select with fzf
dl -n "Naruto"

# Download specific episodes
dl -n "Naruto" -e 1-10

# Download with quality and audio options
dl -n "Naruto" -e 1-5 -q 720 -a eng

# Download multiple episodes concurrently
dl -n "Naruto" -e 1-20 -c 3 -t 100

# Play episodes directly (requires mpv: pkg install mpv)
dl -n "Naruto" -e 1 --play

# Force update the anime list cache
dl --update-cache

# Check for new episodes of your tracked anime
dl --updates

# Manage your tracked anime list
dl --manage

# Show current config
dl --config

# Override the AnimePahe mirror URL
dl --set-url https://animepahe.ru

All Options

Flag Alias Description Default
--name -n Anime name to search
--episodes -e Episodes to download (e.g., 1,3,5 or 1-10)
--quality -q Video quality: best, 1080, 720, 480, 360 best
--audio -a Audio language: jpn or eng jpn
--threads -t Download threads per episode 50
--concurrent-downloads -c Concurrent episode downloads 2
--play Play episodes via mpv/vlc (no download)
--player Specify media player (mpv, vlc, ffplay) auto-detect
--updates Check for new episodes of tracked anime
--manage Manage your tracked anime list
--run-once Use with --updates to run once and exit
--update-cache Refresh the local anime list cache
--m3u8-only Save playlist file only, skip download
--search-only Search without downloading
--single Single-select mode in fzf (no multi-select)
--set-url Override the AnimePahe base URL
--config Show current configuration
--verbose -v Enable verbose debug logging

Configuration

Config is stored at ~/.config/animepahe-dl-tmux/config.json.

{
    "base_url": "https://animepahe.ru",
    "quality": "best",
    "audio": "jpn",
    "threads": 50,
    "concurrent_downloads": 2,
    "download_directory": "/data/data/com.termux/files/home/storage/downloads/Anime"
}

Download location

Downloads are saved to:

  • ~/storage/downloads/Anime/ (if Termux storage is set up)
  • ~/Anime/ (fallback)

You can change this in the config file or with the --config flag.

Differences from animepahe-dl

Feature animepahe-dl animepahe-dl-tmux
GUI (PyQt6) Yes No
Desktop notifications (plyer) Yes No
CLI downloader Yes Yes
fzf interactive selection Yes Yes
Daemon/background mode Yes No
Termux-friendly Difficult Yes
Install on Termux Hours of hacks pip install animepahe-dl-tmux

License

MIT

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

animepahe_dl_tmux-1.0.2.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

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

animepahe_dl_tmux-1.0.2-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

Details for the file animepahe_dl_tmux-1.0.2.tar.gz.

File metadata

  • Download URL: animepahe_dl_tmux-1.0.2.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for animepahe_dl_tmux-1.0.2.tar.gz
Algorithm Hash digest
SHA256 db37904d91a9ef436de67a7ac3704ae3f0a7066fcdce888454c2f2072ece5f30
MD5 c1e968598f76481dd905938caec4d48f
BLAKE2b-256 6e2e94565ea5f96ff05cdd395af6bbb662dda5c62cd897fec814dfcf31df2046

See more details on using hashes here.

File details

Details for the file animepahe_dl_tmux-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for animepahe_dl_tmux-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7c0112893b333876cf253194c8c5a4386b62df4c0ff830e1d3a82a2dee16919
MD5 06bfa2013f5e05fab03406c06a54d8d0
BLAKE2b-256 7fad9d663dc144b9c64166a7739a2c488d01cc57b95611f9e6d1821f379e6223

See more details on using hashes here.

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