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.1.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.1-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animepahe_dl_tmux-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 76e199b16007db1358666cdb0e94907c5538274f1705bdf0bfbfc9b70df99a1e
MD5 2e6c7bf55300319e5ac2e266378f0395
BLAKE2b-256 6cecf4aff38eab66e1aef7b0e2b06f76daf8ee0f83005421a7e5b1e25d54e631

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for animepahe_dl_tmux-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59822b1a61ae8e716b10f926854adeb459bba0e62f4291ff47589355a44bd4c6
MD5 91b79c2e9afca32f7b0c13eac5388ac2
BLAKE2b-256 5f39aebd8fc51ef8c95eb644890b1a5006123945cdc8dcd93939a4504a2b60d5

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