// Manifest endpoint app.get('/manifest.json', (req, res) => const manifest = id: "com.example.stremio-bootstrapper", version: "1.0.0", name: "Example Bootstrapper", description: "Installs Torrentio, Cyberflix, and OpenSubtitles", resources: [], // bootstrappers provide no streams/catalogs/meta types: [], // no content types catalogs: [], // no catalogs idPrefixes: [], // no id prefixes addons: BOOTSTRAP_ADDONS ; res.json(manifest); );

res.json( ...BASE_MANIFEST, addons ); ); If you prefer the official SDK:

const PORT = process.env.PORT || 7000; app.listen(PORT, () => console.log( Bootstrapper running on http://localhost:$PORT ); ); You can accept query parameters to modify the list of bootstrapped addons.

app.get('/manifest.json', (req, res) => let addons = [...BOOTSTRAP_ADDONS]; if (req.query.include === 'debrid') addons.push( transportUrl: "https://realdebrid.strem.fun/manifest.json", transportName: "http" );

transportUrl: "https://torrentio.strem.fun/manifest.json", transportName: "http" ,


TOP