A Go application for browsing and downloading movies and TV shows. Available as both a terminal UI (TUI) and a web app.
Inspired by cinecli by @eyeblech.
- π Multiple search sources:
- YTS - High quality movie torrents
- Torrents-CSV - General torrents (movies, TV shows, and more)
- π¬πΊ View detailed movie & TV show information (enriched with IMDB data via OMDB)
- πΊ TV Show Support - Automatic detection of TV series with season counts, episode runtimes, creators
- π Search results sorted by IMDB popularity
- π Pagination - Navigate through large result sets
- π§² Generate magnet links
- π¦ Download
.torrentfiles - β‘ Auto-select best torrent (highest quality + healthy seeds)
- π₯ Cross-platform (Linux, macOS, Windows, FreeBSD)
Terminal-based interface built with Bubble Tea.
go build -o c-cli .
# With OMDB API key (recommended - enables ratings, cast, plot, sorted by popularity)
OMDB_API_KEY=your_key ./c-cli
# Without OMDB (basic mode)
./c-cli㪠CineCLI - Movie Browser
π Search for movies:
> inception
| Key | Action |
|---|---|
β/β or j/k |
Navigate lists |
β/β or [/] |
Previous/Next page (search results) |
Enter |
Select / Show magnet link |
0-9 |
Select torrent by index |
Tab |
Switch source (search) / Switch sections |
Esc |
Go back |
a |
Auto-select best torrent |
m |
Show magnet link |
t |
Download .torrent file |
Ctrl+C |
Quit |
Create ~/.config/c-cli/config.toml:
search_limit = 50
download_dir = "~/Downloads"
omdb_api_key = "your_key_here" # Optional, or use OMDB_API_KEY env var
search_source = "yts" # "yts" or "torrents-csv"With OMDB enabled:
- Search results sorted by IMDB popularity (vote count)
- Full movie/TV show details: rating, runtime, director/creator, cast, plot
- TV shows display season count and episode runtime
- IMDB ratings instead of YTS ratings
Search sources:
- yts - High quality movie torrents (default)
- torrents-csv - General torrents including TV shows
Web-based interface with OMDB/IMDB integration for rich movie and TV show metadata.
cd c-cli-web
go build -o c-cli-web .
# With OMDB API key (recommended - enables posters, ratings, cast, plot)
OMDB_API_KEY=your_key ./c-cli-web
# Without OMDB (basic mode)
./c-cli-webThen open http://localhost:8000
- π Multiple search sources: YTS (movies) or Torrents-CSV (all)
- π¬πΊ Movie and TV show posters in search results and details
- πΊ TV Show Support:
- Automatic detection of TV series vs movies
- Season count display
- Episode runtime
- Creator information (instead of director)
- Series type badges in search results
- β IMDB ratings, runtime, genres, director/creator, cast
- π Results sorted by IMDB popularity
- π Full plot descriptions
- π§² Magnet links with copy to clipboard
- β¬ Download
.torrentto server - πΎ Download
.torrentto your browser - π§² Torrent Cache Integration - Fetches .torrent files from cache services for Torrents-CSV
- π Click poster to open IMDB page
- π Dark theme UI
| Variable | Default | Description |
|---|---|---|
PORT |
8000 |
Server port |
HOST |
127.0.0.1 |
Bind address |
DOWNLOAD_DIR |
$HOME |
Server download directory |
OMDB_API_KEY |
(none) | Get free key |
See c-cli-web/README.md for full documentation.
- Go - Programming language
- Bubble Tea - TUI framework
- Lip Gloss - TUI styling
- YTS API - Movie/torrent data
- Torrents-CSV API - General torrent search
- OMDB API - IMDB metadata (optional, both versions)
