config
Overview
Section titled “Overview”snippbot config list # Show all config valuessnippbot config get <key> # Get one valuesnippbot config set <key> <value> # Set a valuesnippbot config delete <key> # Remove (revert to default)snippbot config path # Show config file pathsnippbot config init # Create config file with defaultsConfiguration is stored in ~/.snippbot/config.toml. Values can also be set via environment variables — see Configuration: Priority.
snippbot config list
Section titled “snippbot config list”Show all configuration values.
snippbot config listDisplays a table with each key, its current value (API keys are masked), and source (config or default).
snippbot config get
Section titled “snippbot config get”Get a specific configuration value.
snippbot config get server_portsnippbot config get anthropic_api_key # Shows masked valuesnippbot config set
Section titled “snippbot config set”Set a configuration value in ~/.snippbot/config.toml.
snippbot config set server_port 9000snippbot config set anthropic_api_key sk-ant-...snippbot config set auto_open_browser falseValues are automatically type-coerced:
true/false→ boolean- Numeric strings → integer
- Everything else → string
snippbot config delete
Section titled “snippbot config delete”Remove a key from the config file. The key reverts to its default value.
snippbot config delete server_portsnippbot config path
Section titled “snippbot config path”Print the config file path.
snippbot config pathsnippbot config init
Section titled “snippbot config init”Create a config file populated with default values.
snippbot config init # Create if missingsnippbot config init --force # Overwrite existingConfiguration keys reference
Section titled “Configuration keys reference”| Key | Default | Description |
|---|---|---|
server_host | "" (dual-stack) | Daemon bind address (empty = IPv4 + IPv6) |
server_port | 18781 | Daemon API port |
data_dir | ~/.snippbot | Data directory |
projects_dir | (empty) | Projects directory (uses data_dir/projects) |
storage_dir | (empty) | Custom storage directory for uploads/assets (uses data_dir when empty) |
log_level | info | Logging level: debug, info, warning, error |
auto_open_browser | true | Open browser on daemon start |
anthropic_api_key | (empty) | Anthropic API key |
openai_api_key | (empty) | OpenAI API key |
openrouter_api_key | (empty) | OpenRouter API key |
gemini_api_key | (empty) | Google Gemini API key |
deepseek_api_key | (empty) | DeepSeek API key |
grok_api_key | (empty) | Grok API key |
groq_api_key | (empty) | Groq API key |
mistral_api_key | (empty) | Mistral API key |
elevenlabs_api_key | (empty) | ElevenLabs TTS API key |
hume_api_key | (empty) | Hume AI voice API key |
brave_search_api_key | (empty) | Brave Search API key |
github_token | (empty) | GitHub personal access token |
slack_bot_token | (empty) | Slack bot token |
For the full environment variable reference, see Configuration: Environment Variables.