[Skip to content](https://github.com/peronecode/moisa-addon#start-of-content)

You signed in with another tab or window. [Reload](https://github.com/peronecode/moisa-addon) to refresh your session.You signed out in another tab or window. [Reload](https://github.com/peronecode/moisa-addon) to refresh your session.You switched accounts on another tab or window. [Reload](https://github.com/peronecode/moisa-addon) to refresh your session.Dismiss alert

{{ message }}

[peronecode](https://github.com/peronecode)/ **[moisa-addon](https://github.com/peronecode/moisa-addon)** Public

- [Notifications](https://github.com/login?return_to=%2Fperonecode%2Fmoisa-addon) You must be signed in to change notification settings
- [Fork\\
5](https://github.com/login?return_to=%2Fperonecode%2Fmoisa-addon)
- [Star\\
2](https://github.com/login?return_to=%2Fperonecode%2Fmoisa-addon)


main

[**1** Branch](https://github.com/peronecode/moisa-addon/branches) [**3** Tags](https://github.com/peronecode/moisa-addon/tags)

[Go to Branches page](https://github.com/peronecode/moisa-addon/branches)[Go to Tags page](https://github.com/peronecode/moisa-addon/tags)

Go to file

Code

Open more actions menu

## Folders and files

| Name | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| ## Latest commit<br>[![peronecode](https://avatars.githubusercontent.com/u/5048812?v=4&size=40)](https://github.com/peronecode)[peronecode](https://github.com/peronecode/moisa-addon/commits?author=peronecode)<br>[Fixing multiple files movie magnet](https://github.com/peronecode/moisa-addon/commit/5c20bb7a7048826ef3984579c51d4330a83aa5ea)<br>success<br>6 months agoJan 19, 2026<br>[5c20bb7](https://github.com/peronecode/moisa-addon/commit/5c20bb7a7048826ef3984579c51d4330a83aa5ea) · 6 months agoJan 19, 2026<br>## History<br>[4 Commits](https://github.com/peronecode/moisa-addon/commits/main/) <br>Open commit details<br>[View commit history for this file.](https://github.com/peronecode/moisa-addon/commits/main/) 4 Commits |
| [assets](https://github.com/peronecode/moisa-addon/tree/main/assets "assets") | [assets](https://github.com/peronecode/moisa-addon/tree/main/assets "assets") | [Release 1.0.0](https://github.com/peronecode/moisa-addon/commit/514f8a7d31b62284883e53fc7731e21ebd3b65c5 "Release 1.0.0") | 6 months agoJan 8, 2026 |
| [src](https://github.com/peronecode/moisa-addon/tree/main/src "src") | [src](https://github.com/peronecode/moisa-addon/tree/main/src "src") | [Fixing multiple files movie magnet](https://github.com/peronecode/moisa-addon/commit/5c20bb7a7048826ef3984579c51d4330a83aa5ea "Fixing multiple files movie magnet") | 6 months agoJan 19, 2026 |
| [.gitignore](https://github.com/peronecode/moisa-addon/blob/main/.gitignore ".gitignore") | [.gitignore](https://github.com/peronecode/moisa-addon/blob/main/.gitignore ".gitignore") | [Release 1.0.0](https://github.com/peronecode/moisa-addon/commit/514f8a7d31b62284883e53fc7731e21ebd3b65c5 "Release 1.0.0") | 6 months agoJan 8, 2026 |
| [Dockerfile](https://github.com/peronecode/moisa-addon/blob/main/Dockerfile "Dockerfile") | [Dockerfile](https://github.com/peronecode/moisa-addon/blob/main/Dockerfile "Dockerfile") | [Release 1.0.0](https://github.com/peronecode/moisa-addon/commit/514f8a7d31b62284883e53fc7731e21ebd3b65c5 "Release 1.0.0") | 6 months agoJan 8, 2026 |
| [LICENSE](https://github.com/peronecode/moisa-addon/blob/main/LICENSE "LICENSE") | [LICENSE](https://github.com/peronecode/moisa-addon/blob/main/LICENSE "LICENSE") | [Release 1.0.0](https://github.com/peronecode/moisa-addon/commit/514f8a7d31b62284883e53fc7731e21ebd3b65c5 "Release 1.0.0") | 6 months agoJan 8, 2026 |
| [README.md](https://github.com/peronecode/moisa-addon/blob/main/README.md "README.md") | [README.md](https://github.com/peronecode/moisa-addon/blob/main/README.md "README.md") | [Improving Readme, adding new host link moisa.fun and bump version](https://github.com/peronecode/moisa-addon/commit/ea6d0fc4a9717de106b98d88328a50c0bd70e487 "Improving Readme, adding new host link moisa.fun and bump version") | 6 months agoJan 10, 2026 |
| [docker-compose.yml](https://github.com/peronecode/moisa-addon/blob/main/docker-compose.yml "docker-compose.yml") | [docker-compose.yml](https://github.com/peronecode/moisa-addon/blob/main/docker-compose.yml "docker-compose.yml") | [Release 1.0.0](https://github.com/peronecode/moisa-addon/commit/514f8a7d31b62284883e53fc7731e21ebd3b65c5 "Release 1.0.0") | 6 months agoJan 8, 2026 |
| [package.json](https://github.com/peronecode/moisa-addon/blob/main/package.json "package.json") | [package.json](https://github.com/peronecode/moisa-addon/blob/main/package.json "package.json") | [Fixing multiple files movie magnet](https://github.com/peronecode/moisa-addon/commit/5c20bb7a7048826ef3984579c51d4330a83aa5ea "Fixing multiple files movie magnet") | 6 months agoJan 19, 2026 |
| [server.js](https://github.com/peronecode/moisa-addon/blob/main/server.js "server.js") | [server.js](https://github.com/peronecode/moisa-addon/blob/main/server.js "server.js") | [Release 1.0.0](https://github.com/peronecode/moisa-addon/commit/514f8a7d31b62284883e53fc7731e21ebd3b65c5 "Release 1.0.0") | 6 months agoJan 8, 2026 |
| [vercel.json](https://github.com/peronecode/moisa-addon/blob/main/vercel.json "vercel.json") | [vercel.json](https://github.com/peronecode/moisa-addon/blob/main/vercel.json "vercel.json") | [Release 1.0.0](https://github.com/peronecode/moisa-addon/commit/514f8a7d31b62284883e53fc7731e21ebd3b65c5 "Release 1.0.0") | 6 months agoJan 8, 2026 |
| View all files |

## Repository files navigation

[![Moisa addon logo](https://github.com/peronecode/moisa-addon/raw/main/assets/moisa-addon-icon-180.png)](https://github.com/peronecode/moisa-addon/blob/main/assets/moisa-addon-icon-180.png)

## Moisa – Stremio addon

[Permalink: Moisa – Stremio addon](https://github.com/peronecode/moisa-addon#moisa--stremio-addon)

Moisa is a Stremio addon that proxies torrent streams from Torrentio to a TorrServer instance you control (on your LAN or anywhere else), so playback runs through your own infrastructure instead of Stremio’s built‑in engine. The only requirement is a reachable TorrServer, which in return provides a more reliable torrent client, smoother 4K playback, and greater control over buffering, storage, and other settings.

### Local usage (npm)

[Permalink: Local usage (npm)](https://github.com/peronecode/moisa-addon#local-usage-npm)

- **Install dependencies**:

```
npm install
```

- **Run locally**:

```
npm start
```

- **Stremio manifest URL** (from the same machine):

```
http://127.0.0.1:8080/manifest.json
```

Make sure you have a reachable TorrServer when using the addon locally.

### Docker + docker-compose

[Permalink: Docker + docker-compose](https://github.com/peronecode/moisa-addon#docker--docker-compose)

- **Start Moisa and TorrServer together**:

```
docker-compose up -d
```

- **Local manifest URL from the host**:

```
http://127.0.0.1:8080/manifest.json
```

TorrServer will be available on port `8090` on the host at the same time.

### Hosted addon

[Permalink: Hosted addon](https://github.com/peronecode/moisa-addon#hosted-addon)

- **Public addon host**: [https://moisa.fun](https://moisa.fun/)
- **Configure URL**: [https://moisa.fun/configure](https://moisa.fun/configure)
- **Manifest URL for Stremio**: [https://moisa.fun/manifest.json](https://moisa.fun/manifest.json)

### Configure page

[Permalink: Configure page](https://github.com/peronecode/moisa-addon#configure-page)

- **TorrServer URL**: enter your TorrServer base URL (for example `http://192.168.x.x:8090`).
- **Torrentio quality filter**: optionally set a custom Torrentio `qualityfilter=threed,480p,scr,cam,unknown` string.
- Click **Generate addon URL** and use the output as the **Install addon** URL in Stremio, or click **Install in Stremio** to open it directly.

### Flows

[Permalink: Flows](https://github.com/peronecode/moisa-addon#flows)

#### Direct Torrentio usage in Stremio flow

[Permalink: Direct Torrentio usage in Stremio flow](https://github.com/peronecode/moisa-addon#direct-torrentio-usage-in-stremio-flow)

Render

Stremio Stream EngineTorrentio Addon (API)StremioUserStremio Stream EngineTorrentio Addon (API)StremioUserBrowses catalog and selects a titleOpens streams/addon sources for selected titleShows available addon sources (e.g., Torrentio)Selects Torrentio as stream sourceGET /stream/{type}/{id}.jsonReturns stream list (magnet URLs, infoHash, fileIdx, etc.)Show list of magnetsStarts playback for a chosen streamGET /play/{params} Sends chosen magnet to internal torrent engineStarts video streamPlays video using internal stream engine

Loading

```
sequenceDiagram
    participant U as User
    participant S as Stremio
    participant T as Torrentio Addon (API)
    participant P as Stremio Stream Engine

    %% Catalog phase
    U->>S: Browses catalog and selects a title

    %% Addon/source selection
    U->>S: Opens streams/addon sources for selected title
    S-->>U: Shows available addon sources (e.g., Torrentio)
    U->>S: Selects Torrentio as stream source

    %% Stream resolution
    S->>T: GET /stream/{type}/{id}.json
    T-->>S: Returns stream list (magnet URLs, infoHash, fileIdx, etc.)
    S-->>U: Show list of magnets

    %% Playback
    U->>S: Starts playback for a chosen stream
    S->>P: GET /play/{params} Sends chosen magnet to internal torrent engine
    P-->>S: Starts video stream
    S-->>U: Plays video using internal stream engine
```

#### Stremio using Moisa Addon as proxy to TorrServer

[Permalink: Stremio using Moisa Addon as proxy to TorrServer](https://github.com/peronecode/moisa-addon#stremio-using-moisa-addon-as-proxy-to-torrserver)

Render

Local TorrServerTorrentio Addon (API)Moisa Addon (proxy)StremioUserLocal TorrServerTorrentio Addon (API)Moisa Addon (proxy)StremioUserBrowses catalog and selects a titleOpens streams/addon sources for selected titleShows available addon sources (e.g., Moisa Addon)Selects Moisa Addon as stream sourceGET /stream/{type}/{id}.jsonGET /stream/{type}/{id}.jsonReturns stream candidates (infoHash, fileIdx, etc.)Returns stream list with /play?infoHash=... URLsShow list of magnetsStarts playback for a chosen streamGET /play?infoHash=...&fileIndex=...Builds TorrServer URL /stream?link=infoHash&index=...HTTP 302 redirect to TorrServer stream URLGET /play/{params} Requests video stream from TorrServerStarts video streamPlays video from Local TorrServer

Loading

```
sequenceDiagram
    participant U as User
    participant S as Stremio
    participant M as Moisa Addon (proxy)
    participant T as Torrentio Addon (API)
    participant R as Local TorrServer

    %% Catalog phase
    U->>S: Browses catalog and selects a title

    %% Addon/source selection
    U->>S: Opens streams/addon sources for selected title
    S-->>U: Shows available addon sources (e.g., Moisa Addon)
    U->>S: Selects Moisa Addon as stream source

    %% Stream resolution through Moisa Addon
    S->>M: GET /stream/{type}/{id}.json
    M->>T: GET /stream/{type}/{id}.json
    T-->>M: Returns stream candidates (infoHash, fileIdx, etc.)
    M-->>S: Returns stream list with /play?infoHash=... URLs
    S-->>U: Show list of magnets

    %% Playback via Local TorrServer
    U->>S: Starts playback for a chosen stream
    S->>M: GET /play?infoHash=...&fileIndex=...
    M->>M: Builds TorrServer URL /stream?link=infoHash&index=...
    M-->>S: HTTP 302 redirect to TorrServer stream URL
    S->>R: GET /play/{params} Requests video stream from TorrServer
    R-->>S: Starts video stream
    S-->>U: Plays video from Local TorrServer
```

## About

Simple Stremio addon that proxies Torrentio results through TorrServer for local streaming


[moisa-addon.vercel.app](https://moisa-addon.vercel.app/ "https://moisa-addon.vercel.app")

### Resources

[Readme](https://github.com/peronecode/moisa-addon#readme-ov-file)

### License

[MIT license](https://github.com/peronecode/moisa-addon#MIT-1-ov-file)

### Uh oh!

There was an error while loading. [Please reload this page](https://github.com/peronecode/moisa-addon).

[Activity](https://github.com/peronecode/moisa-addon/activity)

### Stars

[**2**\\
stars](https://github.com/peronecode/moisa-addon/stargazers)

### Watchers

[**0**\\
watching](https://github.com/peronecode/moisa-addon/watchers)

### Forks

[**5**\\
forks](https://github.com/peronecode/moisa-addon/forks)

[Report repository](https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fperonecode%2Fmoisa-addon&report=peronecode+%28user%29)

## [Releases](https://github.com/peronecode/moisa-addon/releases)

[3tags](https://github.com/peronecode/moisa-addon/tags)

## [Packages\  0](https://github.com/users/peronecode/packages?repo_name=moisa-addon)

No packages published

## [Contributors\  1](https://github.com/peronecode/moisa-addon/graphs/contributors)

- [![@peronecode](https://avatars.githubusercontent.com/u/5048812?s=64&v=4)](https://github.com/peronecode)[**peronecode** Lucc​as Pero​ne](https://github.com/peronecode)

## Languages

- [JavaScript77.3%](https://github.com/peronecode/moisa-addon/search?l=javascript)
- [HTML21.6%](https://github.com/peronecode/moisa-addon/search?l=html)
- [Dockerfile1.1%](https://github.com/peronecode/moisa-addon/search?l=dockerfile)

You can’t perform that action at this time.