Repository navigation
MESH-API v0.7.6.0 Beta - Optional WebUI Login, API Access Control, Secret Masking, Dashboard Layout Fixes
LatestMESH-API v0.7.6.0 Beta — Optional WebUI login, API access control, secret masking, dashboard layout fixes
Until now the dashboard and its HTTP API listened on every network interface with no login: anyone who could reach port 5000 could read your API keys, change your config, send to the mesh and restart MESH-API. This release lets you lock that down. Everything here is off by default, so an upgrade changes nothing until you turn it on — with two exceptions listed under "Behavior changes".
Thanks to @KnottyDyes for the login, masking and layout work (#65, #66).
🔐 WebUI login
Set it up in the dashboard under ⚙️ Config → 🔐 WebUI Access, or in the new webui block of config.json.
- Require Login adds a username and password (HTTP Basic) for the dashboard.
- The login also covers the HTTP API. Once it is on, scripts and integrations that call
/send,/messages,/nodesand the other endpoints need credentials too. Give them the API token:Authorization: Bearer <token>orX-API-Key: <token>. - Prefer an open API? Untick Login also covers API endpoints (
webui.auth.protect_api: false)./send,/messages,/nodes,/connection_statusand/commands_infothen answer without a login, while the dashboard, your config and keys, the logs, restart and firmware stay behind it. Anyone who can reach the port can still read mesh messages and transmit, so use this on a network you trust. - Webhooks are never covered, because the services that call them cannot log in:
/mcp(its own bearer token),/twilio_webhook,/discord_webhook,/n8n/webhook,/webhook/mesh,/whatsapp/webhook. Edit the list under "Paths that skip the login"; remove what you do not use. - Set your own password before you turn the login on. If it is blank, MESH-API generates one at the next start, saves it in
config.jsonand prints it once to the log. - Ten failed logins from one address within 5 minutes lock that address out for the rest of the 5 minutes.
- The login is HTTP Basic. Over plain HTTP the password travels unencrypted, so use HTTPS (a reverse proxy, a tunnel or a VPN) if the dashboard is reachable from outside a network you trust.
Listen address: webui.host — 127.0.0.1 makes the dashboard reachable from the same machine only. In Docker, leave it at 0.0.0.0 and restrict the port mapping instead.
Full details, with a table of what each mode blocks: WebUI access control.
⚠️ Behavior changes
- Secrets are masked in the browser, for everyone. API keys, tokens, passwords, SIDs, PINs and webhook URLs now arrive in the config editor as
••••••••. Saving a masked field keeps the stored value, typing a new value replaces it, clearing the field clears it. The Backup download still contains the real values. Turn it off withwebui.redact_secrets: false. - Inbound SMS needs "Enable Twilio".
/twilio_webhookused to stay live on the default inbound channel even with Twilio switched off, so any caller could broadcast text onto the mesh. It now answers only while Enable Twilio is on. If you use inbound SMS with Twilio "disabled", turn it on. - Startup prints a warning when the dashboard is reachable without a login.
🖥️ Dashboard layout
- Extensions Manager and Channel Agents: the columns line up regardless of name length, and the header stays in view while you scroll.
- Configuration Editor: one scroll area instead of two, and checkboxes sit in their own row in each section.
⬆️ Upgrading
- Docker:
docker compose pull && docker compose up -d(imagemrtbot/mesh-api:latest, also taggedv0.7.6.0-beta,0.7.6and0.7). - git:
git pull. - No new dependencies.
Still a beta — please report anything that breaks on GitHub Issues.