ops: BroV Ops service for the homelab VM (tasks, subscriptions, routines)
- SQLite: tasks with subtasks and time tracking, subscriptions + payments, routines + history, reminder log. All rules in core.Ops (tested: ops/tests). - brain: free text → JSON actions via the local claude CLI (Haiku, the subscription); only whitelisted operations are applied, nothing is deleted. - Telegram bot (owner only): text and voice (faster-whisper on the VM), /today /tasks /subs /routines /stop, morning digest and daily reminders with Done/Paid/Tomorrow. - HTTP API for BroV (bearer token): agenda, tasks, subs, routines, say, action. - deploy/install.sh: user brovops, venv, systemd; a proxy-only mihomo (127.0.0.1:7890, checksum-verified) so Telegram and Claude work from Russia without a VPN on the VM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# /etc/brov-ops/config.env — owner root, mode 600. Fill in by hand; never commit.
|
||||
|
||||
# Telegram bot token from @BotFather (revoke and reissue if it was ever pasted anywhere).
|
||||
TELEGRAM_TOKEN=
|
||||
# Your chat id: start the bot, send /start, it tells you the number.
|
||||
OWNER_CHAT_ID=
|
||||
|
||||
# Token BroV uses for the API (install.sh generates one).
|
||||
API_TOKEN=
|
||||
API_BIND=0.0.0.0
|
||||
API_PORT=8787
|
||||
|
||||
TZ_NAME=Europe/Moscow
|
||||
DIGEST_HOUR=9
|
||||
QUIET_FROM=22
|
||||
|
||||
CLAUDE_BIN=/usr/local/bin/claude
|
||||
CLAUDE_MODEL=haiku
|
||||
WHISPER_MODEL=small
|
||||
|
||||
# Telegram and Claude are unreachable from Russia: the service (only it) goes through the
|
||||
# local proxy core (brov-ops-proxy, mihomo, proxy mode — no system-wide VPN).
|
||||
TELEGRAM_PROXY=http://127.0.0.1:7890
|
||||
HTTPS_PROXY=http://127.0.0.1:7890
|
||||
HTTP_PROXY=http://127.0.0.1:7890
|
||||
NO_PROXY=localhost,127.0.0.1,192.168.0.0/16,10.0.0.0/8
|
||||
Reference in New Issue
Block a user