diff --git a/apps/aiostreams/.env b/apps/aiostreams/.env index 407581d..7137e52 100644 --- a/apps/aiostreams/.env +++ b/apps/aiostreams/.env @@ -7,13 +7,6 @@ # ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ # # ================================================================================= # -# ============================================================================== -# TRAEFIK CONFIGURATION -# ============================================================================== -# The domain to use for AIOStreams. -AIOSTREAMS_HOSTNAME= - - # ============================================================================== # GENERAL ADDON CONFIGURATION # ============================================================================== @@ -32,6 +25,13 @@ SECRET_KEY= # Can be set to any string API_KEY= +# You can use this environment variable to generate aliases for your configurations. This is useful when the configuration URL +# becomes too long sometimes, or if you want it to be easier to share the URL. +# Use the /custom-config-generator page on your addon to get the value for this variable. +# It should be a JSON object key-value pair, where the key is the alias and the value is the configuration string (the component before the manifest.json) +# e.g. {"alias1":"E2-....-.....","alias2":"E2-....-....."} +CUSTOM_CONFIGS={} + # Controls whether the addon shows a dice emoji in its stream results SHOW_DIE=false # The log level of the addon, can be set to "debug", "info", "warn", "error" @@ -68,6 +68,8 @@ ADDON_PROXY_CONFIG=*:false,*.strem.fun:true MAX_ADDONS=100 # The maximum number of keyword filters that can be used in a single instance of the addon MAX_KEYWORD_FILTERS=100 +# The maximum number of regexes that can be used for sorting in a single instance of the addon +MAX_REGEX_SORT_PATTERNS=30 # To control the maximum size the size filter sliders can go up to in bytes MAX_MOVIE_SIZE=161061273600 MAX_EPISODE_SIZE=161061273600 @@ -84,26 +86,55 @@ MIN_TIMEOUT=1000 MEDIAFLOW_IP_TIMEOUT=30000 # If you set a default mediaflow configuration, it will force the addon to use MediaFlow for all instances # A user can override the mediaflow instance to use a different one -DEFAULT_MEDIAFLOW_URL= -DEFAULT_MEDIAFLOW_API_PASSWORD= -DEFAULT_MEDIAFLOW_PUBLIC_IP= +# DEFAULT_MEDIAFLOW_URL= +# DEFAULT_MEDIAFLOW_API_PASSWORD= +# DEFAULT_MEDIAFLOW_PUBLIC_IP= +# +# Whether to encrypt the MediaFlow URLs. This improves compatability with external players as well as improving security. +ENCRYPT_MEDIAFLOW_URLS=true # ============================================================================== +# ============================================================================== +# STREMTHRU (PROXY) CONFIGURATION +# ============================================================================== +# The timeout for requests to the StremThru instance +STREMTHRU_TIMEOUT=30000 +# If you set a default stremthru configuration, it will force the addon to use StremThru for all instances +# A user can override the stremthru instance to use a different one +# DEFAULT_STREMTHRU_URL= +# The default credential used (either plain-text or base64 encoded of a username:password pair) +# DEFAULT_STREMTHRU_CREDENTIAL= +# Whether to optionally use a default public IP for the stremthru instance +# DEFAULT_STREMTHRU_PUBLIC_IP= +# Whether to encrypt each StremThru proxy URL. +ENCRYPT_STREMTHRU_URLS=true + # ============================================================================== # ADDON CONSTANTS # ============================================================================== # The default timeout for all requests. If other timeouts are not set, this will be used DEFAULT_TIMEOUT=5000 -# Note: all URLs must end in a trailing slash +# Default regex patterns for filtering and sorting +# These are used as defaults, and can be overridden in the addon configuration page +# +# NOTE: You MUST provide the regex between 2 single quotes ('), not double quotes or no quotes, otherwise it will NOT work. +# +# Example Exclude Pattern: `/b(0neshot)\b` will exclude streams with the word "0neshot" in them +# DEFAULT_REGEX_EXCLUDE_PATTERN='' +# Example Include Pattern: `/b(3L)\b` will include only streams with the word "3L" in them +# DEFAULT_REGEX_INCLUDE_PATTERN='' +# Example Sort Patterns: `/b(3L|BiZKiT)\b \b(FraMeSToR)\b \b(TRiToN)\b` will sort streams with the word "3L" or "BiZKiT" in them, followed by "FraMeSToR", followed by "TRiToN" +# DEFAULT_REGEX_SORT_PATTERNS='' + # ----------- COMET ------------ # The URL of the Comet instance to use. You can provide a url to a self hosted instance of Comet or the public instance COMET_URL=https://comet.elfhosted.com/ # COMET_URL=http://comet:2020/ # The default timeout for all requests to the Comet API. If left empty, either the DEFAULT_TIMEOUT or the overriden timeout will be used -DEFAULT_COMET_TIMOUT= +# DEFAULT_COMET_TIMOUT= # The following environment variables should only be set if you are using an internal URL for 'COMET_URL' e.g. http://comet:3000/ # and want the comet streams to be accessible from outside the network # i.e. you would set these to the public URL of the comet instance @@ -124,7 +155,7 @@ DEFAULT_COMET_TIMOUT= # The URL of the MediaFusion instance to use. You can provide a url to a self hosted instance of MediaFusion or the public instance MEDIAFUSION_URL=https://mediafusion.elfhosted.com/ # MEDIAFUSION_URL=http://mediafusion:8000/ -DEFAULT_MEDIAFUSION_TIMEOUT= +# DEFAULT_MEDIAFUSION_TIMEOUT= # The timeout applied to the /encrypt-user-data endpoint of MediaFusion when auto generating the configuration MEDIAFUSION_CONFIG_TIMEOUT=5000 # If you are using a self hosted instance of MediaFusion protected with a 'API_PASSWORD', you must provide it here @@ -150,61 +181,61 @@ DEFAULT_JACKETTIO_STREMTHRU_URL=https://stremthru.13377001.xyz STREMIO_JACKETT_URL=https://stremio-jackett.elfhosted.com/ # STREMIO_JACKETT_URL=http://stremio-jackett:3000/ # If using a self hosted instance, provide the Jackett URL and API key here -DEFAULT_STREMIO_JACKETT_JACKETT_URL= -DEFAULT_STREMIO_JACKETT_JACKETT_API_KEY= +# DEFAULT_STREMIO_JACKETT_JACKETT_URL= +# DEFAULT_STREMIO_JACKETT_JACKETT_API_KEY= # The default API key used in Stremio Jackett configurations. # DEFAULT_STREMIO_JACKETT_TMDB_API_KEY= -DEFAULT_STREMIO_JACKETT_TIMEOUT= +# DEFAULT_STREMIO_JACKETT_TIMEOUT= # ------------------------------------- # --------- EASYNEWS+ ADDON --------- # The URL of the EasyNews+ instance to use. You can provide a url to a self hosted instance of EasyNews+ or the public instance EASYNEWS_PLUS_URL=https://b89262c192b0-stremio-easynews-addon.baby-beamup.club/ # EASYNEWS_PLUS_URL=http://easynews-plus:1337/ -DEFAULT_EASYNEWS_PLUS_TIMEOUT= +# DEFAULT_EASYNEWS_PLUS_TIMEOUT= # ------------------------------------- # -------- EASYNEWS++ ADDON --------- EASYNEWS_PLUS_PLUS_URL=https://easynews-cloudflare-worker.jqrw92fchz.workers.dev/ -DEFAULT_EASYNEWS_PLUS_PLUS_TIMEOUT= +# DEFAULT_EASYNEWS_PLUS_PLUS_TIMEOUT= # ------------------------------------- # ----------- TORRENTIO ------------- TORRENTIO_URL=https://torrentio.strem.fun/ -DEFAULT_TORRENTIO_TIMEOUT= +# DEFAULT_TORRENTIO_TIMEOUT= # ------------------------------------- # -------- ORION STREMIO ADDON -------- ORION_STREMIO_ADDON_URL=https://5a0d1888fa64-orion.baby-beamup.club/ -DEFAULT_ORION_STREMIO_ADDON_TIMEOUT= +# DEFAULT_ORION_STREMIO_ADDON_TIMEOUT= # ------------------------------------- # ------------ PEERFLIX -------------- PEERFLIX_URL=https://peerflix-addon.onrender.com/ -DEFAULT_PEERFLIX_TIMEOUT= +# DEFAULT_PEERFLIX_TIMEOUT= # ------------------------------------- # -------- TORBOX STREMIO ADDON -------- TORBOX_STREMIO_URL=https://stremio.torbox.app/ -DEFAULT_TORBOX_STREMIO_TIMEOUT= +# DEFAULT_TORBOX_STREMIO_TIMEOUT= # -------------------------------------- # -------- EASYNEWS ADDON -------- EASYNEWS_URL=https://ea627ddf0ee7-easynews.baby-beamup.club/ -DEFAULT_EASYNEWS_TIMEOUT= +# DEFAULT_EASYNEWS_TIMEOUT= # -------------------------------------- # ------------ DEBRIDIO ----------- DEBRIDIO_URL=https://debridio.adobotec.com/ -DEFAULT_DEBRIDIO_TIMEOUT= +# DEFAULT_DEBRIDIO_TIMEOUT= # -------------------------------------- # ------------- DMM Cast ---------------- -DEFAULT_DMM_CAST_TIMEOUT= +# DEFAULT_DMM_CAST_TIMEOUT= # -------------------------------------- # -------------- STREMIO GDRIVE ---------------- -DEFAULT_STREMIO_GDRIVE_TIMEOUT= +# DEFAULT_STREMIO_GDRIVE_TIMEOUT= # -------------------------------------- # ==============================================================================