{% extends "base.html" %} {% block title %}{{ profile.name }} β€” SimpleX Manager{% endblock %} {% block head %} {% endblock %} {% block content %}
← {{ 'Users' if back == '/users' else 'Bots' }} / {{ profile.name }} {{ profile.bot_type }} {% if profile.running %}running{% else %}stopped{% endif %}
{% if profile.running %} {% else %} {% endif %}

Profile

{% if profile.config.avatar %} avatar {% else %}
{{ profile.name[0] | upper }}
{% endif %}
{{ profile.name }}
{% if profile.config.full_name %}
{{ profile.config.full_name }}
{% endif %} {% if profile.config.bio %}
{{ profile.config.bio }}
{% else %}
No bio set.
{% endif %}

Address

{% if profile.address %}

Scan QR code from mobile app to start a chat

{% else %}

Start the profile to generate an address.

{% endif %}
{% if profile.bot_type == 'directory' %} {% set safe = profile.name | lower | replace(' ', '_') %}

Directory website

Auto-generated listing page for this directory bot.

{% endif %}

Config

{% for k, v in profile.config.items() if k not in ['avatar', 'bio', 'full_name'] %} {% else %} {% endfor %}
KeyValue
{{ k }}{% if k == 'api_key' %}β€’β€’β€’β€’β€’β€’β€’β€’ (set){% else %}{{ v }}{% endif %}
No extra config set.

Contacts ({{ contacts | length }})

{% if contacts %} {% for c in contacts %} {% endfor %}
Name
{{ c.localDisplayName }}
πŸ’¬ Chat
{% else %}

No contacts yet.

{% endif %}
{# Macro: one group/channel row. api_list_groups gives bare GroupInfo dicts: g.groupId, g.groupProfile.displayName, g.groupSummary.currentMembers. The verb is "Post" for channels (broadcast) and "Msg" for groups. #} {% macro groupRow(g) %} {% set name = g.groupProfile.displayName %} {% set gid = g.groupId %} {% set mcnt = g.groupSummary.currentMembers %} {% set invited = (g.membership.memberStatus if g.membership else '') == 'invited' %} {% set is_owner = (g.membership.memberRole if g.membership else '') == 'owner' %} {{ name }} {% if invited %} ⏳ invited {% else %} {% endif %}
{% if invited %} {% else %} πŸ’¬ {{ 'Broadcast' if g.is_channel else 'Chat' }} {% if is_owner %} {% endif %} {% endif %}
{% endmacro %}

Groups ({{ groups | length }})

{% if profile.running %} {% endif %}
{% if groups %} {% for g in groups %}{{ groupRow(g) }}{% endfor %}
NameMembers
{% else %}

No groups yet.{% if not profile.running %} Start the profile first.{% endif %}

{% endif %}

Channels ({{ channels | length }})

{% if profile.running %} {% endif %}
{% if channels %} {% for g in channels %}{{ groupRow(g) }}{% endfor %}
NameSubscribers
{% else %}

No channels yet.{% if not profile.running %} Start the profile first.{% endif %}

{% endif %}

Event Log

{% for line in log_lines %}{{ line }} {% endfor %}

Create Group

Members β€”

Loading…

Edit Profile

Message

{% endblock %}