diff --git "a/Backend/fastapi/templates/settings.html" "b/Backend/fastapi/templates/settings.html" --- "a/Backend/fastapi/templates/settings.html" +++ "b/Backend/fastapi/templates/settings.html" @@ -4,59 +4,59 @@ {% block content %} -
+
-

Settings

-

- Runtime configuration — stored in the database, no restart needed. -

+

Settings

+

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

- @@ -108,13 +126,67 @@
+ +
+

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

+

{% if settings.admin_password_set is defined and settings.admin_password_set %} - Password is 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 }} + @@ -185,40 +297,10 @@
- -
- - - -

- Enter numeric channel IDs (e.g. -1001234567890 or bare - 1234567890). Use this for anime channels where IMDb/TMDB - matching is inaccurate. -

-
- {% for ch in settings.anime_channels %} -
- - -
- {% endfor %} -
-
- - -
@@ -231,6 +313,12 @@ value="{{ settings.tmdb_api }}" autocomplete="off" placeholder="Your TMDB v3 API key" spellcheck="false">
+
+ + +
Upstream Repo + placeholder="https://github.com/user/repo">
+ placeholder="master"> +
+
+
+ + +
+

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 %} +
+
+ +
@@ -328,6 +615,219 @@ + +
+

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

@@ -342,7 +842,7 @@ Enable Global Search Search media only in the channels listed below. - Results are tagged 🌐 GLOBAL in the stream list + Results are tagged GLOBAL in the stream list for items not in your local catalog. @@ -351,10 +851,7 @@ {% if not userbot_configured %}

- Requires USER_SESSION_STRING to be set in - config.env (startup-critical, not editable here) - and a full app restart. - Restart the app after setting it to unlock this option. + Connect your Telegram User Session above to unlock Global Search.

{% endif %} @@ -369,29 +866,22 @@

- - Global Search will not run unless at least one - channel ID is added here. - Enter numeric channel IDs - (e.g. -1001234567890 or bare - 1234567890). + + 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 }} +
+
+
+ + + +
+

Skip Channel

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

Proxy Settings

@@ -428,8 +1001,40 @@ + placeholder="http://user:pass@host:port or leave empty" + oninput="toggleMediaflowFields()"> +
+ +
+ +
+ +
+ + +
+
+ - + + +
+

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

@@ -462,7 +1145,7 @@

- @@ -488,7 +1171,7 @@ data-list="extra_databases" placeholder="mongodb+srv://user:pass@host/..."> + background:{{ 'var(--ok)' if entry.connected else 'var(--danger)' }}"> @@ -530,18 +1213,179 @@
+ +
+

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. +

+ +
+ + + ExportDownload backup + + + + + + Library for TeleStremioMovies, series & channels + +
+ + + +
+ 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 %}