The Admin UI (nself-admin v0.0.8) is a comprehensive web-based dashboard for nself. It provides real-time monitoring, service management, plugin management, and database operations through an intuitive interface at localhost:3021.
Enable the Admin UI with a single command:
# Enable the admin UI
nself admin enable
# Set a custom password
nself admin password mypassword
# Open in browser
nself admin openManage third-party integrations through the web interface:
/plugins) - Grid view of installed and available plugins/plugins/[name]) - Per-plugin configuration and dataMonitor the health and status of all your services in real-time:
Manage your Docker containers directly from the web interface:
Comprehensive database management with new features:
Deploy to staging and production from the UI:
/deployment/staging) - Deploy and manage staging/deployment/prod) - Deploy to production/deployment/environments) - View all environmentsCentralized logging with advanced filtering and search:
Edit environment variables and configuration files:
Manage SSL certificates from the UI:
The nself admin command provides complete control over the Admin UI:
# Enable the admin UI
nself admin enable
# Disable the admin UI
nself admin disable
# Check admin UI status
nself admin status
# Set or change password
nself admin password [PASSWORD]
# Reset admin to defaults
nself admin reset
# View admin container logs
nself admin logs
# Open admin UI in browser
nself admin openThe Admin UI is protected by password authentication:
http://localhost:3021adminnself admin passwordIf no password is set, the Admin UI generates a temporary password displayed during the nself admin enable command.
The Admin UI can be configured through environment variables:
# Enable/disable admin UI
NSELF_ADMIN_ENABLED=true
# Admin UI port (default: 3021)
NSELF_ADMIN_PORT=3021
# Admin username (default: admin)
NSELF_ADMIN_USER=admin
# Admin password (set via nself admin password)
NSELF_ADMIN_PASSWORD=your-secure-password
# Project path (for container access)
NSELF_PROJECT_PATH=/workspaceThe Admin UI provides a REST API for programmatic access:
GET /api/health - Health check (includes CLI version)GET /api/services - List all servicesPOST /api/services/[name]/[action] - Control services (start/stop/restart)GET /api/logs/[service] - Stream service logsGET /api/config - Get current configurationPOST /api/config - Update configurationGET /api/plugins - List all pluginsPOST /api/plugins/install - Install a pluginDELETE /api/plugins/[name] - Remove a pluginGET /api/plugins/[name] - Plugin statusPOST /api/plugins/[name]/sync - Trigger syncGET /api/plugins/[name]/webhooks - Webhook eventsGET /api/database/backups - List backupsPOST /api/database/backups - Create backupPOST /api/database/backups/restore - Restore backupGET /api/database/migrations - Migration statusPOST /api/database/migrations/run - Run migrationsGET /api/database/schema - Schema informationPOST /api/deploy/staging - Deploy to stagingPOST /api/deploy/production - Deploy to productionGET /api/env - Environment informationThe Admin UI is designed for local development and should be secured properly:
admin.local.nself.org| Layer | Technology |
|---|---|
| Frontend | Next.js 16, React 19, TypeScript |
| Styling | Tailwind CSS v4 |
| State | Zustand |
| SQL Editor | Monaco Editor |
| Charts | Recharts |
| Database | LokiJS (embedded) |
| Container | Docker API via Dockerode |
| Real-time | WebSockets, Server-Sent Events |
If the Admin UI fails to start, check the following:
nself admin logsnself admin resetIf you can't access the Admin UI in your browser:
nself admin statuscurl http://localhost:3021/api/healthnself admin openIf you've forgotten your password or need to reset access:
nself admin password newpasswordnself admin resetnself admin disable && nself admin enableIf the Admin UI can't execute CLI commands:
nself versioncurl http://localhost:3021/api/health| Version | Release | Key Features |
|---|---|---|
| v0.0.8 | Jan 2026 | Plugin Management UI, Enhanced Database UI, Monaco editor |
| v0.0.7 | Jan 2026 | Multi-environment deployment, CLI path resolution |
| v0.0.6 | Jan 2026 | SSL configuration page, centralized constants |
| v0.0.5 | Jan 2026 | Documentation reorganization |
| v0.0.4 | Sep 2025 | Security enhancements, bcrypt hashing |
| v0.0.3 | Aug 2025 | LokiJS integration, project wizard |
The Admin UI integrates with these nself commands:
nself status - View service health (also available in Admin UI)nself logs - Stream logs (also available in Admin UI)nself db - Database operations (also available in Admin UI)nself backup - Backup management (also available in Admin UI)nself plugin - Plugin management (also available in Admin UI)nself deploy - Deployment (also available in Admin UI)The Admin UI provides a graphical interface to many CLI operations, making it easier to manage your nself infrastructure, especially for team members who prefer web interfaces over command-line tools.