Show HN: CineCLI – Browse and torrent movies directly from your terminal

1 month ago (github.com)

Hi HN

I built CineCLI — a cross-platform terminal app to browse movies, view details, and open torrents directly in your system torrent client.

Features: - Search movies from the terminal - Rich UI with ratings, runtime, genres - Interactive & non-interactive modes - Magnet handling via system default client - Linux/macOS/Windows support - No ads, no tracking

GitHub: https://github.com/eyeblech/cinecli PyPI: https://pypi.org/project/cinecli/

Would love feedback from terminal + Python folks

Great job! I've achieved comparable results on my Android TV with Stremio[1] and the Torrentio[2] plugin. Being able to use the terminal for streaming would be a nice thing to have in Linux. It would also be cool to check for malicious files before downloading.

[1]: https://www.stremio.com [2]: https://torrentio.org/

An echo of Popcorn Time can he heard bouncing around the software cathedral… The takedown notices will start coming in if CineCLI is too easy to use! Though looks like it doesn't play anything itself – _might_ be safe

If you know how to use a CLI tool then you could also know how to download proper high quality releases without much effort. No private tracker and interview shenanigans. YTS is a bottom of the barrel quality. I actually don't even see who is the target audience of this unless you just made as an exercise to build an app on top of an API.

  • Where’s good these days? I’m feeling my old Napster ways bubbling back up from the deep…

    • First of all this the ground 0 for everything piracy (and more, generally free stuff) https://fmhy.net/

      Here are the recommended film sites https://fmhy.net/video#torrent-sites

      I generally download from https://rutracker.org/ (need an account to search not for downloading). They have pretty much everything that you can imagine (not just films) and in proper quality too (BD Remuxes etc). There will be no scene releases here because they add russian/ukrainian dubs and subs to almost all films but that's a small problem.

      The other one is Heartive which lists torrents from the DHT network with Magnet links https://heartiveloves.pages.dev/ You just click on the torrent icon in the middle top of the selected film and all the available releases will be listed in plain text. The only downside that you need to be familiar with the release tags

      Last but not least https://nyaa.si/ if you have a slight interest in anything japanese from manga to anime to much more

      3 replies →

    • I just use ye old faithful of piratebay, through the tor browser so my ISP doesn't do shenanigans to it, then ffmpeg to get only the streams I care about (video, english audio / japanese audio + english subtitles) and reencode it to h264 mp4 so the files aren't gigantic and are compatible with everything. A bit old-school maybe but it generally works fine for me.

      I live in the UK so I'll also sometimes pull stuff from iPlayer, which yt-dlp works perfectly for, and also off youtube

      16 replies →

    • I highly recommend setting up a kodi combo: real-debrid/fen/seren/coco scrapers/tmdb helper with your trakt account/arctic fuse 2 (netflix like skin). It is a complete "stream everything" netflix interface.

      It takes quite a while to understand how to set everything up and needs tons of customization (which is also a positive), but reddit is your friend. For example this is a good guide (although bit dated, some info may be older but generally it still fits https://www.reddit.com/r/Addons4Kodi/comments/zzfdtb/allincl... )

      I know people also use *arr stack and jellyfin to setup their own library but my problem is that i never /know/ what to watch. With this setup, i just turn it on, get to browse customized/recommended and random lists like in netflix and it streams directly via real-debrid or premiumize

      Oh; if you decide to have a dedicated raspberry pi for this thing (so you can use it with tv easilly), use a regular raspbian os or something, do NOT use libreelec. It is trying to be heavily customized, but in the end is just worse, buggy, bad wifi support, slow releases from small team, and unability to manually update packages

      3 replies →

    • for public torrents, skip the trackers and just run a DHT crawler like bitmagnet. it'll take a month to "catch up", but after that you'll have more indexed content than any individual tracker & it'll be way snappier.

      1 reply →

    • Same, I know how to use a terminal quite well but don’t know the latest best way to “sail the seas” as they say.

What I'd like - a tool to stream to timestamps and then stream out between two timestamps to a local file.

This would really improve various workflows.

  • in fact I will point out that if this were possible and people had a lot of data of people using streaming out sections of torrents instead of the whole stream it would be another bit of evidence for torrents being used for fair use.

  • How do you stream a timestamp?

    • I'm not sure if you're being facetious and making fun of my saying stream a timestamp instead of stream to a particular time in the video, but if so I guess https://news.ycombinator.com/item?id=46364765 suggested a way.

      I just expected you would stream to point X in the stream that would be to the timestamp set to start and then to point y which would be the end. Obviously it would have to be able to figure out how the streamed file would map to time, which I don't know how to do which is why I said I would like a tool that did it other than announcing I made a tool that did it myself.

      Of course obviously some tools like yt-dlp etc. have this capability with the --download-sections property but I want something for torrents.

      1 reply →

    • You negotiate the header to find the video length, to then issue http get requests with the offset to the timestamp. Sometimes there’s an API that cuts with ffmpeg and returns the buffer. Sometimes you just need to fetch the raw bytes between offset+0 and offset+n.

Terrarium TV Was OG which gave rise to forks like corn Time, Cinema APK, TeaTV, BeeTv

leave a feedback folks:|

I honestly couldn't tell if the GIF was lagging or if that's the actual typing speed. I give lessons to help reach double digit WPM if you're interested

  • Yes, this seems something that would be so easy to get right.

    Not to take away from the achievement of this repo but no one benefits from a recording where the person doing it hasn't decided up front what they're going to demo and then ponders if they type magnet or just delete it and go with the default. If someone has gone to this much effort with a project, surely they can do a few fun throughs, till they can demo it smoothly. Sure, leave pauses, for people to follow what's actually happening but don't draw out the typing, that's just painful!

YSK there is a (seemingly famous) subreddit named eyeblech that is pretty graphic/NFSW.

Torrenting without seeding should be a crime.

  • Depending on the content you are torrenting it might be a crime. That goes for Torrenting while seeding too though

    • I'm aware of the current state of things. I was making a joke out of frustration with 99% of torrent participators not having the entire movie to seed and leaving seeding as soon as they stopped watching.

does it violate ISP terms (like at&t)? how to make it less obvious to them?

  • the tool itself doesn’t change anything from the ISP’s perspective. It just fetches metadata and opens magnet links. What matters is what you download, where you live, and how your torrent client behaves, not whether you clicked the magnet in a browser or a terminal.

    • I think the issue is the lack of disclaimer/warnings in the CLI, unlike what most torrent sites do. These sites are very considerate, e.g. for YTS

      > Warning! > > If you are not using a VPΝ already: Accessing and Playing Torrents on a Smartphone is risky and dangerous. You may be in [City, Country] and using: () . Your IP is [IP] . We strongly recommend all users protecting their device with a VPΝ.

      I couldn't find anything in the CLI, at least from that gif.

      Someone who is new or less "experienced" in this might not be aware that they need to use a VPN or similar, since the CLI makes it so easy to search and download. Even you are an experienced user, you may misread and start torrenting by mistake before connecting to VPN.

      One could argue this is a serious bug.

      1 reply →

    • The subject is movies (cough copyrighted), not Linux distros.

      This is an important caveat to raise for someone experimenting.

      To your point, it's the upload that gets you in trouble in the US (assuming possession is not illegal in itself)

  • That depends entirely on what you download, the country you are in and your ISP.