Skip to main content

anime-termux

A user-friendly anime downloader CLI for Termux (Android), streaming from animepahe.pw.

Install

pip install anime-termux

Requirements (auto-installed via pip):

  • curl_cffi — Cloudflare bypass (Chrome TLS impersonation)
  • yt-dlp — episode extraction and downloading
  • prompt_toolkit — live search UI

Recommended (install in Termux for fastest downloads):

pkg install aria2   # 16-thread segmented downloading
pkg install ffmpeg  # video merging (usually pre-installed with yt-dlp)

Usage

# Interactive mode
anime

# Custom download directory
anime --dir=/sdcard/MyAnime
anime --dir=/storage/external/Anime

Features

  • Real-time search — suggestions as you type, Tab to autocomplete
  • Cloudflare bypass — curl_cffi impersonates Chrome 120 so CF challenges pass
  • Quality picker — choose 360p / 480p / 720p / 1080p / best
  • Segmented download — aria2c with 16 connections (falls back to yt-dlp's 8-fragment mode)
  • Episode range — download single episodes, ranges, or mixed selections
  • Skip existing — already-downloaded episodes are skipped automatically
  • Custom directory — anime --dir=/path/to/folder

How it works

  1. Searches AnimePahe API via curl_cffi (bypasses Cloudflare)
  2. Shows paginated episode list
  3. You pick episode range + quality
  4. yt-dlp downloads via kwik.cx extraction with segmented aria2c

Output

Files are saved as:

/sdcard/Anime/{Anime Title}/{Anime Title} - Ep001.mp4

Metadata

Release files for anime-termux 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anime-termux 1.0.5
File Size Uploaded
anime_termux-1.0.5.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anime-termux 1.0.5
File Interpreter ABI Platform
anime_termux-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 25.0 kB

Release files / anime_termux-1.0.5.tar.gz

Download URL anime_termux-1.0.5.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d5fdeb6856b35358b50e6a20d6e2ba6eb4538f9d30664ed30d7ecda89e78415e
BLAKE2b-256 checksum
How to use checksums
28db9a90d0a2e41b7368d452faad772c7f04c20c63d95663ab8eb0c81663b7fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / anime_termux-1.0.5-py3-none-any.whl

Download URL anime_termux-1.0.5-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba42f7d32f5a26ef33c5afdaec063c6c240573483d57eb985d08d245a15b280f
BLAKE2b-256 checksum
How to use checksums
9947f0b4f2d2a4009daa5272c8b40e91b78340a608431408e0a05c25a1ea028f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page