🧰 LobstaKit
CLI Reference

CLI Command Reference

LobstaKit provides 11 CLI commands for managing your self-hosted Lobsta installation.


lobstakit install

Run the full installation wizard: prerequisites β†’ Docker β†’ configuration β†’ image pull β†’ start.

lobstakit install

See Installation for the complete step-by-step walkthrough.


lobstakit start

Start the LobstaKit web interface (Flask server).

lobstakit start                     # Default: 0.0.0.0:8080
lobstakit start -p 9090             # Custom port
lobstakit start --production        # Gunicorn mode
lobstakit start -h 127.0.0.1       # Localhost only
lobstakit start --debug             # Debug mode
FlagDefaultDescription
--host, -h0.0.0.0Host to bind to
--port, -p8080Port to run on
--debug, -dfalseEnable Flask debug mode
--productionfalseUse gunicorn (requires lobstakit[prod])

lobstakit stop

Stop the Lobsta container.

lobstakit stop

lobstakit restart

Restart the Lobsta container (stop then start).

lobstakit restart

lobstakit status

Quick status check from the command line.

lobstakit status
# πŸ› οΈ  LobstaKit Status
# ========================================
# βœ“ Docker: Running
# βœ“ Config: Ready (port 3000)
# βœ“ Lobsta: Up 2 hours
# βœ“ Health: Gateway responding

lobstakit config

Run the interactive configuration wizard (without the full install flow).

lobstakit config

Walks through: API Key β†’ Model β†’ Gateway Port β†’ Telegram β†’ System Settings.


lobstakit version

Show the LobstaKit version.

lobstakit version
# LobstaKit v0.1.0

lobstakit logs

View Lobsta container logs.

lobstakit logs                    # Last 50 lines
lobstakit logs -n 200             # Last 200 lines
lobstakit logs -f                 # Follow (stream) logs
lobstakit logs -f -n 100          # Follow starting from last 100 lines

lobstakit update

Update Lobsta to the latest version. Stops the container, pulls the latest image, and restarts.

lobstakit update
# Stopping current instance...
# Pulling latest image...
# Starting updated instance...
# βœ“ Lobsta updated!

lobstakit doctor

Run comprehensive health diagnostics with recommendations.

lobstakit doctor
# 🩺 Lobsta Doctor
# Running comprehensive health check...
#
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
# β”‚ Docker Installed    βœ“ Docker 24.0   β”‚
# β”‚ Docker Running      βœ“ Daemon active β”‚
# β”‚ Config File         βœ“ ~/.lobsta/... β”‚
# β”‚ Container Status    βœ“ Up 2 hours    β”‚
# β”‚ Gateway Port        βœ“ Port 3000 openβ”‚
# β”‚ Health Check        βœ“ Responding    β”‚
# β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
#
# βœ“ All checks passed!

lobstakit harden

Run a security audit and optionally apply hardening measures.

lobstakit harden
# πŸ”’ LobstaKit Security Hardening
#
# Running security audit...
#   βœ… Firewall configured
#   ❌ SSH root login enabled
#   βœ… Docker socket permissions
#   ...
#
# Score: 5/7 checks passed
#
# Apply security hardening? [y/N]: