A standalone InstaVM cookbook that fetches competitor blog/changelog pages, diffs titles against a persistent cache, and summarizes new launches with an LLM.
| Feature | Why it matters |
|---|---|
| Persistent volume | competitor_titles.json stores yesterday's titles for true diffing |
| Egress allowlist | Only competitor domains + vault LLM hosts |
| Vault-injected keys | OpenAI/Anthropic keys never in VM env |
- InstaVM CLI ≥ 0.23
- Org vault bound to
api.openai.com(and optionallyapi.anthropic.com)
cd recipe-02-competitor-launch-watcher
instavm vault setup .
instavm deploy --plan .
instavm deploy .Optional env at deploy:
instavm deploy . --env 'COMPETITOR_URLS=[{"name":"Acme","url":"https://acme.com/blog"}]'- Open the share URL →
GET /healthreturnsok: true POST /run?dry_run=1— preview diffs without LLMPOST /run— full watch (requires vault)
pip install -r requirements.txt
pytest tests/test_unit.py tests/test_smoke.py