Telegram Mini App
PLUGINPhone control panel for Ulpi inside Telegram: live status and usage, sessions and their messages, agent cron jobs (create, edit, pause, run now, stop, catch-up per job).
by aimanmalib · v0.6.1
What it does
Phone control panel for Ulpi inside Telegram: live status and usage, sessions and their messages, agent cron jobs (create, edit, pause, run now, stop, catch-up per job), logs, skills and memory, a send-to-Telegram box and error alerts, opened from your bot's menu button. Login is Telegram initData (HMAC-SHA256 with Ed25519 fallback, freshness window) checked by a token-only dashboard-auth provider on one token route, against a plugin-owned admin list (TELEGRAM_OWNER_ID plus the plugin setting admins) that refuses everyone until set; being allowed to chat with the bot never grants login.
Alerts and the send box reach admins only. Built by Muhammad Aiman (aimanmalib) at Sasa Teguh.
Disclosure — a verified login returns the dashboard session token, which authorises the whole dashboard API; because Ulpi asks every token provider on every token route, valid initData also passes the token gate of /api/gateway/drain when ULPI_DASHBOARD_DRAIN_SECRET is set (a route the session token cannot reach); the plugin's principals carry the scope telegram-app and its login route demands it once Ulpi has per-route scopes (#146551), which also closes drain to initData; loopback dashboard mode only, with the phone app (web/ in the repo) served by your own reverse proxy that forwards only /api/plugins/telegram-app/*. Calls api.telegram.org with TELEGRAM_BOT_TOKEN (read through Ulpi's secret route) for the send box and alerts.
Runs one background alert thread in the dashboard process (polls errors.log and cron state every 30 s; the plugin setting alerts_enabled: false turns it off) and stores its settings under $ULPI_HOME/state/telegram-app. Reads Ulpi sessions, cron jobs, logs, skills and memories; writes only agent cron jobs (no script, no_agent or workdir).
No telemetry, no self-update.
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve