-
-
Notifications
You must be signed in to change notification settings - Fork 2
v0.4.2
Release Date: January 18, 2026 Focus: Service & Monitoring Management
v0.4.2 adds 6 new service management commands that complete the optional services layer of nself. These commands provide full control over email, search, serverless functions, ML experiment tracking, and monitoring - all with smart defaults that work out of the box.
| Command | Purpose |
|---|---|
nself email |
Email service configuration, testing, SMTP pre-flight checks |
nself search |
Search engine management (6 engines supported) |
nself functions |
Serverless functions deployment with TypeScript support |
nself mlflow |
MLflow experiment tracking and model management |
nself metrics |
Prometheus/metrics configuration and profiles |
nself monitor |
Dashboard access and real-time CLI monitoring |
Comprehensive email service management with 16+ provider support.
Commands:
-
nself email- Show current configuration -
nself email setup- Interactive setup wizard -
nself email list- List all supported providers -
nself email configure <provider>- Configure specific provider -
nself email validate- Validate configuration -
nself email check- SMTP pre-flight connection test -
nself email test [email]- Send test email -
nself email docs [provider]- Show provider documentation
Supported Providers:
- Transactional: SendGrid, Mailgun, Postmark, Amazon SES
- Marketing: Mailchimp Transactional, SparkPost
- Enterprise: Microsoft 365, Google Workspace
- Infrastructure: Mailjet, Sendinblue (Brevo), SMTP2GO
- Self-Hosted: Custom SMTP, Mailu, Mail-in-a-Box
- Development: MailPit (default), Mailhog, Mailtrap
Pre-flight Check (nself email check):
- DNS resolution verification
- TCP connectivity test
- SMTP banner response check
- TLS certificate validation
Multi-engine search with 6 backend options.
Commands:
-
nself search enable <engine>- Enable search with specified engine -
nself search disable- Disable search service -
nself search status- Show current configuration -
nself search test- Test search functionality -
nself search index- Manage search indices -
nself search docs- Show engine documentation
Supported Engines:
| Engine | Best For | Memory |
|---|---|---|
| PostgreSQL FTS | Built-in, zero config | Uses DB memory |
| MeiliSearch | Typo-tolerant, instant | 256MB - 1GB |
| Typesense | Fast, typo-tolerant | 256MB - 512MB |
| Elasticsearch | Full-featured, complex queries | 1GB - 4GB |
| OpenSearch | AWS-compatible, enterprise | 1GB - 4GB |
| Sonic | Minimal memory, basic search | 64MB - 128MB |
Serverless function deployment with JavaScript and TypeScript support.
Commands:
-
nself functions create <name>- Create new function -
nself functions deploy [target]- Deploy functions (local/production) -
nself functions list- List all functions -
nself functions logs [name]- View function logs -
nself functions test [name]- Test function endpoint -
nself functions delete <name>- Delete function
Function Templates:
-
basic- Simple HTTP handler -
webhook- Webhook processing with signature verification -
api- REST API endpoint with CRUD operations -
scheduled- Cron-scheduled background tasks
TypeScript Support:
# Create TypeScript function
nself functions create my-api --template api --ts
# Deploy with validation
nself functions deploy validate
nself functions deploy local
nself functions deploy productionML experiment tracking and model management integration.
Commands:
-
nself mlflow enable- Enable MLflow -
nself mlflow disable- Disable MLflow -
nself mlflow status- Show configuration -
nself mlflow open- Open MLflow UI -
nself mlflow test- Test API connectivity -
nself mlflow experiments [action]- Manage experiments -
nself mlflow runs [experiment]- List experiment runs
Experiments Subcommands:
nself mlflow experiments list # List all experiments
nself mlflow experiments create "My Exp" # Create new experiment
nself mlflow experiments delete 1 # Delete experiment by IDRuns Listing:
nself mlflow runs # List runs from default
nself mlflow runs 1 # List runs from experiment 1
nself mlflow runs "My Experiment" # List runs by nameMonitoring stack configuration with 3 profile levels.
Commands:
-
nself metrics enable [profile]- Enable monitoring -
nself metrics disable- Disable monitoring -
nself metrics status- Show current configuration -
nself metrics profile [name]- Manage profiles -
nself metrics configure- Interactive configuration
Monitoring Profiles:
| Profile | Services | Memory | Use Case |
|---|---|---|---|
| minimal | 4 | ~500MB | Development, low resource |
| standard | 7 | ~1GB | Production basics |
| full | 10 | ~2GB | Enterprise, full observability |
| auto | Varies | Varies | Automatic based on environment |
Profile Services:
- minimal: Prometheus, Grafana, cAdvisor, Node Exporter
- standard: + Loki, Promtail, Alertmanager
- full: + Tempo, Postgres Exporter, Redis Exporter
Real-time monitoring dashboards and CLI views.
Commands:
-
nself monitor- Open Grafana (default) -
nself monitor dashboard- Open Grafana -
nself monitor prometheus- Open Prometheus UI -
nself monitor loki- Open Loki in Grafana Explore -
nself monitor alerts- Open Alertmanager UI -
nself monitor services- CLI service status view -
nself monitor resources- CLI resource usage view -
nself monitor logs [service]- Tail service logs
CLI Views:
# Real-time service health
nself monitor services
# Container resource usage
nself monitor resources
# Live log streaming
nself monitor logs hasuraAll 6 commands are fully compatible with:
- macOS (Bash 3.2, BSD tools)
- Linux (Bash 4+, GNU tools)
- WSL (Windows Subsystem for Linux)
Fixes Applied:
- Replaced all
echo -ewithprintffor portable colored output - Replaced all
sed -i.bakwithsafe_sed_inline()wrapper - Added
platform-compat.shsourcing to all commands
New test suite with 92 tests covering:
- File existence checks
- Function definition verification
- Provider/engine support validation
- Cross-platform compatibility checks (no echo -e, no Bash 4+ features)
Run Tests:
bash src/tests/unit/test-services.shComplete documentation for all 6 commands:
This is a feature release with no breaking changes:
nself updateOr manually:
cd /path/to/nself
git pull origin main| Variable | Default | Description |
|---|---|---|
AUTH_SMTP_HOST |
mailpit |
SMTP server hostname |
AUTH_SMTP_PORT |
1025 |
SMTP server port |
AUTH_SMTP_SECURE |
true |
Use TLS |
SEARCH_ENGINE |
postgres |
Search engine selection |
MONITORING_PROFILE |
auto |
Monitoring profile level |
All changes verified on:
- Ubuntu 22.04 (Bash 5.1, GNU tools)
- macOS (Bash 3.2, BSD tools)
- CI Pipeline (92/92 unit tests passing)
No known issues in v0.4.2.
- Database operations command (
nself db) - Backup/restore commands
- Production deployment enhancements
- Scaling commands
- Performance profiling
- Multi-environment migration
See CHANGELOG.md for complete history.
ɳSelf CLI v1.0.9. MIT licensed. Docs CC BY 4.0.
GitHub · Issues · Discussions · nself.org · nself.org/docs
Getting Started
Commands
- Commands, Overview
- Lifecycle: cmd-init · cmd-build · cmd-start · cmd-stop · cmd-restart · cmd-dev
- Monitoring: cmd-status · cmd-logs · cmd-health · cmd-urls · cmd-doctor · cmd-monitor · cmd-alerts · cmd-sentry · cmd-watchdog
- Data: cmd-db · cmd-backup · cmd-dr · cmd-queue · cmd-webhooks
- Config: cmd-config · cmd-service · cmd-env · cmd-promote
- Networking: cmd-ssl · cmd-trust · cmd-dns-setup
- Security: cmd-access · cmd-security · cmd-secrets
- Tenancy: cmd-tenant · cmd-billing
- Plugins: cmd-plugin · cmd-license · cmd-dogfood (extracted, CLI-R11) · cmd-k8s (extracted, CLI-R11) · cmd-encryption (extracted, CLI-R11) · cmd-waf (extracted, CLI-R11) · cmd-federation (extracted, CLI-R11) · cmd-mail (extracted, CLI-R11) · cmd-dlq (extracted, CLI-R11)
- AI: cmd-ai · cmd-claw · cmd-model
- Templates: cmd-template
- Utilities: cmd-exec · cmd-clean · cmd-reset · cmd-update · cmd-upgrade · cmd-version · cmd-admin · cmd-migrate · cmd-migrate-firebase · cmd-migrate-supabase · cmd-completion
Features
- Features, Overview
- Feature-Auth
- Feature-Storage
- Feature-Search
- Feature-Functions
- Feature-Email
- Feature-Monitoring
- Feature-Plugins
- Feature-nClaw, AI Assistant
- Feature-nChat, Messaging
- Feature-nTV, Media Player
- Feature-nFamily, Family Social
- Feature-nCloud, Managed Hosting
- Feature-Memory-Rooms, Knowledge Organization
- Feature-Agent-Dashboard, Agent Metrics
- Feature-Image-Generation, AI Image Generation
Configuration
- Configuration, Overview
- Config-Env-Vars
- Config-Postgres
- Config-Hasura
- Config-Auth
- Config-Nginx
- Config-Optional-Services
- Config-Custom-Services
- Config-System
Plugins (87 + 10 monitoring)
Free (25)
- plugin-backup
- plugin-content-acquisition
- plugin-content-progress
- plugin-cron
- plugin-donorbox
- plugin-feature-flags
- plugin-github
- plugin-github-runner
- plugin-invitations
- plugin-jobs
- plugin-link-preview
- plugin-mdns
- plugin-mlflow
- plugin-monitoring
- plugin-notifications
- plugin-notify
- plugin-paypal
- plugin-search
- plugin-shopify
- plugin-stripe
- plugin-subtitle-manager
- plugin-tokens
- plugin-torrent-manager
- plugin-vpn
- plugin-webhooks
Pro (62)
- plugin-access-controls
- plugin-activity-feed
- plugin-admin-api
- plugin-nself-ai-gateway
- plugin-nself-ai-mcp
- plugin-nself-ai-mcp
- plugin-analytics
- plugin-auth
- plugin-backup-pro
- plugin-bots
- plugin-browser
- plugin-calendar
- plugin-cdn
- plugin-chat
- plugin-claw
- plugin-claw-budget
- plugin-claw-news
- plugin-claw-web
- plugin-cloudflare
- plugin-cms
- plugin-compliance
- plugin-cron-pro
- plugin-ddns
- plugin-devices
- plugin-documents
- plugin-donorbox-pro
- plugin-entitlements
- plugin-epg
- plugin-file-processing
- plugin-game-metadata
- plugin-geocoding
- plugin-geolocation
- plugin-google
- plugin-home
- plugin-idme
- plugin-knowledge-base
- plugin-linkedin
- plugin-livekit
- plugin-media-processing
- plugin-meetings
- plugin-moderation
- plugin-mux
- plugin-notify-pro
- plugin-object-storage
- plugin-observability
- plugin-paypal-pro
- plugin-photos
- plugin-podcast
- plugin-post
- plugin-realtime
- plugin-recording
- plugin-retro-gaming
- plugin-rom-discovery
- plugin-shopify-pro
- plugin-social
- plugin-sports
- plugin-stream-gateway
- plugin-streaming
- plugin-stripe-pro
- plugin-support
- plugin-tmdb
- plugin-voice
- plugin-web3
- plugin-workflows
Planned (26)
plugin-auditplugin-blogplugin-checkoutplugin-commerceplugin-drmplugin-exportplugin-flowplugin-importplugin-ldapplugin-mailgunplugin-mediaplugin-oauth-providersplugin-pagesplugin-postmarkplugin-rate-limitplugin-reportsplugin-samlplugin-schedulerplugin-sendgridplugin-ssoplugin-subscriptionplugin-thumbplugin-transcoderplugin-twilioplugin-wafplugin-watermark
Guides
- Guide-Production-Deployment
- Guide-SSL-Setup
- Guide-Multi-Tenancy
- Guide-Security-Hardening
- Guide-Monitoring-Setup
- Guide-Backup-Restore
- Guide-Custom-Services
- Guide-Migration-from-v1
Architecture
Reference
- API-Reference
- error-codes, Error Codes
Licensing
Security
Brand
Operations
- operations/release-cascade, Release Cascade
- operations/self-healing, Self-Healing Schema
- operations/redis-tuning, Redis Pool Tuning
- operations/meilisearch-warmup, MeiliSearch Warm-Up
- operations/jwt-rotation, JWT Key Rotation
- operations/windows-wsl2-setup, Windows / WSL2 Setup
- operations/gemini-oauth-reauth, Gemini OAuth Reauth
Contributing
Admin
- USER-ACTION-QUEUE, Pending Admin Actions
All commands (52)
- A: cmd-access · cmd-account · cmd-admin
- B: cmd-backup · cmd-build · cmd-bundle
- C: cmd-ci · cmd-clean · cmd-completion · cmd-config
- D: cmd-db · cmd-deploy · cmd-dev · cmd-doctor
- E: cmd-env · cmd-exec
- F: cmd-functions
- G: cmd-generate
- H: cmd-health · cmd-help-topics
- I: cmd-init · cmd-install
- L: cmd-license · cmd-login · cmd-logout · cmd-logs
- M: cmd-man · cmd-mcp · cmd-migrate
- O: cmd-oauth · cmd-ops
- P: cmd-plugin · cmd-promote
- R: cmd-remove · cmd-reset · cmd-restart · cmd-runner
- S: cmd-secrets · cmd-security · cmd-self-heal · cmd-server · cmd-service · cmd-start · cmd-status · cmd-stop
- T: cmd-telemetry · cmd-template · cmd-trust
- U: cmd-update · cmd-urls
- V: cmd-verify-sbom · cmd-version