{"id":13493655,"url":"https://github.com/Roshan-R/termv","last_synced_at":"2025-03-28T12:32:11.575Z","repository":{"id":38243929,"uuid":"359111445","full_name":"Roshan-R/termv","owner":"Roshan-R","description":"A terminal iptv player written in bash","archived":false,"fork":false,"pushed_at":"2023-11-09T05:42:33.000Z","size":76,"stargazers_count":253,"open_issues_count":7,"forks_count":22,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-15T19:16:32.043Z","etag":null,"topics":["bash","cli","command-line","fzf","linux","makefile","mpv","shell","shell-script","terminal","tv"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Roshan-R.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":"2021-04-18T10:27:11.000Z","updated_at":"2025-03-05T09:06:48.000Z","dependencies_parsed_at":"2024-01-08T21:14:54.840Z","dependency_job_id":"1e266680-7e51-4f0f-8197-cd19a9363584","html_url":"https://github.com/Roshan-R/termv","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-R%2Ftermv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-R%2Ftermv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-R%2Ftermv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Roshan-R%2Ftermv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Roshan-R","download_url":"https://codeload.github.com/Roshan-R/termv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245224570,"owners_count":20580366,"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":["bash","cli","command-line","fzf","linux","makefile","mpv","shell","shell-script","terminal","tv"],"created_at":"2024-07-31T19:01:17.528Z","updated_at":"2025-03-28T12:32:06.563Z","avatar_url":"https://github.com/Roshan-R.png","language":"Shell","readme":"\u003ch1 align=\"center\"\u003e\n  termv\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eA terminal iptv player written in bash\u003c/p\u003e\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/43182697/129660097-60d91974-06ff-4d11-869d-6ddc6c1aff75.gif\"\u003e\n\u003c/p\u003e\n\n`termv` is a small bash script that allows you to select an iptv stream using `fzf` and play it using `mpv`.\n\nThe list of channels is obtained from [https://github.com/iptv-org/iptv](https://github.com/iptv-org/iptv).\n\nFor an example for a custom channels list and how to make one yourself, visit [this gist](https://gist.github.com/Roshan-R/7eddda0789297d86219fda21876b2632).\n\nFor windows support, consider using [termv-rs](https://github.com/Roshan-R/termv-rs), a rewrite of termv in rust.\n\n\n## Dependencies\n- `curl`\n- `mpv`\n- `gawk`\n- [`jq`](https://github.com/stedolan/jq)\n- [`fzf`](https://github.com/junegunn/fzf)\n- `xdo` (optional, for `-s` flag)\n\n## Usage\n\n```console\nUsage:   termv [OPTIONS] query\n\nOptions:\n  General Options:\n    -h, --help                Print this help text and exit.\n    -v, --version             Print program version and exit.\n    -u, --update              Update channel list to latest version.\n\n  Player Options:\n    -f, --full-screen         Open mpv in fullscreen.\n    -s, --swallow             Swallow terminal during playback (X11 only) based on devour; https://github.com/salman-abedin/devour.sh\n\n  Environment variables:  \n    TERMV_AUTO_UPDATE         Auto update channel list to latest version. (default: true)\n    TERMV_SWALLOW             Always swallow terminal during playback. (default: false)\n    TERMV_FULL_SCREEN         Always open mpv in fullscreen. (default: false)\n    TERMV_DEFAULT_MPV_FLAGS   Default arguments which are passed to mpv. (default: --no-resume-playback)\n    TERMV_CHANNELS_URL        URL to the channel list. (default: https://iptv-org.github.io/api/channels.json)\n                                Any other URL must be in the same format as the default one.\n    TERMV_STREAMS_URL         URL to the streams list. (default: https://iptv-org.github.io/api/streams.json)\n                                Any other URL must be in the same format as the default one.\n\n  Improve me on GitHub:\n    https://github.com/Roshan-R/termv\n```\n\n## Installation\n\n### Direct download\n```sh\nsudo wget -O /usr/local/bin/termv -q --show-progress https://raw.githubusercontent.com/Roshan-R/termv/main/termv \u0026\u0026 sudo chmod +x /usr/local/bin/termv\n```\n\n### Arch Linux\n\nInstall from the AUR (with your preferred AUR helper)\n```sh\nyay -S termv\n```\n\n### Nix\nUsers of the Nix package manager with [`flakes`](https://nixos.wiki/wiki/Flakes) support can execute termv using \n```sh\nnix run github:Roshan-R/termv\n```\n\n### MacOS\nFor MacOs users with the homebrew package manager\n\n```\nbrew tap Roshan-R/termv https://github.com/Roshan-R/homebrew-termv\nbrew install termv\n```\n\n### Installation by cloning the repository\n\n```sh\ngit clone https://github.com/Roshan-R/termv\ncd termv\n```\n\n+ **Install with the Makefile**\n\n```sh\nsudo make install\n```\n\n+ **Uninstall with the Makefile**\n\n```sh\nsudo make uninstall\n```\n\n## Credits\nA big thank you to all the [`contributors`](https://github.com/Roshan-R/termv/graphs/contributors)\n\nThanks to [`ytfzf`](https://github.com/pystardust/ytfzf) for the Makefile and\n[`tmpmail`](https://github.com/sdushantha/tmpmail) as a reference on how to structure bash scripts. \n","funding_links":[],"categories":["Shell","Apps","\u003ca name=\"viewers\"\u003e\u003c/a\u003eViewers"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRoshan-R%2Ftermv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRoshan-R%2Ftermv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRoshan-R%2Ftermv/lists"}