cinecli icon indicating copy to clipboard operation
cinecli copied to clipboard

CineCLI is a cross-platform command-line movie browser built with Python.


πŸ“‘ YTS API Status

YTS API Status

Status is automatically monitored every 15 minutes.
🟒 Green = Operational Β  β€’ Β  πŸ”΄ Red = Outage / API Down


🎬 CineCLI

Browse, inspect, and launch movie torrents directly from your terminal.
Fast. Cross-platform. Minimal. Beautiful.

Demo


Platform CLI Terminal

✨ Features

  • πŸ” Search movies from YTS
  • πŸŽ₯ View detailed movie information
  • 🧲 Launch magnet links directly into your torrent client
  • πŸ“¦ Download .torrent files if preferred
  • ⚑ Auto-select best torrent (highest quality + healthy seeds)
  • πŸ–₯ Cross-platform (Linux, macOS, Windows)
  • 🎨 Rich, clean terminal UI (powered by rich)
  • 🧠 Smart defaults with full user control

Built with Typer Built with Rich

πŸ“¦ Installation

pip install cinecli

Requires Python 3.11+


❄️ Nix / NixOS (flake support)

CineCLI includes first-class Nix flake support, so you can run it without installing Python or pip.

Run without installing (one-off)

nix run github:eyeblech/cinecli

Install to your profile

nix profile add github:eyeblech/cinecli

Then run:

cinecli

πŸ§ͺ From source (developers)

git clone https://github.com/eyeblech/cinecli.git
cd cinecli
pip install -e .

πŸš€ Usage

πŸ”Ž Search for movies

cinecli search matrix

Displays matching movies with IDs:

ID     Title                 Year   Rating
3525   The Matrix            1999   8.7
3526   The Matrix Reloaded   2003   7.2


🎬 Watch a movie

cinecli watch 3525

What happens:

  1. Shows movie details

  2. Lists available torrents

  3. Auto-selects the best option (you can override)

  4. Launches magnet or downloads .torrent


🧭 Interactive mode (recommended for exploration)

cinecli interactive

  • Search β†’ select movie β†’ choose torrent

  • Manual selection by design (safe & explicit)


βš™οΈ How magnet launching works

CineCLI delegates magnet handling to your OS.

That means:

  • Whatever torrent client is registered (qBittorrent, Transmission, etc.)

  • CineCLI will launch it directly

Example (Linux):

xdg-mime query default x-scheme-handler/magnet


🎞 Demo Video

Full terminal walkthrough:

https://github.com/user-attachments/assets/3e3df97f-d1e2-428f-a5a1-54cba121a2f8


πŸ›  Tech Stack

  • Python

  • Typer β€” CLI framework

  • Rich β€” terminal UI

  • Requests β€” API communication

  • YTS API β€” movie data source


πŸ“„ License

MITβ€”see LICENSE.

Use it. Fork it. Improve it.


πŸ™Œ Author

Built by eyeblech
πŸ“§ [email protected]


STAR the repo if you like it! ⭐

Open Source Maintained PRs Welcome

⭐ Star History

Star History