Jon ecce417f6d Add chat rooms, channels, sidebar nav, themes, and UI polish
Backend (profiles.py / main.py):
- Fix bot startup crash: create active user before start_chat
- Fix address-clobbering bug on restart (UserContactLink vs CreatedConnLink)
- Add user profile type alongside bots
- Channels: create groups with observer links, classify via acceptMemberRole
- Chat rooms: get_chat_history + send_to_chat, history/messages/send routes

UI:
- Chat room view with message bubbles and live polling
- Convert top nav to collapsible left sidebar (mobile-friendly off-canvas)
- Three-way Users/Bots split; clickable cards; copy-address buttons + links
- Add Matrix theme alongside Original Light/Dark
- File upload sidebar link; site footer on all pages incl. login
- Bot-type descriptions on the Bots page; QR caption on profiles

Remove orphaned index.html (superseded by list.html).
Ignore downloaded libs/, exploration DBs, and local ai.sh.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 14:48:24 +01:00

SimpleX Manager

A collection of SimpleX Chat bots and tools, plus a Python-based profile manager (in development).

Structure

bots/
  haskell/
    simplex-deadmans-bot/   Dead Man's Switch bot
    simplexxx-directory/    Private SimpleXXX directory bot (fork of simplex-directory-service)
  typescript/
    simplex-support-bot/    Support triage bot with AI (Grok / Ollama / OpenAI-compatible)
manager/                    Python profile manager (coming soon)
web/                        SimpleXXX directory web frontend

Support Bot — AI Configuration

The support bot supports any OpenAI-compatible AI backend.

# xAI Grok (default)
AI_API_KEY=xai-xxx npm start -- --team-group "Support" --context-file ctx.txt

# Ollama (local, no key needed)
npm start -- --team-group "Support" --context-file ctx.txt \
             --ai-url http://localhost:11434/v1 \
             --ai-model llama3.2

# OpenAI
AI_API_KEY=sk-xxx npm start -- --team-group "Support" --context-file ctx.txt \
             --ai-url https://api.openai.com/v1 \
             --ai-model gpt-4o

GROK_API_KEY is still accepted as a legacy alias for AI_API_KEY.

Web Frontend

Static site for the SimpleXXX directory. Reads from web/data/listing.json and web/data/promoted.json written by the simplexxx-directory bot (--web-folder flag).

Serve with any static file server:

cd web && python3 -m http.server 8080
# or nginx pointing at this directory

Python Manager

Coming soon — FastAPI-based manager to create and manage multiple SimpleX bot profiles from a web UI.

Description
No description provided
Readme 1.3 MiB
Languages
Haskell 52.3%
TypeScript 28%
HTML 13.8%
Python 5.5%
Shell 0.4%