Commit Graph

4 Commits

Author SHA1 Message Date
maksarsanjeev 0d7123bebd ops installer: server list from a file when the subscription page is blocked
From the homelab the subscription host times out while the VLESS node itself is
reachable: ~/.brovops-nodes (the subscription content) becomes a file provider; the
URL provider stays optional. take_file no longer trips set -e on a missing file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 03:10:20 +03:00
maksarsanjeev 9e7176274a ops installer: take secrets from ~/.brovops-sub and ~/.brovops-token
So the install can run non-interactively over SSH: the files are moved into
/etc/brov-ops and deleted; hidden prompts remain as the fallback in a terminal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 03:01:50 +03:00
maksarsanjeev 14c1f740d9 ops: installer asks for the subscription and bot token; first /start claims the bot
- install.sh prompts (hidden) for the VLESS subscription URL and the Telegram token on
  the first run, and picks Whisper base on VMs under 3.5 GB RAM.
- The owner chat no longer has to be looked up: whoever sends /start first becomes the
  owner (saved in the settings table); OWNER_CHAT_ID still overrides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 02:55:02 +03:00
maksarsanjeev ac94227b94 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>
2026-10-10 02:45:20 +03:00