Merge: resolve __pycache__ conflicts, add __pycache__ to gitignore

This commit is contained in:
2026-07-26 14:20:59 +01:00
5 changed files with 172 additions and 10 deletions

View File

@@ -45,6 +45,7 @@ POCKETBASE_ADMIN_PASSWORD=secret
- Notes:
- `ALLOWED_USERS` should be a comma-separated list of Telegram user IDs (no brackets).
- `ALLOWED_USERS` acts as the bootstrap allowlist; the bot also checks the PocketBase `Telegram` collection for persisted access.
- The bot reads `TG_TOKEN` and `ALLOWED_USERS` from the environment.
6. Ollama (local LLM) setup
@@ -99,6 +100,7 @@ python main.py
```
The bot listens for commands:
- `/add <id>` — grant a Telegram user ID access through the `Telegram` collection
- `/op <url or paste>` — parse an opportunity
- `/ev <url or paste>` — parse an event
- If you send a URL directly in chat, the bot will ask whether to process it as an event or an opportunity using buttons.