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,21 @@
|
||||
[Unit]
|
||||
Description=BroV Ops (Telegram bot, API for BroV, reminders)
|
||||
After=network-online.target brov-ops-proxy.service
|
||||
Wants=network-online.target brov-ops-proxy.service
|
||||
|
||||
[Service]
|
||||
User=brovops
|
||||
Group=brovops
|
||||
WorkingDirectory=/opt/brov-ops
|
||||
EnvironmentFile=/etc/brov-ops/config.env
|
||||
Environment=HOME=/home/brovops
|
||||
ExecStart=/opt/brov-ops/venv/bin/python -m brovops.app
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/brov-ops /home/brovops /tmp
|
||||
PrivateTmp=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user