Skip to main content

Stream anime from your terminal

Project description

Aniterm

Stream anime from your terminal.

Requirements

  • mpv — video player
  • yt-dlp — streaming
  • curl_cffipip install aniterm[cloudflare] (needed for Cloudflare bypass)
  • python3
  • fzf — recommended for scrollable episode browser (apt/brew/pkg install fzf)

Install

pip install aniterm                    # from PyPI
pip install --upgrade aniterm          # update to latest
pip install aniterm[cloudflare]        # with Cloudflare bypass

Or run directly from the repo:

git clone https://github.com/amalxloop/aniterm.git
./aniterm/aniterm

Termux (Android)

pkg install mpv yt-dlp fzf python
pip install aniterm[cloudflare]

If your mpv doesn't support video (only null VO), aniterm auto-detects and opens the stream in Android's native video player.

Usage

aniterm <query>                   Search anime
aniterm <id>                      Browse episodes (fzf if installed)
aniterm <id> <ep>                 Play episode (subbed)
aniterm <id> <ep> -dub            Play dubbed episode
aniterm <id> <ep> -n              Next/prev prompt after playback
aniterm -i <query>                Interactive mode
aniterm <id> -i                   Pick episode interactively

Examples

aniterm cowboy bebop              # search (no keyword needed)
aniterm 1                         # list episodes
aniterm 1 1                       # play episode 1
aniterm 21 1000                   # play One Piece episode 1000
aniterm -i "attack on titan"      # interactive

Notes

  • Episode counts for ongoing anime (e.g. One Piece) are derived from AniList's nextAiringEpisode data
  • Transient 502 errors from the stream source are retried automatically (3 attempts with exponential backoff)
  • -dub may be unavailable for some anime; returns a clear error message if so

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

aniterm-1.0.20.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

aniterm-1.0.20-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file aniterm-1.0.20.tar.gz.

File metadata

  • Download URL: aniterm-1.0.20.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for aniterm-1.0.20.tar.gz
Algorithm Hash digest
SHA256 fa52508a02a9b474539add90e3996d9ad86cdeda21f3940e23539284dd587697
MD5 9b125cbeb91fd08d9762f632093c8c39
BLAKE2b-256 31d3e1a556c702dd51bbac76f220f9b9c7ab4fcd12b8347884ff8e3bdfd5e257

See more details on using hashes here.

File details

Details for the file aniterm-1.0.20-py3-none-any.whl.

File metadata

  • Download URL: aniterm-1.0.20-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for aniterm-1.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 11ec45d0656b9ce6b34f070a5ba53ffc966f36b0a2163cfdf7015a2e2cfa9b19
MD5 1fada1c095f28cdc4c38faa39e8521e6
BLAKE2b-256 0c20b353e8c5ec6bdbed3646be2d58fbef1a572fe4c46f25f97521c74000c634

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