5. Deploying
Note: Although deploying is recommended, there is also the alternative of using localtunnel to host your add-ons locally.
Stremio add-ons require hosting in order to be published. You will need a NodeJS hosting solution, as Stremio Add-ons made with the Stremio Add-on SDK are NodeJS apps.
We recommend:
- Now.sh - free with some restrictions
- Heroku - free with some restrictions
- cloudno.de - free for up to 150k requests/month
- Evennode - free for 7 days trial
We hugely recommend using Now.sh
, as it is extremely easy to use.
You can also check this very comprehensive guide by nodejs.
Stremio add-ons are deployed just like regular nodejs apps, so follow the nodejs instructions provided by your particular service provider.
If you've built a great add-on and need help with hosting your add-on, you are welcome to contact us at addons@stremio.com
Publishing to Stremio
If you want your add-on to appear in the list of Community add-ons in Stremio, you can call the publishToCentral
method at start up.
const { addonBuilder, publishToCentral } = require("stremio-addon-sdk")
publishToCentral('https://example.com/manifest.json')
Of course, you need to substitute the example URL with the actual one where the add-on is hosted.
It's recommended to test your add-on before you publish it. If your URL leads to а broken add-on, it will be silently accepted but it will not be listed in the third party add-ons catalog.