{"id":25411315,"url":"https://github.com/dynnian/flix-cli_win","last_synced_at":"2025-04-14T08:27:55.486Z","repository":{"id":277193223,"uuid":"931640542","full_name":"dynnian/flix-cli_win","owner":"dynnian","description":"A very cool Windows PowerShell script that allows you to search and stream torrent files.","archived":false,"fork":false,"pushed_at":"2025-02-12T16:07:04.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T17:21:42.141Z","etag":null,"topics":["command-line","fzf","mpv","powershell","torrent","webtorrent-cli"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dynnian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-12T16:06:18.000Z","updated_at":"2025-02-12T16:09:07.000Z","dependencies_parsed_at":"2025-02-12T17:21:44.472Z","dependency_job_id":"b8627762-6a5c-44eb-970f-c4936c72d1c9","html_url":"https://github.com/dynnian/flix-cli_win","commit_stats":null,"previous_names":["dynnian/flix-cli_win"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynnian%2Fflix-cli_win","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynnian%2Fflix-cli_win/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynnian%2Fflix-cli_win/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynnian%2Fflix-cli_win/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynnian","download_url":"https://codeload.github.com/dynnian/flix-cli_win/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248845141,"owners_count":21170710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","fzf","mpv","powershell","torrent","webtorrent-cli"],"created_at":"2025-02-16T10:17:07.166Z","updated_at":"2025-04-14T08:27:55.461Z","avatar_url":"https://github.com/dynnian.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flix-cli (Windows Version)\n\nflix-cli is a command-line tool for searching and streaming movies using magnet links and [webtorrent-cli](https://github.com/webtorrent/webtorrent-cli).\n\n## How It Works\n\nflix-cli is a PowerShell script that scrapes movies from 1337x to retrieve magnet links, enabling you to stream movies directly in your terminal using `mpv` and `webtorrent-cli`. The script relies on utilities available in Windows, including PowerShell and `fzf` for interactive selection.\n\n## Warning\n\n- **Use a VPN:** This script retrieves torrents from 1337x, which is a torrent site that ISPs usually don't like. Always use a VPN.\n- **NSFW Content:** The script doesn't filter out NSFW content. Be cautious.\n- **No Series Support:** Currently, the script does not support TV series and will play a random episode if a series is searched. A workaround is to search for specific episodes.\n\n## Requirements\n\n- [Node.js](https://nodejs.org/) and npm\n- [webtorrent-cli](https://github.com/webtorrent/webtorrent-cli)\n- [mpv Media Player](https://mpv.io/)\n- [fzf](https://github.com/junegunn/fzf)\n\n## Installation\n\n### Using the Setup Script\n\n1. Install scoop if you don't have it, from [here](https://scoop.sh/). If you do, then skip this.\n\n2. Install git with scoop\n\n    ```\n    scoop install git\n    ```\n\n2. Clone the repository:\n\n    ```\n    git clone https://github.com/d4r1us-drk/flix-cli_win.git\n    cd flix-cli_win\n    ```\n\n3. Run the setup script to install dependencies and configure the script:\n\n    ```\n    .\\setup.ps1\n    ```\n\nThe setup script will:\n\n- Install required dependencies using Scoop if they are not already installed.\n- Install `webtorrent-cli` globally using npm.\n- Install the `flix-cli` script to a user directory (`$HOME\\AppData\\Local\\flix-cli\\bin`).\n- Add the installation directory to your PATH.\n\nRestart your terminal to apply the updated PATH.\n\n## Usage\n\nTo search for a movie, use the following command:\n\n```powershell\nflix-cli.ps1 \u003csearch\u003e\n```\n\nAlternatively, you can enter the program to get a search prompt by simply running:\n\n```powershell\nflix-cli.ps1\n```\n\nThe search results will be displayed in the following format:\n\n- **First column:** Total size of the file.\n- **Second column:** Name of the torrent (including details like quality, video codec, audio codec, etc.).\n- **Third column:** Seeders and leechers.\n\nAfter selecting a torrent, you can choose whether to stream it using `mpv` or download it to a specified directory.\n\n## Uninstallation\n\nTo uninstall flix-cli, run the setup script with the `-Uninstall` flag:\n\n```powershell\n.\\setup.ps1 -Uninstall\n```\n\nThe uninstallation process will:\n\n- Remove the `flix-cli` installation directory.\n- Remove the installation directory from your PATH.\n\nRestart your terminal to apply the updated PATH.\n\n## Alternatives\n\nHere are some alternatives for streaming other types of content:\n\n- **Anime:** [ani-cli by pystardust](https://github.com/pystardust/ani-cli)\n- **YouTube:** [ytfzf by pystardust](https://github.com/pystardust/ytfzf)\n\n## License\n\nThis project is licensed under the [GPL-3.0 License](https://raw.githubusercontent.com/Illumina/licenses/master/gpl-3.0.txt).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynnian%2Fflix-cli_win","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynnian%2Fflix-cli_win","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynnian%2Fflix-cli_win/lists"}