\

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

318 points - yesterday at 5:17 AM


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

Source
  • pedromoss

    yesterday at 8:03 AM

    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/

      • Frotag

        yesterday at 2:39 PM

        So torrentio provides the metadata and downloads the video on-demand. And stremio handles UI and playback. That's a pretty neat way to keep the storage reqs minimal.

        This got me thinking if jellyfin could be configured for something similar (I don't feel like migrating to yet-another-media-library) and turns out it supports .strm files [0], which are literally just urls in a text file (much like .m3u8 playlists) [1]. My use case is private trackers so I would have to write a custom scraper to replace the torrentio functionality anyways. So it probably wouldn't be too hard to have it generate .strm placeholders at the same time. Hopefully there aren't any performance / transcoding issues ...

        [0] - https://github.com/search?q=repo%3Ajellyfin%2Fjellyfin+strm&...

        [1] - https://emby.media/support/articles/Strm-Files.html

      • danr4

        yesterday at 9:29 AM

        shhhhhhhh

    • Twixes

      yesterday at 10:07 AM

      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

        • japborst

          yesterday at 10:11 AM

          RIP Popcorn Time. It was fucking amazing.

            • scirob

              yesterday at 10:51 PM

              could we not bring back popcorn time if it goes over to decentralized github : https://radicle.xyz/

              • squibonpig

                yesterday at 7:05 PM

                Is it actually gone? I found official looking sites on a quick Google.

                • scirob

                  yesterday at 10:48 PM

                  its strange how we can't just build software that then works for ever. The emulation boys got something going but netowkred software unlikley

                  • yesterday at 3:52 PM

            • unpopularopp

              yesterday at 7:54 AM

              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.

                • flave

                  yesterday at 7:56 AM

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

                    • unpopularopp

                      yesterday at 8:00 AM

                      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

                    • voidUpdate

                      yesterday at 8:12 AM

                      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

                        • _zoltan_

                          yesterday at 9:20 AM

                          that seems like a lot of work compared to click click watch that one can achieve with *arr stack.

                            • throwaway98753

                              yesterday at 12:17 PM

                              And if you don't want to torrent at all, there are recent tools (nzbdav) to build a large *arr library that streams directly from usenet, without need for self-storage

                                • _zoltan_

                                  yesterday at 6:14 PM

                                  in several countries it's fully legal to download anything for personal use, so I don't care :P

                              • voidUpdate

                                yesterday at 9:33 AM

                                Sure, but this way I know what I'm getting, rather than just hoping I get the right thing. I don't mind doing a little bit of cleanup to make sure I'm getting what I want

                                  • squigz

                                    yesterday at 12:02 PM

                                    Just to be fair, the *arr stack can filter by various things so you only grab the releases that meet your requirements.

                            • IlikeKitties

                              yesterday at 12:01 PM

                              Can you please reconsider using TOR for piracy? It strains the Tor Network and makes life harder for exit node providers. The Tor Project has advised against it as well[0]. There are many cheap VPN Providers that allow port forwarding and will give you an even better torrenting experience.

                              Using the Tor-Browser to get the links on ThePirateBay et. al. is of course fine, torrenting the content though is where it becomes a problem.

                              [0] https://support.torproject.org/about-tor/using-and-sharing/t...

                                • voidUpdate

                                  yesterday at 12:33 PM

                                  I don't torrent through tor, I just use it to get the links. I've found that if I use TPB on the normal internet, my ISP (or someone who can see my connections) seems to be poisoning the results, since all my torrents result in a 1.89gb executable file that I'm sure as hell not opening. Getting the links through tor doesn't have the same issue, and then I download them over the normal internet, and everything works fine

                                    • meindnoch

                                      yesterday at 3:56 PM

                                      Impossible. How would your ISP (or VPN provider or anyone) be MITMing the TLS connection to TPB?

                                      • OptionOfT

                                        yesterday at 5:04 PM

                                        There is an uptick of isos and exes masqueraded to look like episodes of popular shows.

                                        • gs17

                                          yesterday at 4:45 PM

                                          > 1.89gb executable file

                                          Add me to the list of people curious about this. It feels more like some sort of bug than a real attack, it would be odd to use such a huge file for every torrent.

                                          • bigmadshoe

                                            yesterday at 1:24 PM

                                            If you're connecting through a VPN there is no way for your ISP to know that you're using TPB or any other website.

                                              • hypercube33

                                                yesterday at 1:55 PM

                                                They can if you let DNS leak to their servers so make sure you really firewall your ship off

                                                • voidUpdate

                                                  yesterday at 1:30 PM

                                                  I know, that's why I use tor to get the links

                                              • IlikeKitties

                                                yesterday at 3:46 PM

                                                Can you share the magnet link that they send you and maybe the name of your ISP? I'd be super interested in analysing this!

                                                  • voidUpdate

                                                    yesterday at 3:54 PM

                                                    I'll try to remember to but it'll be about 16 hours away

                                            • hombre_fatal

                                              yesterday at 1:06 PM

                                              On the other hand, the system would be doomed if it relied on 1:1 message board scolding the few good actors to be viable.

                                      • cantalopes

                                        yesterday at 9:03 AM

                                        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

                                          • BeetleB

                                            yesterday at 9:11 PM

                                            > 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.

                                            For people like me, knowing what to watch is never a problem. Getting time to actually watch it is.

                                            I suggest finding a way to do your own curation.

                                            For movies, you could just start with the IMDB Top 250 (pick at random). They used to have other lists (e.g. top non-English movies, etc), but I can't seem to find them any more.

                                            • hambos22

                                              yesterday at 9:59 AM

                                              > I know people also use *arr stack ... i never /know/ what to watch

                                              For discoverability you should check overseerr, which is pluggable via API to sonarr and radarr

                                              • rochansinha

                                                yesterday at 6:13 PM

                                                I have been using realdebrid with POV on kodi and it works like a charm. Saving a bunch by not needing to subscribe to what seems like a million OTT’s

                                            • colinsane

                                              yesterday at 9:30 AM

                                              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.

                                                • tomtomtom777

                                                  yesterday at 11:44 AM

                                                  This is neat. I didn't realize this was possible with the protocol. Thanks!

                                              • elliotec

                                                yesterday at 7:57 AM

                                                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.

                                                • g947o

                                                  yesterday at 11:55 AM

                                                  For old content I often spin up the old RARBG database.

                                                  Too bad it's gone.

                                          • hauxir

                                            yesterday at 9:41 AM

                                            built something similar but a webapp where you can search using any tracker supported by jackett and stream in your browser, can have a look here https://github.com/hauxir/rapidbay

                                            • indigodaddy

                                              yesterday at 5:45 PM

                                              Assuming we could uv run/tool install this or whatever is the best quick/easy way with uv?

                                                • nemoniac

                                                  yesterday at 8:32 PM

                                                  uvx cinecli search "star wars"

                                              • bryanrasmussen

                                                yesterday at 8:39 AM

                                                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.

                                                  • bryanrasmussen

                                                    yesterday at 7:16 PM

                                                    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.

                                                    • brendami-8

                                                      yesterday at 9:05 AM

                                                      How do you stream a timestamp?

                                                    • cbluth

                                                      yesterday at 8:53 AM

                                                      How do you stream a timestamp?

                                                        • bryanrasmussen

                                                          yesterday at 5:51 PM

                                                          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.

                                                            • cbluth

                                                              today at 3:21 PM

                                                              No, I totally misunderstood.

                                                              I vibe coded a little tool [0] that can stream range requests from torrents.

                                                              It's a little buggy and super rough around the edges, but it's definitely possible because your torrent client can prioritize piece requests and http standards support http range requests, just requesting parts of a document. I lightly tested it with VLC and seeking the playback to the middle of a video

                                                              [0] https://github.com/cbluth/bittorrent

                                                          • reactordev

                                                            yesterday at 12:27 PM

                                                            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.

                                                    • G_o_D

                                                      yesterday at 3:15 PM

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

                                                      • mikalauskas

                                                        today at 3:35 AM

                                                        This is just a yts API wrapper

                                                        • backtogeek

                                                          yesterday at 12:31 PM

                                                          looks pretty cool, will add it to the never ending list of stuff to test

                                                          • seyz

                                                            yesterday at 10:03 AM

                                                            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

                                                              • nmstoker

                                                                yesterday at 11:29 AM

                                                                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!

                                                                  • samsep10l

                                                                    today at 2:23 PM

                                                                    wow , you tryna fck me or what!

                                                                • godelski

                                                                  yesterday at 12:36 PM

                                                                  Ironically their GitHub profile links to their monkeytype profile. But really, they just need to learn some basic ffmpeg...

                                                                    • samsep10l

                                                                      today at 2:24 PM

                                                                      i think you need to learn some fcking basic manners , duh!

                                                                  • mlrtime

                                                                    yesterday at 12:14 PM

                                                                    Came here for this comment, that was the slowest video ever hah. Couldn't watch till the end.

                                                                    Also OP, you have a pip update!

                                                                      • samsep10l

                                                                        today at 2:25 PM

                                                                        get out!

                                                                        anyway i have updated my demo.gif

                                                                        enjoy

                                                                        don't you ever talk about my pip update, biitch!

                                                                • orliesaurus

                                                                  yesterday at 5:04 PM

                                                                  W for pirates

                                                                  • 0nabilbk

                                                                    yesterday at 1:56 PM

                                                                    Great Job, Love the idea

                                                                    • philonoist

                                                                      yesterday at 9:17 AM

                                                                      Hopefully there is a Libgen version of this.

                                                                      • Datagenerator

                                                                        yesterday at 7:32 AM

                                                                        Thank you for creating this!

                                                                        • tinuviel

                                                                          yesterday at 9:10 AM

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

                                                                            • notachatbot123

                                                                              yesterday at 9:24 AM

                                                                              PSA: It is NSFL, don't be curious and ruin your day.

                                                                              • Dilettante_

                                                                                yesterday at 12:16 PM

                                                                                I assume OP knows what the word they use as their alias means?

                                                                                  • samsep10l

                                                                                    today at 2:26 PM

                                                                                    are you fcking dumb!

                                                                                • g947o

                                                                                  yesterday at 11:58 AM

                                                                                  I'm confused -- how is that related to the topic here?

                                                                                    • herghost

                                                                                      yesterday at 5:09 PM

                                                                                      the linked Github repo shares the name

                                                                                      • godelski

                                                                                        yesterday at 12:32 PM

                                                                                        [flagged]

                                                                                    • cachius

                                                                                      yesterday at 9:24 AM

                                                                                      This community was banned for repeatedly violating Reddit's Moderator Code of Conduct.

                                                                                      • zwnow

                                                                                        yesterday at 9:15 AM

                                                                                        So people cant name their project in a way cuz of some reddit gooners? Fuck reddit lol

                                                                                          • samsep10l

                                                                                            today at 2:26 PM

                                                                                            i am goona give my ass to you

                                                                                            • kiddico

                                                                                              yesterday at 9:18 AM

                                                                                              Not that kind of nsfw.

                                                                                                • zwnow

                                                                                                  yesterday at 10:09 AM

                                                                                                  Maybe nsfl would have been more fitting then

                                                                                      • samsep10l

                                                                                        yesterday at 5:48 AM

                                                                                        leave a feedback folks:|

                                                                                          • cfcfcf

                                                                                            yesterday at 7:18 AM

                                                                                            Perhaps consider a public domain film for the demo?

                                                                                            https://en.wikipedia.org/wiki/List_of_films_in_the_public_do...

                                                                                            • brrrrrm

                                                                                              yesterday at 7:15 AM

                                                                                              looks cool! one bit of feedback: make your demo gif get to the point faster. either practice typing a bit quicker or speed it up 2x for the typing section

                                                                                            • g947o

                                                                                              yesterday at 12:10 PM

                                                                                              Might want to add a disclaimer/warning and/or add additional confirmation/wording before downloading. You don't want your user to go to jail because of a mistake that could be avoided: https://news.ycombinator.com/item?id=46364645

                                                                                              • shlip

                                                                                                yesterday at 7:44 AM

                                                                                                Great tool I would have loved back when I watched movies :) Could the same be done for music ?

                                                                                                • vibesareoff

                                                                                                  yesterday at 7:50 AM

                                                                                                  >Use it. Fork it. Improve it.

                                                                                                  These———LLM———slop———READMEs———make———me———vomit.

                                                                                                    • latexr

                                                                                                      yesterday at 9:54 AM

                                                                                                      The emoji everywhere is what does it for me. Emoji on every title. Emoji on every item of a list. The same ones over and over. So much visual noise. They’re used like a deficient visual crutch.

                                                                                                        • mr_mitm

                                                                                                          yesterday at 10:49 AM

                                                                                                          I always tell my LLMs: "Try not to sound like an LLM. And no emojis!"

                                                                                                          Works alright.

                                                                                                      • samsep10l

                                                                                                        today at 2:27 PM

                                                                                                        suck my blck diick

                                                                                                        • shaky-carrousel

                                                                                                          yesterday at 12:26 PM

                                                                                                          Most boring part of developing is writing docs. I see it as boilerplate. If you don't like it, you're free to open a PR.

                                                                                                            • vibesareoff

                                                                                                              yesterday at 12:42 PM

                                                                                                              The whole repo is fucking boilerplate.

                                                                                                          • _zoltan_

                                                                                                            yesterday at 9:20 AM

                                                                                                            Get used to it. Nobody will write readmes by hand. I've always hated it and now I'll just let the LLM write it.

                                                                                                              • thinkingemote

                                                                                                                yesterday at 9:35 AM

                                                                                                                It's certainly a sign of something. Not positive at best neutral. As you say it's at best an indication that the author doesn't like writing.

                                                                                                                Could it be an indication that the author didn't write the actual code? Is it a sign that the author doesn't really care that much about their project and furthermore could that be a sign that the project is also be be valued by us as much as the author? Maybe the code quality and documentation is less important than the utility. After all many of us don't like writing tests for code!

                                                                                                                Perhaps but perhaps we just need to get used to these signs too and get over it.

                                                                                                                  • samsep10l

                                                                                                                    today at 2:30 PM

                                                                                                                    [flagged]

                                                                                                                • KeplerBoy

                                                                                                                  yesterday at 10:14 AM

                                                                                                                  Then get some freaking taste in READMEs. We can guide the LLMs to better results.

                                                                                                                  • latexr

                                                                                                                    yesterday at 10:02 AM

                                                                                                                    This argument is getting old. Just because you don’t like something, it doesn’t mean everyone agrees and will take the same shortcuts you do. Fortunately not everyone in the world has the same disregard for their own work, and many of us understand the signal it sends when you’re unwilling to even write your own instructions.

                                                                                                                    If you want your READMEs sloppily written by LLMs, that’s your prerogative. Just like it’s the prerogative of everyone visiting your repo and bumping into a slop README to decide if they want to even give your tool a second look before abandoning it.

                                                                                                                    Slop READMEs suggest slop code. Soon everyone who’ll even look at your code are other sloppers and (if it ever gets popular) malicious actors who’ll exploit it in an afternoon because no users understand anything the code does.

                                                                                                                      • samsep10l

                                                                                                                        today at 2:31 PM

                                                                                                                        my pussy gets very wet and sloppy

                                                                                                                        • _zoltan_

                                                                                                                          yesterday at 6:14 PM

                                                                                                                          the world is moving towards this, so all the naysayers will be dinosaurs :-)

                                                                                                                      • nurettin

                                                                                                                        yesterday at 9:29 AM

                                                                                                                        It used to be "don't try to outsmart the compiler", I'm waiting for the time people start saying the same thing about LLMs.

                                                                                                                          • rvz

                                                                                                                            yesterday at 9:54 AM

                                                                                                                            "you're absolutely right!"

                                                                                                            • yesterday at 2:11 PM

                                                                                                              • 0x457

                                                                                                                yesterday at 6:17 PM

                                                                                                                Torrenting without seeding should be a crime.

                                                                                                                  • jklein11

                                                                                                                    yesterday at 6:24 PM

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

                                                                                                                • dcreater

                                                                                                                  yesterday at 12:24 PM

                                                                                                                  Looks vibe coded.

                                                                                                                    • backtogeek

                                                                                                                      yesterday at 12:32 PM

                                                                                                                      Probably is, nice that people who do other things apart from learning to code all day can get their ideas out of their heads.

                                                                                                                  • behnamoh

                                                                                                                    yesterday at 7:19 AM

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

                                                                                                                      • Barathkanna

                                                                                                                        yesterday at 7:33 AM

                                                                                                                        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.

                                                                                                                          • g947o

                                                                                                                            yesterday at 12:06 PM

                                                                                                                            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.

                                                                                                                              • samsep10l

                                                                                                                                today at 2:33 PM

                                                                                                                                this is a kinda feedback i needed , thanks bitch you awesome

                                                                                                                            • caminante

                                                                                                                              yesterday at 10:20 AM

                                                                                                                              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)

                                                                                                                          • haunter

                                                                                                                            yesterday at 7:27 AM

                                                                                                                            Yes, it’s just a plain CLI access to YTS torrents

                                                                                                                                BASE_URL = "https://yts.lt/api/v2"

                                                                                                                              • samsep10l

                                                                                                                                today at 4:25 AM

                                                                                                                                kinda , yeah - sickos

                                                                                                                            • dewey

                                                                                                                              yesterday at 7:24 AM

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

                                                                                                                              • welferkj

                                                                                                                                yesterday at 7:44 AM

                                                                                                                                Standard precautions apply when using the internet while under authoritarian jurisdictions.

                                                                                                                                  • caminante

                                                                                                                                    yesterday at 10:15 AM

                                                                                                                                    >authoritarian

                                                                                                                                    Copyright is widely adopted even in the most liberal democracies.

                                                                                                                                      • yesterday at 6:21 PM