[Skip to content](https://github.com/nyakaspeter/stremio-torrent-stream#start-of-content)

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

{{ message }}

[nyakaspeter](https://github.com/nyakaspeter)/ **[stremio-torrent-stream](https://github.com/nyakaspeter/stremio-torrent-stream)** Public

- [Notifications](https://github.com/login?return_to=%2Fnyakaspeter%2Fstremio-torrent-stream) You must be signed in to change notification settings
- [Fork\\
23](https://github.com/login?return_to=%2Fnyakaspeter%2Fstremio-torrent-stream)
- [Star\\
53](https://github.com/login?return_to=%2Fnyakaspeter%2Fstremio-torrent-stream)


main

[**3** Branches](https://github.com/nyakaspeter/stremio-torrent-stream/branches) [**0** Tags](https://github.com/nyakaspeter/stremio-torrent-stream/tags)

[Go to Branches page](https://github.com/nyakaspeter/stremio-torrent-stream/branches)[Go to Tags page](https://github.com/nyakaspeter/stremio-torrent-stream/tags)

Go to file

Code

Open more actions menu

## Folders and files

| Name | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| ## Latest commit<br>[![nyakaspeter](https://avatars.githubusercontent.com/u/43880678?v=4&size=40)](https://github.com/nyakaspeter)[nyakaspeter](https://github.com/nyakaspeter/stremio-torrent-stream/commits?author=nyakaspeter)<br>[fix typo](https://github.com/nyakaspeter/stremio-torrent-stream/commit/88ea50f6cb6310c9407091a8ae0e5c5923a28c8a)<br>2 years agoJul 22, 2024<br>[88ea50f](https://github.com/nyakaspeter/stremio-torrent-stream/commit/88ea50f6cb6310c9407091a8ae0e5c5923a28c8a) · 2 years agoJul 22, 2024<br>## History<br>[31 Commits](https://github.com/nyakaspeter/stremio-torrent-stream/commits/main/) <br>Open commit details<br>[View commit history for this file.](https://github.com/nyakaspeter/stremio-torrent-stream/commits/main/) 31 Commits |
| [.github/workflows](https://github.com/nyakaspeter/stremio-torrent-stream/tree/main/.github/workflows "This path skips through empty directories") | [.github/workflows](https://github.com/nyakaspeter/stremio-torrent-stream/tree/main/.github/workflows "This path skips through empty directories") | [refactor logs](https://github.com/nyakaspeter/stremio-torrent-stream/commit/f386566a941d768742b81a27527295c23d97ecaf "refactor logs") | 2 years agoJun 25, 2024 |
| [patches](https://github.com/nyakaspeter/stremio-torrent-stream/tree/main/patches "patches") | [patches](https://github.com/nyakaspeter/stremio-torrent-stream/tree/main/patches "patches") | [integrate stream server](https://github.com/nyakaspeter/stremio-torrent-stream/commit/cf618bb007be34ecffc58ca5ff594564ddb57d26 "integrate stream server") | 2 years agoApr 12, 2024 |
| [src](https://github.com/nyakaspeter/stremio-torrent-stream/tree/main/src "src") | [src](https://github.com/nyakaspeter/stremio-torrent-stream/tree/main/src "src") | [refactor logs](https://github.com/nyakaspeter/stremio-torrent-stream/commit/f386566a941d768742b81a27527295c23d97ecaf "refactor logs") | 2 years agoJun 25, 2024 |
| [.dockerignore](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/.dockerignore ".dockerignore") | [.dockerignore](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/.dockerignore ".dockerignore") | [add docker](https://github.com/nyakaspeter/stremio-torrent-stream/commit/adcb77770d93d1d90931f31b57593e97dbe65faf "add docker") | 3 years agoJan 9, 2024 |
| [.gitignore](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/.gitignore ".gitignore") | [.gitignore](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/.gitignore ".gitignore") | [initial commit](https://github.com/nyakaspeter/stremio-torrent-stream/commit/587c8144ce4dff0024e170abad286d544e5892c3 "initial commit") | 3 years agoJan 9, 2024 |
| [Dockerfile](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/Dockerfile "Dockerfile") | [Dockerfile](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/Dockerfile "Dockerfile") | [add no read timeout](https://github.com/nyakaspeter/stremio-torrent-stream/commit/b74243fefb7b144ff21e49bd37d8c6173dc997f1 "add no read timeout") | 2 years agoApr 21, 2024 |
| [README.md](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/README.md "README.md") | [README.md](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/README.md "README.md") | [fix typo](https://github.com/nyakaspeter/stremio-torrent-stream/commit/88ea50f6cb6310c9407091a8ae0e5c5923a28c8a "fix typo") | 2 years agoJul 22, 2024 |
| [compose.yaml](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/compose.yaml "compose.yaml") | [compose.yaml](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/compose.yaml "compose.yaml") | [update compose & readme](https://github.com/nyakaspeter/stremio-torrent-stream/commit/b492f101236da98506ec476d7eb9b803b27a6922 "update compose & readme") | 2 years agoApr 16, 2024 |
| [package.json](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/package.json "package.json") | [package.json](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/package.json "package.json") | [only download required pieces](https://github.com/nyakaspeter/stremio-torrent-stream/commit/2085ade7e840f4830bf04a23fff4365cc473b598 "only download required pieces") | 2 years agoJun 25, 2024 |
| [pnpm-lock.yaml](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/pnpm-lock.yaml "pnpm-lock.yaml") | [pnpm-lock.yaml](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/pnpm-lock.yaml "pnpm-lock.yaml") | [only download required pieces](https://github.com/nyakaspeter/stremio-torrent-stream/commit/2085ade7e840f4830bf04a23fff4365cc473b598 "only download required pieces") | 2 years agoJun 25, 2024 |
| [tsconfig.json](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/tsconfig.json "tsconfig.json") | [tsconfig.json](https://github.com/nyakaspeter/stremio-torrent-stream/blob/main/tsconfig.json "tsconfig.json") | [switch to esrun, new dns service](https://github.com/nyakaspeter/stremio-torrent-stream/commit/37d6c9e91f3f57ed5767cd53bf71bcef30f6380e "switch to esrun, new dns service") | 2 years agoApr 8, 2024 |
| View all files |

## Repository files navigation

# Stremio Torrent Stream

[Permalink: Stremio Torrent Stream](https://github.com/nyakaspeter/stremio-torrent-stream#stremio-torrent-stream)

This self-hostable addon enables [Stremio](https://www.stremio.com/) to stream movies and shows from torrents. Works with both public and private trackers through [Jackett](https://github.com/Jackett/Jackett) and built-in scrapers. It uses [WebTorrent](https://github.com/webtorrent/webtorrent) under the hood.

![image](https://private-user-images.githubusercontent.com/43880678/323003222-42040b81-2bf5-43f0-b827-9d62c3a1d79c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODMxODEyNTIsIm5iZiI6MTc4MzE4MDk1MiwicGF0aCI6Ii80Mzg4MDY3OC8zMjMwMDMyMjItNDIwNDBiODEtMmJmNS00M2YwLWI4MjctOWQ2MmMzYTFkNzljLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzA0VDE2MDIzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE1ZDc2MmVhOTQyMzMyMTY2MzdjMmQ1OTc3MmJjYzJhODA5YzA4NjhkOWI3Mzg5NTA1MWRmOTNjZjljMTk5YzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.E-GiaVJJXrO9xx31Kr2BuhOZ5bDe_trTWpWJl8nBOB8)

## How to run

[Permalink: How to run](https://github.com/nyakaspeter/stremio-torrent-stream#how-to-run)

With Docker:

```
docker run -p 58827:58827 -p 58828:58828 nyakaspeter/stremio-torrent-stream
```

With Docker Compose (the addon and Jackett simultaneously):

```
git clone https://github.com/nyakaspeter/stremio-torrent-stream.git
cd stremio-torrent-stream
docker compose up
```

With Node.js and [pnpm](https://pnpm.io/installation):

```
git clone https://github.com/nyakaspeter/stremio-torrent-stream.git
cd stremio-torrent-stream
pnpm i
pnpm build
pnpm start
```

Once the addon server is up, you'll see a console output like this:

```
HTTP addon listening on port 58827
HTTPS addon listening on port 58828
```

On your local computer you can install the addon from [http://localhost:58827](http://localhost:58827/) but if you want to use it with other devices you'll have install it from an HTTPS enabled address. I've bundled a wildcard certificate from [local-ip](https://local-ip.medicmobile.org/) with the server, which will provide valid HTTPS for your local IPs. To find out the HTTPS address of the addon take the LAN IP of the host and replace dots with hyphens, then append **.local-ip.medicmobile.org and the HTTPS port at the end**. Let's say the LAN IP of your machine hosting the addon on port **58828** is **192.168.0.10**, in this case you can install the addon from [https://192-168-0-10.local-ip.medicmobile.org:58828](https://192-168-0-10.local-ip.medicmobile.org:58828/).

If the above doesn't work for you, you can try opening an HTTPS tunnel to the addon server with [localtunnel](https://theboroer.github.io/localtunnel-www/). To do this set the environment variable `HTTPS_METHOD=localtunnel`. After you start the addon server you'll see this in the console:

```
Tunnel accessible at: https://some-random-domain.loca.lt
Tunnel password: x.xxx.xxx.xx
```

When you first open the localtunnel URL it will ask for a password, you can copy it from the console output. After submitting the password the browser will show the configuration screen for the addon.

## Configuring the addon

[Permalink: Configuring the addon](https://github.com/nyakaspeter/stremio-torrent-stream#configuring-the-addon)

On the configuration screen you can set up your torrent site & Jackett credentials (they're optional) and configure torrent search settings.

![image](https://private-user-images.githubusercontent.com/43880678/322993103-d9a581a9-8036-44ab-942a-3750261cb50c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODMxODEyNTIsIm5iZiI6MTc4MzE4MDk1MiwicGF0aCI6Ii80Mzg4MDY3OC8zMjI5OTMxMDMtZDlhNTgxYTktODAzNi00NGFiLTk0MmEtMzc1MDI2MWNiNTBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzA0VDE2MDIzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVlMWY1NTY1MzcxMjI2OTQ1MTVlOWQzY2RhZTdiNzYwYjIwZjIzNDdiOGMzMzdkNDM2ODRhNGZhZjE3ZGExYmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.h5LvZLcpdPxGUcUSu3aBBpaKTcaajaCqkH4quinJcNQ)

When you're done with the configuration hit the install button at the bottom, that will redirect you to Stremio where you can finally install the addon. If you've configured everything properly you'll see torrent results populating the stream list for movies and shows. Enjoy streaming!

## About

This self-hostable addon enables Stremio to stream movies and shows from torrents.


### Topics

[torrent](https://github.com/topics/torrent "Topic: torrent") [streaming](https://github.com/topics/streaming "Topic: streaming") [webtorrent](https://github.com/topics/webtorrent "Topic: webtorrent") [jackett](https://github.com/topics/jackett "Topic: jackett") [stremio](https://github.com/topics/stremio "Topic: stremio") [stremio-addon](https://github.com/topics/stremio-addon "Topic: stremio-addon")

### Resources

[Readme](https://github.com/nyakaspeter/stremio-torrent-stream#readme-ov-file)

### Uh oh!

There was an error while loading. [Please reload this page](https://github.com/nyakaspeter/stremio-torrent-stream).

[Activity](https://github.com/nyakaspeter/stremio-torrent-stream/activity)

### Stars

[**53**\\
stars](https://github.com/nyakaspeter/stremio-torrent-stream/stargazers)

### Watchers

[**4**\\
watching](https://github.com/nyakaspeter/stremio-torrent-stream/watchers)

### Forks

[**23**\\
forks](https://github.com/nyakaspeter/stremio-torrent-stream/forks)

[Report repository](https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fnyakaspeter%2Fstremio-torrent-stream&report=nyakaspeter+%28user%29)

## [Releases](https://github.com/nyakaspeter/stremio-torrent-stream/releases)

No releases published

## [Packages\  0](https://github.com/users/nyakaspeter/packages?repo_name=stremio-torrent-stream)

No packages published

### Uh oh!

There was an error while loading. [Please reload this page](https://github.com/nyakaspeter/stremio-torrent-stream).

## [Contributors\  1](https://github.com/nyakaspeter/stremio-torrent-stream/graphs/contributors)

- [![@nyakaspeter](https://avatars.githubusercontent.com/u/43880678?s=64&v=4)](https://github.com/nyakaspeter)[**nyakaspeter** Péter Nyakas](https://github.com/nyakaspeter)

## Languages

- [TypeScript97.7%](https://github.com/nyakaspeter/stremio-torrent-stream/search?l=typescript)
- [Dockerfile2.3%](https://github.com/nyakaspeter/stremio-torrent-stream/search?l=dockerfile)

You can’t perform that action at this time.