Spaces:
Paused
Paused
|
Download node_modules/stremio-addon-sdk/docs/testing.md from no1b4me/hytranslator: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/spaces/no1b4me/hytranslator/resolve/main/node_modules/stremio-addon-sdk/docs/testing.md
- Command line
-
hf download hf://spaces/no1b4me/hytranslator/node_modules/stremio-addon-sdk/docs/testing.md
-
curl -L -o testing.md https://huggingface.co/spaces/no1b4me/hytranslator/resolve/main/node_modules/stremio-addon-sdk/docs/testing.md
1.43 kB
| ## Testing your Addon | |
| To test your addon, you will need to add the addon manifest URL to a client. | |
| There are currently two such clients that you can test with: | |
| - Stremio v4.4.10+ | |
| - Stremio Web Version | |
| **Note:** if you want to load an addon by URL in Stremio, the URL must either be accessed on `127.0.0.1` or support HTTPS. | |
| ### Starting/launching shortcuts | |
| If you're using the [`serveHTTP`](/docs/README.md#servehttpaddoninterface-options) method, there are two shortcuts that you can use: | |
| If you launch your addon with `npm start -- --launch`, it will open a web version of Stremio with the addon pre-installed. | |
| Another shortcut is to use `npm start -- --install`, which will open the desktop version of Stremio and a prompt to install the addon. | |
| ### Testing in Stremio App | |
| Testing in Stremio is easy, simply [download Stremio](https://www.stremio.com/downloads) v4.4.10+ (latest beta from the site) | |
| ### Testing in Stremio Web Version | |
| Open the web version of Stremio at: https://app.strem.io/shell-v4.4/ | |
| If you use `npm start -- --launch`, the addon will launch at https://staging.strem.io, which is a staging (development) version of Stremio. | |
| **Note: Torrents will not work in Stremio's Web Version.** | |
| ### How to Install Addon in Stremio | |
| Follow the 2 steps showcased in this image: | |
|  | |