A terminal-based anime streaming application with multi-provider support.
-
Multi-Provider Support:
- 🎬 Samehadaku
- 🔵 Otakudesu
- 🎲 Torrent (Nyaa.si)
-
Smart Streaming:
- Local proxy for Google Video streams
- Automatic header handling
- Torrent streaming via peerflix
-
Server Verification:
- Blacklist for dead servers
- Whitelist for trusted servers
- Fast concurrent verification
# Install dependencies
pip install -r requirements.txt
# Install torrent streaming (optional, for Torrent provider)
npm install -g peerflixpython3 anime_tui.py↑↓- Navigate⏎- Select/- Searchb- Backq- Quit
samehadaku-addon/
├── anime_tui.py # Main TUI application
├── requirements.txt # Python dependencies
├── manifest.json # App metadata
│
├── scrapers/ # Scraper modules
│ ├── samehadaku_scraper.py
│ ├── otakudesu_scraper.py
│ ├── nyaa_scraper.py # Torrent scraper
│ ├── subscene_scraper.py
│ └── sokuja_scraper.py
│
├── utils/ # Helper modules
│ ├── embed_resolvers.py # Extract direct URLs from embeds
│ ├── stream_proxy.py # Local streaming proxy
│ ├── torrent_stream.py # Torrent streaming helper
│ └── link_verifier.py # Server verification
│
└── archive/ # Old test/debug files
├── tests/
└── debug/
- Search - Search anime across providers
- Select - Choose anime and episode
- Scrape - Get video servers
- Resolve - Extract direct stream URLs (if embed)
- Proxy - Route Google Video streams through local proxy
- Play - Stream in MPV
- Search - Search Nyaa.si for torrents
- Filter - Show seeders, resolution, size
- Stream - Stream via peerflix to localhost
- Play - Stream in MPV
- Scrapers: Samehadaku, Otakudesu, Nyaa.si, Subscene
- Torrent: peerflix
- Player: MPV