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.0.tar.gz (22.7 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.0-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animepahe_dl_tmux-1.0.0.tar.gz
  • Upload date:
  • Size: 22.7 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.0.tar.gz
Algorithm Hash digest
SHA256 3369d016aaad631916a1da13de5f92ef34f7ac1d18da802fd53a80c5df129a60
MD5 215332d048d8500c0f9a1864c9ed2eba
BLAKE2b-256 04f9e7c2fde4b55299eae5fe51746689013e0bca4c087533c893f1b381d9fec8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for animepahe_dl_tmux-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dfd2e29a262322bd9dd9b829e3067b64f4f968aac468c8ec38fdb249eccf72d
MD5 fa21729a3a573eeb9627bb9a16afeec9
BLAKE2b-256 4189fc9d9f36f8dd6f8369c7fb9e327f78cbeb2a58b4b61ece97433373b6e73e

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