
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@stremio-addon/sdk
Advanced tools
Community Stremio Addon SDK standard schema definitions and helper functions
This package is part of Stremio-Community/stremio-addon-sdk.
Core SDK package for building Stremio addons with TypeScript (or JavaScript).
pnpm add @stremio-addon/sdk
import { AddonBuilder, createRouter } from "@stremio-addon/sdk";
// Define your addon manifest
const manifest = {
id: "com.example.myaddon",
version: "1.0.0",
name: "My Addon",
description: "My cool Stremio addon",
resources: ["stream"],
types: ["movie", "series"],
catalogs: [],
};
// Create the addon builder
const builder = new AddonBuilder(manifest);
// Define handlers
builder.defineStreamHandler(async ({ type, id }) => {
return {
streams: [
{
url: "https://example.com/stream.mp4",
title: "Example Stream",
},
],
};
});
// Get the addon interface
const addonInterface = builder.getInterface();
// Create a router (returns a Web Standard Request -> Response handler)
const router = createRouter(addonInterface);
defineStreamHandler(handler) - Handle stream requestsdefineMetaHandler(handler) - Handle metadata requestsdefineCatalogHandler(handler) - Handle catalog requestsdefineSubtitlesHandler(handler) - Handle subtitle requestsThe createRouter function creates a Web Standard Request -> Response handler that can be used with any server framework or serverless platform:
const router = createRouter(addonInterface);
const response = await router(request); // Returns Response | null
This package provides the core functionality, but you'll need a runtime adapter to serve your addon.
Server
@stremio-addon/node@stremio-addon/node-expressServerless
Custom
Add runtime validation by using a validation package:
@stremio-addon/zod@stremio-addon/linterSee the examples directory for complete working examples.
MIT
FAQs
Community Stremio Addon SDK standard schema definitions and helper functions
The npm package @stremio-addon/sdk receives a total of 245 weekly downloads. As such, @stremio-addon/sdk popularity was classified as not popular.
We found that @stremio-addon/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.