Configuration
Everything lives in ~/.beacon/config.json (file mode 0600). Set values with beacon config set <key> <value>.
| Key | Default | Notes |
|---|---|---|
provider | anthropic | anthropic or openai (any OpenAI-compatible endpoint, incl. Ollama) |
apiKey | "" | Env vars ANTHROPIC_API_KEY / OPENAI_API_KEY override it |
baseUrl | — | For the openai provider (e.g. https://openrouter.ai/api/v1) |
significanceThreshold | 6 | 0–10; lower = more drafts |
authorName | — | Identity for the drafter prompt |
authorBio | — | Short bio that shapes every draft |
authorNotes | — | Voice notes: tone, phrases, things to avoid |
language | English | Any language name works |
platforms | twitter, linkedin, devto on | reddit, medium off by default. Toggle: beacon config set platform <name> <on|off> |
model | claude-sonnet-4-6 | Model ID for the active provider |
maxDiffChars | 8000 | Diff truncation before LLM calls |