đĨī¸ WebUI Management Panel â
Manage your bot right through your browser!
First Time Use â
Get the Login Password â
When starting MaiBot for the first time, the console will display a password (Token):
WebUI Access Token: a1b2c3d4...
Please use this Token to log in to the WebUIThe first value shown is a temporary Token for the current startup. After signing in, the setup wizard requires you to set a secure persistent Token. A temporary Token is regenerated on the next startup.
Login Steps â
- Open your browser and visit
http://localhost:8001(default address) - Enter the password shown in the console
- On first sign-in, set a persistent Token as instructed and sign in again with the new Token
- Complete initial setup to enter the management panel
What Can You Do? â
WebUI makes it easy to manage MaiBot:
- âī¸ Change Configuration - Modify settings with a few clicks, no need to edit files
- đ§ Manage Memory - View, edit, and delete the bot's memories
- đ Install Plugins - Install and manage various functional plugins
- đ View Statistics - Check chat logs and usage data
Basic Settings â
You can change the WebUI settings in bot_config.toml:
toml
[webui]
enabled = true # Whether to enable WebUI
host = ["127.0.0.1", "::1"] # Bind address list
port = 8001 # Port number
mode = "production" # Running mode: development or production
webui_style = 1 # UI style
anti_crawler_mode = "basic" # Anti-crawler mode: false / strict / loose / basic
allowed_ips = "127.0.0.1" # IP whitelist (comma-separated)- Change
hostto["0.0.0.0", "::"]to listen on all IPv4/IPv6 interfaces; also configure firewall rules, access restrictions, and HTTPS portcan be changed to another number to avoid conflicts
Forgot Your Password? â
If you can still sign in, regenerate or update the Token in System Settings. If you can no longer sign in:
- Shut down MaiBot
- Delete the
data/webui.jsonfile - Restart MaiBot, use the new temporary Token shown in the console, and set a new persistent Token
Security Reminders â
- Do not share your password with others
- Prefer HTTPS or a trusted private network for remote access; changing the port alone is not access control
- Regenerate the Token immediately if you suspect it has leaked
More Features â
- Configuration Management - Change configurations in the browser
- Memory Management - View and manage memories
- Plugin Management - Install and manage plugins
- Chat Logs - View chat statistics