
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Search and stream torrents from your command line.
You'll need to have VLC, Node, and peerflix installed on your machine.
##Installing
It's just a simple npm install -g termflix
. Boom.
termflix play [magnet] --vlc
Just pass in a magnet link to a torrent and it'll start streaming to your VLC player. Here's an example magnet link to try it out: magnet:?xt=urn:btih:31ff6c7f8af99bdbc2d5f022367bc6b85bd613ee
termflix search [query] --order [orderBy] --category [category]
You can use this to search the pirate bay for torrents. Make sure you wrap your search in quotes! A list of torrents will come up and you can just hit enter on one of them to open the stream in VLC. You can use the --order option to order the results. The valid orderBy options are "seeds" (default), "name", "date", "size", and "leeches". You can also add a category to filter the results. The valid categories are "movies", "tv", and "anime".
termflix marathon
When you select a torrent with multiple files in its folder, you will have the choice to enable marathon mode for that folder. If you do, just type this command to select a file from that folder instead of having to go search for the folder again. This is perfect for marathoning entire seasons of shows!
termflix vendor [api]
Termflix currently supports using two search APIs: Strike and The Pirate Bay. Since torrent sites can be a little volatile, one or the other may go down every now and then. You can switch the primary search API by using this command with "strike" or "tpb" as the [api] field. Also, if the primary API fails, it'll fallback to trying the second API. If both of them fail, it's not your lucky day..
VLC Has Issues Quitting
When you have a stream open in VLC, don't terminate termflix in the command line because VLC will complain and you'll have to force quit it. You should stop the stream by quitting VLC instead. This issue should be solved soon. If you want to help fix this, send a pull request my way!
##Shoutouts Termflix stands on the back of some giants so I wanted to make sure they're mentioned here. Peerflix and torrent-stream are two amazing repos for doing anything related to streaming torrents. Strike is the default torrent searching API. I think you all know The Pirate Bay. Termflix uses an API wrapper to access their torrents.
##Contact This is the first time I've written a node cli tool so let me know if there's some better ways to structure the code! Always open to a code review :) You can open an issue, send me a tweet (@rjun07a), or shoot me an email if you want to get in touch. I'll try to get back to you quickly.
FAQs
Search and stream video torrents from your command line!
The npm package termflix receives a total of 0 weekly downloads. As such, termflix popularity was classified as not popular.
We found that termflix demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.