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.22.tar.gz (20.9 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.22-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aniterm-1.0.22.tar.gz
  • Upload date:
  • Size: 20.9 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.22.tar.gz
Algorithm Hash digest
SHA256 c5a212a7c396b3d599f6f3df579e3c02c0b9897084d1ecb1d07bdcb331bf5ab1
MD5 ff3017e665f7827a263787bc9521f62d
BLAKE2b-256 2e184ecd21f80193e22776c3d86d7ed15bd11af05df596cd6605db4950615786

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aniterm-1.0.22-py3-none-any.whl
  • Upload date:
  • Size: 20.4 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.22-py3-none-any.whl
Algorithm Hash digest
SHA256 64b874a27fe6f55b163db7ddfb2c81b4ecabff9fc6d4a6faf81191e3e338b7d0
MD5 7991d86b78f78cc07e9905d6fa099394
BLAKE2b-256 705dea693781d8907e0ac2b412a8c6c79b7f283ff0e2dcdcf84b12f327eb77ac

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