Skip to content

Latest commit

 

History

History
34 lines (34 loc) · 7.42 KB

CONFIGURING.md

File metadata and controls

34 lines (34 loc) · 7.42 KB
Environment Variable Default Value Description
ADDON_NAME AIOStreams The name of the addon.
ADDON_ID aiostreams.viren070.com The unique identifier for the addon.
PORT 3000 The port on which the server runs.
BRANDING undefined Custom branding for the addon, displayed at the top of the configuration page. This is a BUILD TIME environment variable.
SECRET_KEY Empty string ('') The secret key used for encryption or sensitive operations. openssl rand -hex 16 or [System.Guid]::NewGuid().ToString("N").Substring(0, 32) can be used to generate a new secret key for Linux/MacoS and Windows respectively.
CUSTOM_CONFIGS Empty string ('') Custom configurations in JSON format, using the alias as the key, and the encoded/encrypted string as the value. e.g. {"default": "eyJyZXNvbHV0....", "rd": "E-affedc...}.

In this case, using /default/manifest.json would use the configuration stored at the default key.

To easily generate the value for this environment variable, head to /custom-config-generator on your instance to find a tool that outputs the necessary value based on your configurations.
DISABLE_CUSTOM_CONFIG_GENERATOR_ROUTE false Whether to disable the /custom-config-generator route
COMET_URL https://comet.elfhosted.com/ The URL for the Comet addon. You can replace this with your self-hosted instance of Comet.
MEDIAFUSION_URL https://mediafusion.elfhosted.com/ The URL for the MediaFusion addon
MEDIAFUSION_API_PASSWORD Empty string ('') The API_PASSWORD variable you set for your self-hosted MediaFusion instance. This is required if you want AIOStreams to generate configurations for MediaFusion based on the services you entered. If you provide the override url option for MediaFusion, this environment variable isn't required
TORRENTIO_URL https://torrentio.strem.fun/ The URL for the Torrentio addon.
TORBOX_STREMIO_URL https://stremio.torbox.app/ The URL for the Torbox Stremio addon.
EASYNEWS_URL https://ea627ddf0ee7-easynews.baby-beamup.club/ The URL for the Easynews addon.
EASYNEWS_PLUS_URL https://b89262c192b0-stremio-easynews-addon.baby-beamup.club/ The URL for the Easynews Plus addon. This can be replaced with your self-hosted instance
ADDON_PROXY Empty string ('') You can run the requests AIOStreams makes to other addons through a proxy such as https://github.com/cmj2002/warp-docker
DEFAULT_MEDIAFLOW_URL Empty string ('') You can set a default MediaFlow URL. All configurations made at an instance with this enabled will use this MediaFlow URL if it is not overriden by a user-set URL at the configure page
DEFAULT_MEDIAFLOW_API_PASSWORD Empty string ('') The API password for the default MediaFlow URL.
DEFAULT_MEDIAFLOW_PUBLIC_IP Empty string ('') Public IP for the default MediaFlow instance. This IP is forwarded to other addons
MAX_ADDONS 15 Maximum number of addons allowed.
MAX_MOVIE_SIZE 161061273600 (150 GiB) Maximum movie size (in bytes). This controls the maximum value of the sliders at the configure page
MAX_EPISODE_SIZE 16106127360 (15 GiB) Maximum episode size (in bytes).
MAX_TIMEOUT 50000 Maximum timeout for operations (in milliseconds).
MIN_TIMEOUT 1000 Minimum timeout for operations (in milliseconds).
DEFAULT_TIMEOUT 15000 Default timeout for operations (in milliseconds).
DEFAULT_TORRENTIO_TIMEOUT 5000 Default timeout for Torrentio requests (in milliseconds).
DEFAULT_TORBOX_TIMEOUT 15000 Default timeout for Torbox requests (in milliseconds).
DEFAULT_COMET_TIMEOUT 15000 Default timeout for Comet requests (in milliseconds).
DEFAULT_MEDIAFUSION_TIMEOUT 15000 Default timeout for MediaFusion requests (in milliseconds).
DEFAULT_EASYNEWS_TIMEMOUT 15000 Default timeout for Easynews requests (in milliseconds).
DEFAULT_EASYNEWS_PLUS_TIMEMOUT 15000 Default timeout for Easynews Plus re uests (in milliseconds).
SHOW_DIE true Whether to display the die emoji in AIOStreams results
LOG_SENSITIVE_INFO false Whether to log sensitive information.