diff --git a/apps/aiometadata/.env b/apps/aiometadata/.env index 1efc46d..85ab6ff 100644 --- a/apps/aiometadata/.env +++ b/apps/aiometadata/.env @@ -23,6 +23,28 @@ FANART_API_KEY= RPDB_API_KEY= # Your MDBList API key. Optional, for integrating MDBList catalogs. MDBLIST_API_KEY= +# Your Gemini API key. Optional, for AI features. +GEMINI_API_KEY= + +# AniList API credentials (required for AniList integration) +# Get these from https://anilist.co/settings/developer +# Your AniList client ID +ANILIST_CLIENT_ID= +# Your AniList client secret +ANILIST_CLIENT_SECRET= +# The redirect URI for AniList OAuth (must match your AniList app settings) +# Example: https://your-domain.com/anilist/callback +ANILIST_REDIRECT_URI= + +# Trakt API credentials (required for Trakt integration) +# Get these from https://trakt.tv/oauth/applications +# Your Trakt client ID +TRAKT_CLIENT_ID= +# Your Trakt client secret +TRAKT_CLIENT_SECRET= +# The redirect URI for Trakt OAuth (must match your Trakt app settings) +# Example: https://your-domain.com/api/auth/trakt/callback +TRAKT_REDIRECT_URI= # -- Database & Caching -- # Connection URI for the database. SQLite is used for local storage, but PostgreSQL is also supported. diff --git a/apps/aiostreams/.env b/apps/aiostreams/.env index 26256da..5edce4d 100644 --- a/apps/aiostreams/.env +++ b/apps/aiostreams/.env @@ -78,6 +78,82 @@ DATABASE_URI=sqlite://./data/db.sqlite # If self-hosting stremthru, this can instead be set to http://stremthru:8080 BUILTIN_STREMTHRU_URL=https://stremthru.13377001.xyz +# By default, built-in addons will only use the primary title when using text-based querying. Use this variable +# to control this behaviour. +# You can either set this to true, false, or a comma separated list of hostnames. +# true means it always uses all titles, including for knaben, torrent galaxy etc. +# false means it never uses all titles +# jackett,knaben.org means only for URLs like http://jackett:9117 and https://knaben.org will all titles be used. +BUILTIN_SCRAPE_WITH_ALL_TITLES=false + +# How long the cache status of an item is cached. Only applies to cached items, uncached items are always checked again. +# Default: 30 minutes +BUILTIN_DEBRID_INSTANT_AVAILABILITY_CACHE_TTL=1800 +# How long download links for an item remain cached for. +# Default: 1 hour +BUILTIN_DEBRID_PLAYBACK_LINK_CACHE_TTL=3600 +# How long the list of downloads in the user's library is cached for. +# Default: 5 minutes +BUILTIN_DEBRID_LIBRARY_CACHE_TTL=300 + +# The timeout for getting the magnet from a torrent link. Happens in bulk during searches when only download URL is present. +BUILTIN_GET_TORRENT_TIMEOUT=5000 +# How many of the get torrent tasks should be running at the same time +# Higher values will increase search times but use more system resources. +BUILTIN_GET_TORRENT_CONCURRENCY=100 +# The minimum interval between background refreshes for built-in addon search caches. Triggered during normal searches. +# e.g. Searches remain cached for the addon-specific TTLs but once this interval has passed, a background refresh can be triggered to ensure fresh results +# without making the user wait. +# Default: 1 day +BUILTIN_MINIMUM_BACKGROUND_REFRESH_INTERVAL=86400 + + +# ---- Bitmagnet ---- +# Enter the URL of a bitmagnet instance to enable the Bitmagnet addon in the marketplace. +# BUILTIN_BITMAGNET_URL= + +# ---- Prowlarr ------ +# Optionally provide a default prowlarr URL and API Key here. Users cannot see the values set here. +# BUILTIN_PROWLARR_URL= +# BUILTIN_PROWLARR_API_KEY= +# Optionally provide a comma separated list of indexers to limit the options in the config page, if not provided, all indexers will be shown. +# BUILTIN_PROWLARR_INDEXERS= +# BUILTIN_DEFAULT_PROWLARR_TIMEOUT= +# The timeout for search requests. +# BUILTIN_PROWLARR_SEARCH_TIMEOUT= +# How long specific responses should be cached for. +BUILTIN_PROWLARR_SEARCH_CACHE_TTL=604800 +BUILTIN_PROWLARR_INDEXERS_CACHE_TTL=1209600 + + +# --- Knaben ---- +# BUILTIN_DEFAULT_KNABEN_TIMEOUT= +# BUILTIN_KNABEN_SEARCH_TIMEOUT=30000, +# BUILTIN_KNABEN_SEARCH_CACHE_TTL=604800 + + +# --- Torrent Galaxy --- +# BUILTIN_TORRENT_GALAXY_URL=https://torrentgalaxy.space +# Default timeout of the addon in the marketplace +# BUILTIN_DEFAULT_TORRENT_GALAXY_TIMEOUT= +# The timeout for requests to TGx +# BUILTIN_TORRENT_GALAXY_SEARCH_TIMEOUT=30000 +# How long each search is cached for. +# BUILTIN_TORRENT_GALAXY_SEARCH_CACHE_TTL=604800 +# The maximum number of pages to fetch. +# BUILTIN_TORRENT_GALAXY_PAGE_LIMIT=5 + + + +# ---- Jackett +# Optionally provide a default Jackett URL and API Key here. Users cannot see the values set here. +# BUILTIN_JACKETT_URL= +# BUILTIN_JACKETT_API_KEY= + +# ---- NZBHydra2 ------ +# Optionally provide a default NZBHydra URL and API Key here. Users cannot see the values set here. +# BUILTIN_NZBHYDRA_URL= +# BUILTIN_NZBHYDRA_API_KEY= # ---- Stremio GDrive ----- # Client ID and Secret generated following this guide: https://guides.viren070.me/stremio/addons/stremio-gdrive @@ -103,6 +179,42 @@ BUILTIN_TORBOX_SEARCH_CACHE_PER_USER_SEARCH_ENGINE=false # BUILTIN_TORBOX_SEARCH_METADATA_CACHE_TTL=604800 # BUILTIN_TORBOX_SEARCH_INSTANT_AVAILABILITY_CACHE_TTL=900 +# ---- *znab (Torznab/Newznab) ---- + +BUILTIN_NAB_SEARCH_TIMEOUT=30000 +BUILTIN_NAB_SEARCH_CACHE_TTL=604800 +BUILTIN_NAB_CAPABILITIES_CACHE_TTL=1209600 +BUILTIN_NAB_MAX_PAGES=5 + +# --- Zilean --- +BUILTIN_ZILEAN_URL="https://zilean.elfhosted.com" +# BUILTIN_DEFAULT_ZILEAN_TIMEOUT= + +# --- AnimeTosho --- +BUILTIN_ANIMETOSHO_URL="https://feed.animetosho.org" +# BUILTIN_DEFAULT_ANIMETOSHO_TIMEOUT= + +BUILTIN_NEKOBT_URL="https://nekobt.to/api/torznab" +# BUILTIN_DEFAULT_NEKOBT_TIMEOUT= + + +# ============================================================================= +# # ANIME DATABASE +# ============================================================================= + +# Customise the level of detail that is loaded and available for AIOStreams and the Anime API. +# Choices: none, required, full +# Default: required +ANIME_DB_LEVEL_OF_DETAIL=required +# Control how often the datasources for the local anime database will refresh. + +ANIME_DB_FRIBB_MAPPINGS_REFRESH_INTERVAL=86400000 +ANIME_DB_MANAMI_DB_REFRESH_INTERVAL=604800000 +ANIME_DB_KITSU_IMDB_MAPPING_REFRESH_INTERVAL=86400000 +ANIME_DB_EXTENDED_ANITRAKT_MOVIES_REFRESH_INTERVAL=86400000 +ANIME_DB_EXTENDED_ANITRAKT_TV_REFRESH_INTERVAL=86400000 + + # ============================================================================== # DEBRID & OTHER SERVICE API KEYS # ============================================================================== @@ -179,12 +291,31 @@ FORCED_SEEDR_ENCODED_TOKEN= # Example: CUSTOM_HTML="
Welcome to my AIOStreams!
" CUSTOM_HTML= +# --- Alternate Design +# Choose to enable an alternate design for the AIOStreams logo. +ALTERNATE_DESIGN=false + # --- Trusted Users --- # Comma-separated list of trusted UUIDs. # Trusted users can access features like regex filters if REGEX_FILTER_ACCESS is 'trusted'. # Example: TRUSTED_UUIDS=ae32f456-1234-5678-9012-345678901234,another-uuid-here # TRUSTED_UUIDS= +# ---- Stream Data ---- +# Whether to provide stream data in stream responses. +# Set to either true, false, or a list of IPs. +# Or leave undefined. +# Setting to a list of IPs only shows stream data when request is made from one of those IPs +# Leaving as undefined only shows when necessary by AIO. +# Disabling this means users cannot wrap your AIOStreams instance. +# PROVIDE_STREAM_DATA= + +# --- Search API ----- +# Control whether to serve a search API for easier access to results through AIOStreams +# at the /api/v1/search endpoint. +# Enabled by default, set to false to disable. +# ENABLE_SEARCH_API=true + # --- Regex Filter Access --- # Controls who can use regex filters. # 'none': No one can use regex filters. @@ -198,14 +329,20 @@ REGEX_FILTER_ACCESS=trusted # Format: e.g. ["/(\\[(Aergia|smol|SoM|Vodes)\\]|-(Aergia(?!-raws)|smol|SoM)\\b|\\b(Arg0|LYS1TH3A|OZR|SCY|ZeroBuild)\\b)|(?