Skip to content

chore: expand curated Telegram channels list (global/ME/Iran/cyber)#249

Merged
koala73 merged 1 commit intomainfrom
feat/telegram-osint-railway
Feb 28, 2026
Merged

chore: expand curated Telegram channels list (global/ME/Iran/cyber)#249
koala73 merged 1 commit intomainfrom
feat/telegram-osint-railway

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Feb 23, 2026

This PR is now a data-only update after rebase.

What changed

  • Updates data/telegram-channels.json (curated product-managed list).
  • Expands channels.full from 15 to 27 channels (+12, none removed).
  • Adds broader coverage across global, Middle East, Iran, and cyber/OSINT sources.
  • Updates updatedAt metadata.

Added handles

abualiexpress, DefenderDome, englishabuali, IranIntl, OsintUpdates, CyberDetective, Middle_East_Spectator, MiddleEastNow_Breaking, OSINTIndustries, osintlive, OsintTv, spectatorindex

What did not change

Telegram runtime support was already merged into main earlier.
This PR does not change Telegram ingestion code paths (api/telegram-feed.js, scripts/ais-relay.cjs, scripts/telegram/session-auth.mjs).

@vercel
Copy link

vercel bot commented Feb 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Ready Ready Preview, Comment Feb 28, 2026 8:26am
worldmonitor-finance Ready Ready Preview, Comment Feb 28, 2026 8:26am
worldmonitor-happy Ready Ready Preview, Comment Feb 28, 2026 8:26am
worldmonitor-startup Ready Ready Preview, Comment Feb 28, 2026 8:26am

Request Review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 434ecf30ee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 177 to 181
if (!msg || !msg.id || !msg.message) continue;
const item = normalizeTelegramMessage(msg, channel);
newItems.push(item);
if (!telegramState.cursorByHandle[handle] || msg.id > telegramState.cursorByHandle[handle]) {
telegramState.cursorByHandle[handle] = msg.id;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Advance Telegram cursor for skipped non-text messages

The poll loop only updates cursorByHandle after passing if (!msg || !msg.id || !msg.message) continue;, so media-only posts (or other messages without message text) never advance the cursor. On channels that emit many non-text posts, each interval re-reads the same IDs, increasing API load/rate-limit risk and potentially preventing progression to newer text posts when the fetch limit window is saturated.

Useful? React with 👍 / 👎.

Comment on lines 208 to 210
pollTelegramOnce().catch(() => {});
setInterval(() => {
pollTelegramOnce().catch(() => {});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Prevent overlapping Telegram poll executions

The interval starts a new pollTelegramOnce() on a fixed schedule without checking whether the previous poll is still running. Since each poll performs network calls per channel and an intentional per-channel delay, slower runs can overlap, causing concurrent reads/writes to shared cursor state and duplicate upstream requests that make Telegram throttling more likely.

Useful? React with 👍 / 👎.

@koala73 koala73 self-assigned this Feb 26, 2026
@koala73 koala73 force-pushed the feat/telegram-osint-railway branch from 0294b32 to 3b6a036 Compare February 27, 2026 14:13
@koala73 koala73 closed this Feb 27, 2026
@koala73 koala73 deleted the feat/telegram-osint-railway branch February 27, 2026 20:50
@koala73 koala73 restored the feat/telegram-osint-railway branch February 28, 2026 07:54
@koala73 koala73 reopened this Feb 28, 2026
@koala73 koala73 force-pushed the feat/telegram-osint-railway branch from 3b6a036 to 08d2e87 Compare February 28, 2026 08:25
@koala73 koala73 changed the title Telegram OSINT early-signal feed via Railway relay chore: expand curated Telegram channels list (global/ME/Iran/cyber) Feb 28, 2026
@koala73 koala73 merged commit 12081c2 into main Feb 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant