{% extends "base.html" %} {% block title %}Settings — TG Stremio{% endblock %} {% block content %}

Settings

Stored in the database. Most changes apply without a restart.

System & Maintenance

Loading stats…

Loading logs…

Pulls the latest code from the upstream repo/branch above and restarts the server. The web app becomes unreachable for a few seconds — this page will reconnect automatically once it's back online.

General

Admin Authentication

{% if settings.admin_password_set is defined and settings.admin_password_set %} Password is set {% endif %}

Signs admin login sessions. Changing it logs out all admins after the next restart. {% if settings.session_secret_set is defined and settings.session_secret_set %} Secret is set {% endif %}


{% set anime_norm = settings.anime_channels | map('string') | map('replace', '-100', '') | list %} {% set titles = settings.channel_titles or {} %}
{% for ch in settings.auth_channels %} {% set is_anime = (ch | string | replace('-100', '')) in anime_norm %} {% set t = titles.get(ch|string, ch|string) %}
{{ t }}
{% endfor %}

Media & Content


Poster Provider

Replace catalog posters with textless artwork. Only one provider can be active at a time.

How often the artwork changes. Use 0 for a fresh random pick on every load.

Stream Formatter

How each stream's name and description look in Stremio. Uses the AIOStreams template syntax, so Prism, Tamtaro and any other community formatter can be pasted into Custom as-is. Empty fields are removed automatically.

Fields: {stream.resolution} {stream.quality} {stream.encode} {stream.visualTags} {stream.audioTags} {stream.audioChannels} {stream.languages} {stream.languageEmojis} {stream.size} {stream.releaseGroup} {stream.seasonEpisode} {stream.indexer} {addon.name} … Wrap optional parts in {?…?} or ::exists["…"||""].

Manual Add Channels

{% for ch in settings.manual_channels %} {% set t = (settings.channel_titles or {}).get(ch|string, ch|string) %}
{{ t }}
{% endfor %}

Subscription

Users are pointed back to your bot automatically for renewals and joining.
{% for uid in settings.approver_ids %}
{% endfor %}

Telegram User Session

Log in with your phone number to generate the User Session automatically — no manual session string needed. It's encrypted and stored securely, and powers Global Search.

Checking session…
{% if userbot_configured %}
{% endif %}

Global Search

{% if not userbot_configured %}

Connect your Telegram User Session above to unlock Global Search.

{% endif %}

Leave empty to search globally across all channels the account can see. Otherwise enter channel IDs in -100xxxxxxxxxx format only.

{% for ch in settings.global_search_channels %} {% set t = (settings.channel_titles or {}).get(ch|string, ch|string) %}
{{ t }}
{% endfor %}

New Content Announcements


Channel ID only in -100xxxxxxxxxx format (channels only). The bot must be an admin in that channel.

{% set ac_t = (settings.channel_titles or {}).get(settings.announcement_channel|string, settings.announcement_channel) %}

Skip Channel

{% set sc_t = (settings.channel_titles or {}).get(settings.skip_channel|string, settings.skip_channel) %}

Proxy Settings

Cloudflare Streaming

Stream video from a Cloudflare streaming Worker instead of this server. Catalogs, tokens and limits stay here; the Worker reports each token's usage back. Enter the URL and secret you were given.

Get Cloudflare streaming

Recommended on free hosts (Koyeb, Render, orkestr): video then streams fast from Cloudflare instead of a slow, sleeping free server. After buying, you get the Worker URL and secret on Telegram.

WebDAV

Expose your library as a virtual filesystem. URL: /webdav/<API_TOKEN>/ Use any valid Stremio API token in the path. Optional Basic auth below.

Movies: /webdav/TOKEN/Movies/ · TV: /webdav/TOKEN/TV Shows/ · NFO files are generated automatically.

Databases

Tracking and Storage 1 are required to boot the app and can't be edited here. Additional storage databases connect/disconnect instantly when saved — no restart needed. For data-safety reasons you can only append new databases or remove from the end of the list — editing or deleting one in the middle is rejected on save, since existing media documents reference databases by position.

{% for entry in settings.database_list %} {% if entry.locked %}
{{ "Tracking" if entry.type == "tracking" else "Storage 1" }}
{% endif %} {% endfor %}

{% for entry in settings.database_list %} {% if not entry.locked %}
{% endif %} {% endfor %}

Multi-Token Clients

Additional bot tokens used for parallel streaming. Changes reinitialise the client pool immediately (no restart needed).

{% for tok in settings.multi_tokens %}
{% endfor %}

Helper Bots

Bots that copy files into users' own channels. Add them as admins in your storage channels. Users can add their own bots from the addon page only while at least one helper bot is set.

{% for tok in settings.helper_tokens %}
{% endfor %}

Backup & Restore

Export everything — settings, custom catalogs, subscription plans and access tokens — to a JSON file, or restore from one. Passwords and the session secret are never exported, but the file can hold bot tokens and database URIs, so keep it private.

Settings Custom catalogs Plans Access tokens

Restoring replaces your catalogs, plans and tokens, and reconnects extra databases and bot tokens from the file. The TeleStremio library file is restored in TeleStremio under Settings → Backup → Import file, and replaces the library there.

Contributors

View on GitHub

The people who build Telegram Stremio. Updated live from GitHub.

{% endblock %}