Keys to collect note there is no API key for the indexer itself, as this project is intended to run on an internal Docker network, without ports being expoesd to the internet
- AnimeBytes - for AnimeBytes results // only required if you are using AnimeBytes
- If you are using Redis as your cache, you can retrieve the
REDIS_URL
andREDIS_TOKEN
keys from Upstash
Clone the repository or fetch it however you want:
git clone https://github.com/TurboCheetah/sneedznab.git
cd sneedznab
Edit the environment variables in docker-compose.yml
to suit your needs.
Finally, spin up a Docker container using docker-compose up -d
.
<PROVIDER>_ENABLED
: when set to true Sneedznab will search this provider for the requested animeANIMEBYTES_PASSKEY
: your AnimeBytes passkey. Only required ifANIMEBYTES_ENABLED
is set totrue
. See above for where to obtain itANIMEBYTES_USERNAME
: your AnimeBytes usersname. Only required ifANIMEBYTES_ENABLED
is set totrue
. This is required for interacting with their APIREDIS_ENABLED
: determines whether or not to use Redis as the cache provider instead of a local in-memory cacheREDIS_URL
: the URL to the Redis database hosted by Upstash. Only required ifREDIS_ENABLED
is set totrue
. See above for where to obtain itREDIS_TOKEN
: the token used to access the Redis database. Only required ifREDIS_ENABLED
is set totrue
CACHE_TTL
: how long a cached entry should live in the cache forDEBUG
: toggles verbose logging
Due to its instability, Bun may segfault after performing a search. From my testing this only has a chance of occuring on the first search. If you encounter this, just restart the container and perform a test search until it doesn't segfault.