Skip to content

Pemuda-Remek/ANIME-TUI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anime Streaming TUI

A terminal-based anime streaming application with multi-provider support.

Features

  • 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

Installation

# Install dependencies
pip install -r requirements.txt

# Install torrent streaming (optional, for Torrent provider)
npm install -g peerflix

Usage

python3 anime_tui.py

Navigation

  • ↑↓ - Navigate
  • - Select
  • / - Search
  • b - Back
  • q - Quit

Project Structure

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/

How It Works

Streaming Flow

  1. Search - Search anime across providers
  2. Select - Choose anime and episode
  3. Scrape - Get video servers
  4. Resolve - Extract direct stream URLs (if embed)
  5. Proxy - Route Google Video streams through local proxy
  6. Play - Stream in MPV

Torrent Flow

  1. Search - Search Nyaa.si for torrents
  2. Filter - Show seeders, resolution, size
  3. Stream - Stream via peerflix to localhost
  4. Play - Stream in MPV

Credits

  • Scrapers: Samehadaku, Otakudesu, Nyaa.si, Subscene
  • Torrent: peerflix
  • Player: MPV

NONTON-ANIME-STREMIO

About

A robust Terminal-based Anime Streaming & Downloader CLI. Features multi-provider support (Samehadaku, Otakudesu, Nyaa), automated stream resolving, and local MPV integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 93.4%
  • JavaScript 3.4%
  • CSS 2.0%
  • Other 1.2%