Git Product home page Git Product logo

deflix-stremio's Introduction

Deflix Stremio addon

Deflix addon for Stremio

Finds movies and TV shows from many different sources and automatically turns them into cached HTTP streams with a debrid service like RealDebrid, AllDebrid or Premiumize, for high speed 4k streaming and no P2P uploading.

Contents

  1. Features
  2. Install
  3. Run locally
    1. Configuration
    2. Warning
  4. Disclaimer

Features

  • Supports several debrid services
  • Finds movies and TV shows from many different sources
    • YTS
    • The Pirate Bay
    • 1337x
    • RARBG
    • ibit
    • Others like RapidMoviez and Scene-RLS are planned
  • Groups streams by quality so you don't have to choose between dozens of results
    • 720p
    • 1080p
    • 1080p 10bit
    • 2160p
    • 2160p 10bit
  • Configurable via the ⚙ button in Stremio

Other upcoming features: Support for more sources, grouping by bitrate, more custom options (language filter, show all single torrents instead of grouped by quality) and more

Install

This addon is a remote addon, so it's an HTTP web service and Stremio just sends HTTP requests to it. You dont't need to run any untrusted code on your machine.

Here's the official Deflix website, that guides you through the installation: https://www.deflix.tv/stremio

Note: This repository contains all the latest features and fixes. Some of them might not be publicly deployed yet. If you want to use the version of this repository, run the addon locally.

Run locally

Alternatively to using the publicly deployed version you can also run the addon locally and use that in Stremio. The addon is written in Go and compiles to a single executable file without dependencies, so it's really easy to run on your machine.

You can use one of the precompiled binaries from GitHub:

  1. Download the binary for your OS from https://github.com/doingodswork/deflix-stremio/releases
  2. Simply run the executable binary (deflix-stremio.exe for Windows, deflix-stremio for macOS and Linux)
  3. Visit http://localhost:8080/configure in the browser to configure and install the addon in Stremio
  4. To stop the program press Ctrl-C (or ⌃-C on macOS) in the terminal windows where deflix-stremio is running

Or use Docker:

  1. Update the image: docker pull doingodswork/deflix-stremio
  2. Start the container: docker run --name deflix-stremio -p 8080:8080 doingodswork/deflix-stremio
    • Note: Ctrl-C only detaches from the container. It doesn't stop it.

    • When detached, you can attach again with docker attach deflix-stremio
  3. Visit http://localhost:8080/configure in the browser to configure and install the addon in Stremio
  4. To stop the container: docker stop deflix-stremio
  5. To start the (still existing) container again: docker start deflix-stremio

Configuration

The following options can be configured via either command line argument or environment variable:

Usage of deflix-stremio:
  -baseURL string
        Base URL of this service. It's used in a stream URL that's delivered to Stremio and later used to redirect to RealDebrid, AllDebrid and Premiumize. If you enable OAuth2 handling this will also be used for the redirects and to determine whether the state cookie is a secure one or not. (default "http://localhost:8080")
  -baseURL1337x string
        Base URL for 1337x (default "https://1337x.to")
  -baseURLad string
        Base URL for AllDebrid (default "https://api.alldebrid.com")
  -baseURLibit string
        Base URL for ibit (default "https://ibit.am")
  -baseURLpm string
        Base URL for Premiumize (default "https://www.premiumize.me/api")
  -baseURLrarbg string
        Base URL for RARBG (default "https://torrentapi.org")
  -baseURLrd string
        Base URL for RealDebrid (default "https://api.real-debrid.com")
  -baseURLtpb string
        Base URL for the TPB API (default "https://apibay.org")
  -baseURLyts string
        Base URL for YTS (default "https://yts.mx")
  -bindAddr string
        Local interface address to bind to. "localhost" only allows access from the local host. "0.0.0.0" binds to all network interfaces. (default "localhost")
  -cacheAgeXD duration
        Max age of cache entries for instant availability responses from RealDebrid, AllDebrid and Premiumize. The format must be acceptable by Go's 'time.ParseDuration()', for example "24h". (default 24h0m0s)
  -cachePath string
        Path for loading persisted caches on startup and persisting the current cache in regular intervals. An empty value will lead to 'os.UserCacheDir()+"/deflix-stremio/cache"'.
  -envPrefix string
        Prefix for environment variables
  -extraHeadersXD string
        Additional HTTP request headers to set for requests to RealDebrid, AllDebrid and Premiumize, in a format like "X-Foo: bar", separated by newline characters ("\n")
  -forwardOriginIP
        Forward the user's original IP address to RealDebrid and Premiumize. The first "X-Forwarded-For" entry will be used.
  -imdb2metaAddr string
        Address of the imdb2meta gRPC server. Won't be used if empty.
  -logEncoding string
        Log encoding. Can be "console" or "json", where "json" makes more sense when using centralized logging solutions like ELK, Graylog or Loki. (default "console")
  -logFoundTorrents
        Set to true to log each single torrent that was found by one of the torrent site clients (with DEBUG level)
  -logLevel string
        Log level to show only logs with the given and more severe levels. Can be "debug", "info", "warn", "error". (default "debug")
  -maxAgeTorrents duration
        Max age of cache entries for torrents found per IMDb ID. The format must be acceptable by Go's 'time.ParseDuration()', for example "24h". Default is 7 days. (default 168h0m0s)
  -oauth2authURLpm string
        URL of the OAuth2 authorization endpoint of Premiumize (default "https://www.premiumize.me/authorize")
  -oauth2authURLrd string
        URL of the OAuth2 authorization endpoint of RealDebrid (default "https://api.real-debrid.com/oauth/v2/auth")
  -oauth2clientIDpm string
        Client ID for deflix-stremio on Premiumize
  -oauth2clientIDrd string
        Client ID for deflix-stremio on RealDebrid
  -oauth2clientSecretPM string
        Client secret for deflix-stremio on Premiumize
  -oauth2clientSecretRD string
        Client secret for deflix-stremio on RealDebrid
  -oauth2encryptionKey string
        OAuth2 data encryption key
  -oauth2tokenURLpm string
        URL of the OAuth2 token endpoint of Premiumize (default "https://www.premiumize.me/token")
  -oauth2tokenURLrd string
        URL of the OAuth2 token endpoint of RealDebrid (default "https://api.real-debrid.com/oauth/v2/token")
  -port int
        Port to listen on (default 8080)
  -redisAddr string
        Redis host and port, for example "localhost:6379". It's used for the redirect and stream cache. Keep empty to use in-memory go-cache.
  -redisCreds string
        Credentials for Redis. Password for Redis version 5 and older, username and password for Redis version 6 and newer. Use the colon character (":") for separating username and password. This implies you can't use a colon in the password when using Redis version 5 or older.
  -rootURL string
        Redirect target for the root (default "https://www.deflix.tv")
  -socksProxyAddrTPB string
        SOCKS5 proxy address for accessing TPB, required for accessing TPB via the TOR network (where "127.0.0.1:9050" would be typical value)
  -storagePath string
        Path for storing the data of the persistent DB which stores torrent results. An empty value will lead to 'os.UserCacheDir()+"/deflix-stremio/badger"'.
  -useOAUTH2
        Flag for indicating whether to use OAuth2 for Premiumize authorization. This leads to a different configuration webpage that doesn't require API keys. It requires a client ID to be configured.
  -webConfigurePath string
        Path to the directory with web files for the '/configure' endpoint. If empty, files compiled into the binary will be used

If you want to configure deflix-stremio via environment variables, you can use the according environment variable keys, like this: baseURL1337x -> BASE_URL_1337X. If you want to use an environment variable prefix you have to set it with the command line argument (for example -envPrefix DEFLIX and then the environment variable for the previous example would be DEFLIX_BASE_URL_1337X.

Warning

If you run this web service on your local laptop or server, i.e. if you self-host this, you should know the following:

Deflix doesn't download or upload any torrents, but it does send HTTP requests to YTS, The Pirate Bay, 1337x, RARBG and ibit, which might be illegal in some countries. Streaming movies and TV shows from RealDebrid, AllDebrid or Premiumize might also be illegal in some countries.

To encrypt your traffic so that your ISP can't see where those HTTP requests are sent and to not expose your real IP address to RealDebrid, AllDebrid or Premiumize you can use a VPN.

Disclaimer

Deflix

  • doesn't host any media files or torrents
  • doesn't provide link lists to media files or torrents
  • isn't a torrent indexer
  • doesn't facilitate the sharing of any media files or torrents

deflix-stremio's People

Contributors

doingodswork avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deflix-stremio's Issues

Install on Synology Docker

Works great on windows but I am struggling to get this working on Synology/Docker.
Pretty sure I've not got the environment/paths/permissions right but get 'Failed to fetch' / 'ERR_OPENING_MEDIA' errors when opening Stremio with the RD token.

Server is running:
{"config": "{\"bindAddr\":\"0.0.0.0\",\"port\":9191,\"baseURL\":\"http://192.168.1.2:9191\",\"storagePath\":\"\",\"maxAgeTorrents\":604800000000000,\"cachePath\":\"/.cache/deflix-stremio/cache\",\"cacheAgeXD\":86400000000000,\"redisAddr\":\"\",\"redisCreds\":\"\",\"baseURLyts\":\"https://yts.mx\",\"baseURLtpb\":\"https://apibay.org\",\"baseURL1337x\":\"https://1337x.to\",\"baseURLibit\":\"https://ibit.am\",\"baseURLrarbg\":\"https://torrentapi.org\",\"baseURLrd\":\"https://api.real-debrid.com\",\"baseURLad\":\"https://api.alldebrid.com\",\"baseURLpm\":\"https://www.premiumize.me/api\",\"logLevel\":\"debug\",\"logEncoding\":\"console\",\"logFoundTorrents\":false,\"rootURL\":\"https://www.deflix.tv\",\"extraHeadersXD\":null,\"socksProxyAddrTPB\":\"\",\"webConfigurePath\":\"\",\"imdb2metaAddr\":\"\",\"useOAUTH2\":false,\"oauth2authURLrd\":\"https://api.real-debrid.com/oauth/v2/auth\",\"oauth2authURLpm\":\"https://www.premiumize.me/authorize\",\"oauth2tokenURLrd\":\"https://api.real-debrid.com/oauth/v2/token\",\"oauth2tokenURLpm\":\"https://www.premiumize.me/token\",\"oauth2clientIDrd\":\"\",\"oauth2clientIDpm\":\"\",\"oauth2clientSecretRD\":\"\",\"oauth2clientSecretPM\":\"\",\"oauth2encryptionKey\":\"\",\"forwardOriginIP\":false,\"envPrefix\":\"\"}"}

but with errors:

{"error": "Couldn't open go-cache file: open /.cache/deflix-stremio/cache/availability-rd.gob: no such file or directory"}

Any ideas\tips?

Not working

good afternoon
don't do the search with the addon in stremio
when I try to configure the addon, the page doesn't open and the host gives an error

Active???

Is this project still active?

How can we add more trackers?

Unable to authorize

When i click on authorize deflix, i am taken to real debrid login page. When i click on login there, i see a blank page with a text "forbidden". I am on android 9

Readme missing a step

Simply run the executable binary (deflix-stremio.exe for Windows, deflix-stremio for macOS and Linux)

There needs to be a %LOCALAPPDATA%\deflix-stremio folder first (Windows).

Thanks :)

Cannot run locally on MacOS

Here's the stacktrace I get:

2021-08-13T23:10:44-04:00	INFO	Parsing config...
2021-08-13T23:10:44-04:00	INFO	Parsed config	{"config": "{\"bindAddr\":\"localhost\",\"port\":8080,\"baseURL\":\"http://localhost:8080\",\"storagePath\":\"\",\"maxAgeTorrents\":604800000000000,\"cachePath\":\"\",\"cacheAgeXD\":86400000000000,\"redisAddr\":\"\",\"redisCreds\":\"\",\"baseURLyts\":\"https://yts.mx\",\"baseURLtpb\":\"https://apibay.org\",\"baseURL1337x\":\"https://1337x.to\",\"baseURLibit\":\"https://ibit.am\",\"baseURLrarbg\":\"https://torrentapi.org\",\"baseURLrd\":\"https://api.real-debrid.com\",\"baseURLad\":\"https://api.alldebrid.com\",\"baseURLpm\":\"https://www.premiumize.me/api\",\"logLevel\":\"debug\",\"logEncoding\":\"console\",\"logFoundTorrents\":false,\"rootURL\":\"https://www.deflix.tv\",\"extraHeadersXD\":null,\"socksProxyAddrTPB\":\"\",\"webConfigurePath\":\"\",\"imdb2metaAddr\":\"\",\"useOAUTH2\":false,\"oauth2authURLrd\":\"https://api.real-debrid.com/oauth/v2/auth\",\"oauth2authURLpm\":\"https://www.premiumize.me/authorize\",\"oauth2tokenURLrd\":\"https://api.real-debrid.com/oauth/v2/token\",\"oauth2tokenURLpm\":\"https://www.premiumize.me/token\",\"oauth2clientIDrd\":\"\",\"oauth2clientIDpm\":\"\",\"oauth2clientSecretRD\":\"\",\"oauth2clientSecretPM\":\"\",\"oauth2encryptionKey\":\"\",\"forwardOriginIP\":false,\"envPrefix\":\"\"}"}
2021-08-13T23:10:44-04:00	INFO	Validated config
2021-08-13T23:10:44-04:00	INFO	Initializing caches...
2021-08-13T23:10:44-04:00	ERROR	Couldn't load RD availability cache from file - continuing with an empty cache	{"error": "Couldn't open go-cache file: open /Users/xxx/Library/Caches/deflix-stremio/cache/availability-rd.gob: no such file or directory"}
main.initCaches
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:420
main.main
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
	/usr/local/go/src/runtime/proc.go:204
2021-08-13T23:10:44-04:00	ERROR	Couldn't load AD availability cache from file - continuing with an empty cache	{"error": "Couldn't open go-cache file: open /Users/xxx/Library/Caches/deflix-stremio/cache/availability-ad.gob: no such file or directory"}
main.initCaches
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:429
main.main
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
	/usr/local/go/src/runtime/proc.go:204
2021-08-13T23:10:44-04:00	ERROR	Couldn't load Premiumize availability cache from file - continuing with an empty cache	{"error": "Couldn't open go-cache file: open /Users/xxx/Library/Caches/deflix-stremio/cache/availability-pm.gob: no such file or directory"}
main.initCaches
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:438
main.main
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
	/usr/local/go/src/runtime/proc.go:204
2021-08-13T23:10:44-04:00	ERROR	Couldn't load redirect cache from file - continuing with an empty cache	{"error": "Couldn't open go-cache file: open /Users/xxx/Library/Caches/deflix-stremio/cache/redirect.gob: no such file or directory"}
main.initCaches
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:470
main.main
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
	/usr/local/go/src/runtime/proc.go:204
2021-08-13T23:10:44-04:00	ERROR	Couldn't load stream cache from file - continuing with an empty cache	{"error": "Couldn't open go-cache file: open /Users/xxx/Library/Caches/deflix-stremio/cache/stream.gob: no such file or directory"}
main.initCaches
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:490
main.main
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
	/usr/local/go/src/runtime/proc.go:204
2021-08-13T23:10:44-04:00	ERROR	Couldn't load token cache from file - continuing with an empty cache	{"error": "Couldn't open go-cache file: open /Users/xxx/Library/Caches/deflix-stremio/cache/token.gob: no such file or directory"}
main.initCaches
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:510
main.main
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
	/usr/local/go/src/runtime/proc.go:204
2021-08-13T23:10:44-04:00	INFO	Initialized caches	{"duration": "0ms"}
2021-08-13T23:10:44-04:00	INFO	Initializing stores...
2021-08-13T23:10:44-04:00	FATAL	Couldn't open BadgerDB	{"error": "Error Creating Dir: \"/Users/xxx/Library/Caches/deflix-stremio/badger\": mkdir /Users/xxx/Library/Caches/deflix-stremio/badger: no such file or directory", "errorVerbose": "mkdir /Users/xxx/Library/Caches/deflix-stremio/badger: no such file or directory\nError Creating Dir: \"/Users/xxx/Library/Caches/deflix-stremio/badger\"\ngithub.com/dgraph-io/badger/v2/y.Wrapf\n\t/go/pkg/mod/github.com/dgraph-io/badger/[email protected]/y/error.go:82\ngithub.com/dgraph-io/badger/v2.createDirs\n\t/go/pkg/mod/github.com/dgraph-io/badger/[email protected]/db.go:1783\ngithub.com/dgraph-io/badger/v2.Open\n\t/go/pkg/mod/github.com/dgraph-io/badger/[email protected]/db.go:251\nmain.initStores\n\t/go/src/deflix-stremio/cmd/deflix-stremio/main.go:383\nmain.main\n\t/go/src/deflix-stremio/cmd/deflix-stremio/main.go:165\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:204\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1374"}
main.initStores
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:385
main.main
	/go/src/deflix-stremio/cmd/deflix-stremio/main.go:165
runtime.main
	/usr/local/go/src/runtime/proc.go:204

Local installation not working on Windows Stremio

Hello,

The local installation doesn't seem to work on my windows 10 laptop. I double click the .exe file and nothing happens, the localhost configure page also doesn't load. Is there some pre requirement?

P.S. - Any idea how long it will take for the infrastructure to be setup so we can install directly from stremio?

Thanks

Error occurred while adding addon

I have installed the docker image. However it's giving me the error "Error occurred while adding addon" when trying to install the addon.

Please see video recording below:

16.November.2021-.1080p60.mp4

dockerdeflix

add-on on a host

Can I host the add-on on a host, and access it remotely as if it were local?

Android Support

Do we have any support for Android? I wanted to use deflex on Android.

Error running executable on Linux ("open ./imdb-top-250.csv: no such file or directory")

This is the output I'm getting:

tmp.qzPfD6NaDs % curl -L 'https://github.com/Deflix-tv/stremio-top-movies/releases/download/v0.4.0/stremio-top-movies_v0.4.0_Linux_x64.tar.gz' | tar -x
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 4297k  100 4297k    0     0  3214k      0  0:00:01  0:00:01 --:--:-- 3214k
tmp.qzPfD6NaDs % ./stremio-top-movies
2022-10-03T21:03:51-05:00       INFO    Cache age set   {"duration": "24h0m0s"}
2022-10-03T21:03:51-05:00       INFO    Initializing catalogs...
2022-10-03T21:03:51-05:00       FATAL   Couldn't read file      {"error": "open ./imdb-top-250.csv: no such file or directory"}
main.readCSV
        /go/src/app/main.go:201
main.createCatalogResponse
        /go/src/app/main.go:185
main.main
        /go/src/app/main.go:156
runtime.main
        /usr/local/go/src/runtime/proc.go:203

Unable to Fetch on Stremio?

Hi, I'm running Deflix through docker. When I attempt to install on Stremio I receive the error "Unable to Fetch".

Deflix logs:

ErrorWarningSystemArrayLogin

2022-03-14T21:17:37+11:00 INFO Parsing config...
2022-03-14T21:17:37+11:00 INFO Parsed config {"config": "{\"bindAddr\":\"0.0.0.0\",\"port\":8080,\"baseURL\":\"http://localhost:8080\",\"storagePath\":\"\",\"maxAgeTorrents\":604800000000000,\"cachePath\":\"\",\"cacheAgeXD\":86400000000000,\"redisAddr\":\"\",\"redisCreds\":\"\",\"baseURLyts\":\"https://yts.mx\",\"baseURLtpb\":\"https://apibay.org\",\"baseURL1337x\":\"https://1337x.to\",\"baseURLibit\":\"https://ibit.am\",\"baseURLrarbg\":\"https://torrentapi.org\",\"baseURLrd\":\"https://api.real-debrid.com\",\"baseURLad\":\"https://api.alldebrid.com\",\"baseURLpm\":\"https://www.premiumize.me/api\",\"logLevel\":\"debug\",\"logEncoding\":\"console\",\"logFoundTorrents\":false,\"rootURL\":\"https://www.deflix.tv\",\"extraHeadersXD\":null,\"socksProxyAddrTPB\":\"\",\"webConfigurePath\":\"\",\"imdb2metaAddr\":\"\",\"useOAUTH2\":false,\"oauth2authURLrd\":\"https://api.real-debrid.com/oauth/v2/auth\",\"oauth2authURLpm\":\"https://www.premiumize.me/authorize\",\"oauth2tokenURLrd\":\"https://api.real-debrid.com/oauth/v2/token\",\"oauth2tokenURLpm\":\"https://www.premiumize.me/token\",\"oauth2clientIDrd\":\"\",\"oauth2clientIDpm\":\"\",\"oauth2clientSecretRD\":\"\",\"oauth2clientSecretPM\":\"\",\"oauth2encryptionKey\":\"\",\"forwardOriginIP\":false,\"envPrefix\":\"\"}"}
2022-03-14T21:17:37+11:00 INFO Validated config
2022-03-14T21:17:37+11:00 INFO Initializing caches...
2022-03-14T21:17:37+11:00 ERROR Couldn't load RD availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/availability-rd.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:420

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load AD availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/availability-ad.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:429

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load Premiumize availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/availability-pm.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:438

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load redirect cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/redirect.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:470

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load stream cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/stream.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:490

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load token cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/token.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:510

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 INFO Initialized caches {"duration": "0ms"}
2022-03-14T21:17:37+11:00 INFO Initializing stores...
2022-03-14T21:17:37+11:00 INFO Initialized stores {"duration": "740ms"}
2022-03-14T21:17:37+11:00 INFO Initializing clients...
2022-03-14T21:17:37+11:00 INFO Initialized clients {"duration": "0ms"}
2022-03-14T21:17:37+11:00 INFO Setting up server...
2022-03-14T21:17:37+11:00 INFO Finished setting up server
2022-03-14T21:17:37+11:00 INFO Starting server {"address": "0.0.0.0:8080"}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "token", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "redirect", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "stream", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "availability-rd", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "availability-ad", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "availability-pm", "itemCount": 0}
2022-03-14T21:18:49+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:18:54+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:16+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:16+11:00 ERROR Fiber's error handler was called {"error": "Bad Request"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:16+11:00 ERROR Fiber's error handler was called {"error": "Bad Request"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:21+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:26+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:31+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:41+11:00 DEBUG Decoding user data {"userData": "eyJyZFRva2VuIjoiWU5ERkNERVJUM0tLSlZPUDVMQ0pVSUFGSFdWM09DTDc3RFNKV0U0RkpEQVZITVBUQUY3QSJ9"}
2022-03-14T21:19:41+11:00 DEBUG Decoded user data {"userData": "{RDtoken:YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A RDoauth2: RDremote:false ADkey: PMkey: PMoauth2:}"}
2022-03-14T21:19:41+11:00 DEBUG Testing token... {"debridSite": "RealDebrid", "keyOrToken": "YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A"}
2022-03-14T21:19:41+11:00 DEBUG API token not found in cache {"debridSite": "RealDebrid", "keyOrToken": "YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A"}
2022-03-14T21:19:41+11:00 DEBUG Sending request to RealDebrid {"request": "&{Method:GET URL:https://api.real-debrid.com/rest/1.0/user Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Authorization:[Bearer YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A]] Body:<nil> GetBody:<nil> ContentLength:0 TransferEncoding:[] Close:false Host:api.real-debrid.com Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr: RequestURI: TLS:<nil> Cancel:<nil> Response:<nil> ctx:0xc0000a4048}"}
2022-03-14T21:19:42+11:00 DEBUG Token OK {"debridSite": "RealDebrid", "keyOrToken": "YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A"}
2022-03-14T21:19:42+11:00 DEBUG manifestHandler called
2022-03-14T21:19:42+11:00 DEBUG Responding {"body": "{\"id\":\"tv.deflix.stremio\",\"name\":\"Deflix - Debrid flicks\",\"description\":\"Finds movies and TV shows on YTS, The Pirate Bay, 1337x, RARBG and ibit and automatically turns them into cached HTTP streams with a debrid service like RealDebrid, AllDebrid or Premiumize, for high speed 4k streaming and no P2P uploading (!). For more info see https://www.deflix.tv\",\"version\":\"0.11.1\",\"resources\":[{\"name\":\"stream\",\"types\":[\"movie\",\"series\"],\"idPrefixes\":[\"tt\"]}],\"types\":[\"movie\",\"series\"],\"catalogs\":[],\"idPrefixes\":[\"tt\"],\"background\":\"https://www.deflix.tv/images/Logo-1024px.png\",\"logo\":\"https://www.deflix.tv/images/Logo-250px.png\",\"behaviorHints\":{\"configurable\":true}}"}

2022-03-14T21:19:42+11:00 INFO Handled request {"status": 200, "duration": "917ms", "method": "GET", "url": "/eyJyZFRva2VuIjoiWU5ERkNERVJUM0tLSlZPUDVMQ0pVSUFGSFdWM09DTDc3RFNKV0U0RkpEQVZITVBUQUY3QSJ9/manifest.json", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:19:42+11:00 INFO Handled request {"status": 404, "duration": "0ms", "method": "GET", "url": "/favicon.ico", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:19:56+11:00 ERROR Fiber's error handler was called {"error": "Bad Request"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:22:43+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:23:39+11:00 INFO Handled request {"status": 200, "duration": "0ms", "method": "GET", "url": "/configure", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:23:39+11:00 INFO Handled request {"status": 200, "duration": "0ms", "method": "GET", "url": "/configure/deflix.css", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:23:39+11:00 INFO Handled request {"status": 200, "duration": "0ms", "method": "GET", "url": "/configure/mvp.css", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:23:40+11:00 INFO Handled request {"status": 200, "duration": "0ms", "method": "GET", "url": "/configure/favicon.ico", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:24:04+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:24:09+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195

Setup deflix on AWS/Oracle

I've managed to get it running on AWS, but can't figure out if it's possible to make it accessible over the internet so that I could use Deflix on my phone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.