{"id":20171544,"url":"https://github.com/adamff-dev/twitch-adfree-webos","last_synced_at":"2025-04-10T02:42:39.501Z","repository":{"id":234869727,"uuid":"788679399","full_name":"adamff-dev/twitch-adfree-webos","owner":"adamff-dev","description":"Twitch app with extended functionalities","archived":false,"fork":false,"pushed_at":"2024-11-20T20:35:53.000Z","size":952,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T04:12:48.847Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/adamff-dev.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},"funding":{"github":["informatic","throwaway96"],"ko_fi":"throwaway96"}},"created_at":"2024-04-18T21:57:58.000Z","updated_at":"2025-03-15T13:05:41.000Z","dependencies_parsed_at":"2024-04-21T08:51:09.919Z","dependency_job_id":"b3ff2a8a-a543-40d0-bced-1792303206e4","html_url":"https://github.com/adamff-dev/twitch-adfree-webos","commit_stats":null,"previous_names":["adamff-dev/twitch-adfree-webos"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamff-dev%2Ftwitch-adfree-webos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamff-dev%2Ftwitch-adfree-webos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamff-dev%2Ftwitch-adfree-webos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamff-dev%2Ftwitch-adfree-webos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamff-dev","download_url":"https://codeload.github.com/adamff-dev/twitch-adfree-webos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248145043,"owners_count":21055038,"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":[],"created_at":"2024-11-14T01:25:21.069Z","updated_at":"2025-04-10T02:42:39.492Z","avatar_url":"https://github.com/adamff-dev.png","language":"JavaScript","funding_links":["https://github.com/sponsors/informatic","https://github.com/sponsors/throwaway96","https://ko-fi.com/throwaway96"],"categories":[],"sub_categories":[],"readme":"# Twitch AdFree\n\nTwitch app with extended functionalities\n\nBased on [youtube-webos](https://github.com/webosbrew/youtube-webos)\n\n## Features\n\n- Ad hiding and muting\n- Disable animations to improve performance\n- Open following on startup\n\n**Note:** Configuration screen can be opened by pressing 🟩 GREEN button on the remote.\n\n## Contribution\n\nThis app currently only hides and mutes ads when they appear, without ensuring uninterrupted streaming. If you have insights or methods to bypass ads altogether and enhance the streaming experience, we welcome your contributions to this project.\n\n## Installation\n\n- Use [Device Manager app](https://github.com/webosbrew/dev-manager-desktop) - see [Releases](https://github.com/adamff-dev/twitch-adfree-webos/releases) for a\n  prebuilt `.ipk` binary file\n- Use [webOS TV CLI tools](https://webostv.developer.lge.com/develop/tools/cli-installation) -\n  `ares-install twitch...ipk` (for webOS CLI tools configuration see below)\n\n## Configuration\n\nConfiguration screen can be opened by pressing 🟩 GREEN button on the remote.\n\n### Autostart\n\nIn order to autostart an application the following command needs to be executed\nvia SSH or Telnet:\n\n```sh\nluna-send-pub -n 1 'luna://com.webos.service.eim/addDevice' '{\"appId\":\"twitch.adamffdev.v1\",\"pigImage\":\"\",\"mvpdIcon\":\"\"}'\n```\n\nThis will make \"Twitch AdFree\" display as an eligible input application (next\nto HDMI/Live TV, etc...), and, if it was the last selected input, it will be\nautomatically launched when turning on the TV.\n\nThis will also greatly increase startup performance, since it will be runnning\nconstantly in the background, at the cost of increased idle memory usage.\n(so far, relatively unnoticable in normal usage)\n\nIn order to disable autostart run this:\n\n```sh\nluna-send-pub -n 1 'luna://com.webos.service.eim/deleteDevice' '{\"appId\":\"twitch.adamffdev.v1\"}'\n```\n\n## Building\n\n- Clone the repository\n\n```sh\ngit clone https://github.com/webosbrew/youtube-webos.git\n```\n\n- Enter the folder and build the App, this will generate a `*.ipk` file.\n\n```sh\ncd youtube-webos\n\n# Install dependencies (need to do this only when updating local repository / package.json is changed)\nnpm install\n\nnpm run build \u0026\u0026 npm run package\n```\n\n## Development TV setup\n\n### Configuring webOS TV CLI tools with Developer Mode App\n\nThis is partially based on: https://webostv.developer.lge.com/develop/getting-started/developer-mode-app\n\n- Install Developer Mode app from Content Store\n- Enable developer mode, enable keyserver\n- Download TV's private key: `http://TV_IP:9991/webos_rsa`\n- Configure the device using `ares-setup-device` (`-a` may need to be replaced with `-m` if device named `webos` is already configured)\n  - `PASSPHRASE` is the 6-character passphrase printed on screen in developer mode app\n\n```sh\nares-setup-device -a webos -i \"username=prisoner\" -i \"privatekey=/path/to/downloaded/webos_rsa\" -i \"passphrase=PASSPHRASE\" -i \"host=TV_IP\" -i \"port=9922\"\n```\n\n- Modify device info:\n\n```sh\nares-setup-device --modify emulator --info \"host=TV_IP\"\n```\n\n### Configuring webOS TV CLI tools with Homebrew Channel / root\n\n- Enable sshd in Homebrew Channel app\n- Generate ssh key on developer machine (`ssh-keygen`)\n- Copy the public key (`id_rsa.pub`) to `/home/root/.ssh/authorized_keys` on TV\n- Configure the device using `ares-setup-device` (`-a` may need to be replaced with `-m` if device named `webos` is already configured)\n\n```sh\nares-setup-device -a webos -i \"username=root\" -i \"privatekey=/path/to/id_rsa\" -i \"passphrase=SSH_KEY_PASSPHRASE\" -i \"host=TV_IP\" -i \"port=22\"\n```\n\n## Installation\n\n```\nnpm run deploy\n```\n\n## Launching\n\n- The app will be available in the TV's app list or launch it using ares-cli.\n\n```sh\nnpm run launch\n```\n\nTo jump immediately into some specific video use:\n\n```sh\nnpm run launch -- -p '{\"contentTarget\":\"v=F8PGWLvn1mQ\"}'\n```\n\n## Build, deploy and launch\n\n```sh\npnpm run build \u0026\u0026 pnpm run package \u0026\u0026 pnpm run deploy \u0026\u0026 pnpm run launch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamff-dev%2Ftwitch-adfree-webos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamff-dev%2Ftwitch-adfree-webos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamff-dev%2Ftwitch-adfree-webos/lists"}