All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 5s
One-shot import of all bojemoi repo commits as Hugo posts. Each post includes metadata, files changed, and diff stats. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
title, date, draft, tags, categories, summary, author
| title | date | draft | tags | categories | summary | author | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Add X/Twitter as second CTI source to Razvedka | 2026-02-13T14:59:02+01:00 | false |
|
|
Commit 7d2e3df par Betty — 7 fichier(s) modifié(s) | Betty |
Commit 7d2e3df
| Repository | bojemoi |
| Branch | main |
| Auteur | Betty |
| Hash | 7d2e3df0ec701750fc49b6cc61b62c64bc65b0df |
| Date | 2026-02-13 |
Description
Razvedka now polls X/Twitter API v2 in parallel with Telegram monitoring. Both sources feed the same buzz_log table and extraction pipeline. Telegram is now optional (warning instead of exit) so Razvedka can run with either or both sources.
- New twitter.py: async poll loop using tweepy, since_id tracking, rate limit handling
- config.py: twitter_bearer_token, twitter_accounts, twitter_search_queries, twitter_poll_interval
- db.py: source column with migration for existing deployments
- main.py: Telegram extracted to helper, Twitter task launched in parallel
- metrics.py: descriptions updated from "Telegram" to "CTI sources"
- Stack: twitter_bearer_token secret + env vars for accounts/queries/interval
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
Fichiers modifiés
M razvedka/razvedka/config.py
M razvedka/razvedka/db.py
M razvedka/razvedka/main.py
M razvedka/razvedka/metrics.py
A razvedka/razvedka/twitter.py
M razvedka/requirements.txt
A stack/46-service-razvedka.yml
Statistiques
7 files changed, 332 insertions(+), 33 deletions(-)