Replace standalone Telegram bot with full CodeAnywhere framework fork. BetterBot shares all framework code and customizes only: - instance.py: BetterBot identity, system prompt, feature flags - tools/site_editing/: list_files, read_file, write_file with auto git push - .env: model defaults and site directory paths - compose/: Docker setup with betterlifesg + memoraiz mounts - deploy script: RackNerd with Infisical secrets
10 lines
380 B
Bash
10 lines
380 B
Bash
# Non-secret configuration (committed to git).
|
|
# Secrets (TG_BOT_TOKEN, VERCEL_API_KEY, OWNER_TELEGRAM_CHAT_ID) come from Infisical at deploy time.
|
|
|
|
DEFAULT_MODEL=anthropic/claude-sonnet-4
|
|
OPENAI_BASE_URL=https://ai-gateway.vercel.sh/v1
|
|
DATA_DIR=/data
|
|
|
|
# BetterBot site paths (also set as env vars in compose)
|
|
SITE_DIR=/repo/betterlifesg/site
|
|
MEMORAIZ_DIR=/repo/memoraiz/frontend
|