← Back to RTube

Analytics Dashboard

Total Views
{{ "{:,}".format(total_views) }}
Videos
{{ total_videos }} {% set v = weekly_comparison.videos %} {% if v.current > v.previous %} +{{ v.current - v.previous }} this week {% elif v.current < v.previous %} {{ v.current - v.previous }} this week {% else %} No change {% endif %}
{{ public_videos }} public, {{ private_videos }} private
Users
{{ total_users }} {% set u = weekly_comparison.users %} {% if u.current > u.previous %} +{{ u.current - u.previous }} this week {% elif u.current < u.previous %} {{ u.current - u.previous }} this week {% else %} No change {% endif %}
Comments
{{ total_comments }} {% set c = weekly_comparison.comments %} {% if c.current > c.previous %} +{{ c.current - c.previous }} this week {% elif c.current < c.previous %} {{ c.current - c.previous }} this week {% else %} No change {% endif %}

Activity {{ "{:,}".format(total_views) }} total views

Storage Usage

{{ storage_stats.total_size }}
Total storage used
Videos: {{ storage_stats.videos_size }} Thumbnails: {{ storage_stats.thumbnails_size }}
Video files (.m3u8) {{ storage_stats.video_files }}
Segments (.ts) {{ storage_stats.ts_segments }}
Thumbnails & Previews {{ storage_stats.thumbnails }}

Encoding Jobs

{{ encoding_stats.completed }}
Completed
{{ encoding_stats.failed }}
Failed
{{ encoding_stats.pending }}
Pending
{{ encoding_stats.encoding }}
In Progress

Top Videos by Views

{% if top_videos %} {% for video in top_videos %} {% endfor %}
Title Views
{{ video.title or video.filename }} {{ "{:,}".format(video.view_count) }}
{% else %}

No videos yet.

{% endif %}

Top Uploaders

{% if top_uploaders %} {% for uploader in top_uploaders %} {% endfor %}
Username Videos Total Views
{{ uploader.owner_username }} {{ uploader.video_count }} {{ "{:,}".format(uploader.total_views or 0) }}
{% else %}

No uploaders yet.

{% endif %}

Recent Videos

{% if recent_videos %} {% for video in recent_videos %}
by {% if video.owner_username %}{{ video.owner_username }}{% else %}Unknown{% endif %} • {{ video.created_at.strftime('%b %d, %Y at %H:%M') }} • {{ video.view_count }} views
{% endfor %} {% else %}

No recent videos.

{% endif %}

Recent Comments

{% if recent_comments %} {% for comment in recent_comments %}
{{ comment.content[:100] }}{% if comment.content|length > 100 %}...{% endif %}
{{ comment.created_at.strftime('%b %d, %Y at %H:%M') }}
{% endfor %} {% else %}

No recent comments.

{% endif %}

Top Commenters

{% if top_commenters %} {% for commenter in top_commenters %} {% endfor %}
Username Comments
{{ commenter.author_username }} {{ commenter.comment_count }}
{% else %}

No commenters yet.

{% endif %}

Users by Role

Admin {{ role_stats.get('admin', 0) }}
Uploader {{ role_stats.get('uploader', 0) }}
Viewer {{ role_stats.get('viewer', 0) }}

Recent Users

{% if recent_users %} {% for user in recent_users %}
{{ user.role }} • Joined {{ user.created_at.strftime('%b %d, %Y') }}
{% endfor %} {% else %}

No users yet.

{% endif %}