{% extends "base.html" %} {% block title %}Dashboard - Telegram Stremio{% endblock %} {% block content %}

System Overview

Real-time performance, live stream activity, and token access management

Uptime

{{ system_stats.uptime or 'N/A' }}

Active Bots

{{ system_stats.connected_bots|default(0) }} Nodes

Live Streams

{{ system_stats.total_active_streams }} Active

Version

v{{ system_stats.version or '1.0.0' }}

Storage Nodes

{% for db_stat in system_stats.databases %}

{{ db_stat.db_name.replace("storage_", "Node ") }}

Online
Movies / TV {{ db_stat.movie_count }} / {{ db_stat.tv_count }}
Disk Usage {{ "%.1f"|format(db_stat.storageSize / 1024 / 1024) }} MB
{% set storage_percent = (db_stat.storageSize / (500 * 1024 * 1024) * 100) | round %}
{% endfor %}

Manage Movies

Organize and edit library

Manage TV Shows

Handle series and episodes

Live Network

{{ system_stats.total_active_streams or 0 }} Active

Current sessions only

Live Now

{{ system_stats.total_active_streams or 0 }}

Recent

0

Active Streams

Real-time
{% if system_stats.active_streams %} {% for stream in system_stats.active_streams %}
{{ stream.title or stream.meta.get('title') or 'Unknown Stream' }}
Bot {{ (stream.client_index or 0) + 1 }} • DC {{ stream.dc_id or '-' }} • {{ stream.stream_id[:12] if stream.stream_id else 'Unknown' }}{% if stream.stream_id %}…{% endif %}
Live

Speed

{{ "%.3f"|format(stream.avg_mbps or 0) }} MB/s

Total

{{ "%.1f"|format((stream.total_bytes or 0) / 1024 / 1024) }} MB

Duration

0s

Status

{{ stream.status or 'active' }}

Started —
Stream ID {{ stream.stream_id or 'Unknown' }}
{% endfor %} {% else %}

No active streams right now

The live network is idle at the moment.

{% endif %}

Access Management

Control API tokens, daily quotas, and monthly quotas

{% for token in api_tokens %} {% endfor %} {% if not api_tokens %} {% endif %}
Client Name Usage Limits Manifest Link Actions

{{ token.name }}

{{ token.created_at.strftime('%Y-%m-%d') if token.created_at else 'Unknown date' }}

Daily: Monthly:
Daily Limit: {{ token.limits.daily_limit_gb or '∞' }} GB Monthly Limit: {{ token.limits.monthly_limit_gb or '∞' }} GB
No tokens found.
{% endblock %}