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.3.tar.gz (23.4 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.3-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animepahe_dl_tmux-1.0.3.tar.gz
  • Upload date:
  • Size: 23.4 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.3.tar.gz
Algorithm Hash digest
SHA256 420a24cff86d8632eabc06f121b0ceb5919cb8f976f48191fabf22bae4144cda
MD5 c8ef000b2a6d1f5a6faaa63e8fb295eb
BLAKE2b-256 6f9c1d9645cd19edeb93c0d8cdfa7e14c5d37433eb67b5de2d05db8dc4ff62c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for animepahe_dl_tmux-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 942a310f42377fc865270d715a0b55f001bc9df0060819331e26edcdeb15db2a
MD5 f723e19c9e9c8192fdeaee2ee5de02fb
BLAKE2b-256 d2f331c67457ca08b5ef4f1a432ad1fd9184a904384ad025a3aec3e22f24e49a

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