Commit Graph

12 Commits

Author SHA1 Message Date
Firdavs
d22f36e158 fix: prevent infinite loading screen by adding sweep timeouts
The dashboard would hang indefinitely on the loading screen because:

1. `bls.mjs` used a raw `fetch()` without any timeout/AbortSignal —
   if the BLS API was slow or unresponsive, it would block forever.

2. `runSource()` in `briefing.mjs` had no per-source timeout, so a
   single hanging API could stall the entire sweep indefinitely.

3. `server.mjs` loaded cached `latest.json` via a fire-and-forget
   promise (`.then()`) instead of `await`, meaning the dashboard
   never received the cached data before the sweep started.

4. `loading.html` relied solely on SSE for redirect — if the SSE
   connection missed the update event, the page would never redirect.

Changes:
- Add 15s AbortController timeout to BLS `getSeries()` fetch call
- Add 30s per-source timeout via `Promise.race()` in `runSource()`
- Await `synthesize()` when loading cached data so the dashboard
  serves instantly on restart when `runs/latest.json` exists
- Add 5s fallback polling to loading page alongside SSE

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 21:56:08 +03:00
calesthio
183702e688 Merge pull request #5 from The-R4V3N/feat/clickable-ticker-articles
Add clickable article links to Live News Ticker
2026-03-15 23:00:26 -07:00
calesthio
ee552dddef fix: restrict ticker article links to http(s) 2026-03-15 17:27:07 -07:00
R4V3N
6b4deea96b Add visual link icon to clickable ticker items
Shows a ↗ arrow on ticker cards that have article URLs,
highlighted cyan on hover to indicate clickability.
2026-03-15 22:24:56 +01:00
R4V3N
8bbc9058f2 Add clickable article links to Live News Ticker
RSS and GDELT ticker items now open the source article in a new tab
when clicked. Telegram/WHO items without URLs remain non-clickable.

Changes:
- Extract <link> from RSS feed items in inject.mjs
- Carry url field through fetchAllNews() and buildNewsFeed()
- Add data-url attribute and pointer cursor to clickable ticker cards
- Add delegated click listener to open articles in new tab
2026-03-15 19:49:18 +01:00
calesthio
9eb9a0afa3 fix: Docker dashboard not loading — remove localhost hostname check
The isServer detection required location.hostname === 'localhost', which
fails in Docker containers where the hostname is the container ID.
Now any non-file: protocol correctly triggers API fetch and SSE.

Fixes #3
2026-03-15 09:27:15 -07:00
calesthio
cfa9515e4c feat: add 3D WebGL globe, CelesTrak space tracking, and switch to AGPLv3
- Add interactive 3D globe (Globe.gl) with atmosphere, star field, and smooth rotation
- Add animated flight corridor arcs between air traffic hotspots and global hubs
- Add flat map toggle for classic D3 view
- Add CelesTrak as 27th intelligence source (satellite tracking, ISS, military constellations)
- Add Space Watch panel to dashboard
- Switch license from MIT to AGPL-3.0-only
- Update README with 3D globe screenshots, new source count, and license badge

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 09:17:05 -07:00
calesthio
debc44fee0 feat: add Space/CelesTrak as 27th intelligence source
- New source: apis/sources/space.mjs (no API key required)
- Tracks: recent launches, ISS, military sats, Starlink/OneWeb constellations
- Wired into briefing.mjs (27 sources), inject.mjs synthesis, and dashboard
- New Space Watch panel in left rail with military breakdown and signals
- New Satellites layer in Sensor Grid
2026-03-15 08:19:23 -07:00
Virgílio Santos
4c601ed142 Added countdown timer to loading page — progress bar with sweep ETA 2026-03-14 15:56:31 -03:00
Virgílio Santos
1933e063ae Added loading page — SSE-driven splash screen for first-run UX 2026-03-14 15:56:31 -03:00
calesthio
3674fcb4f7 Crucix — agent with dashboard, delta engine, Telegram/Discord bots 2026-03-14 00:35:31 -07:00
calesthio
ef2c6470fb Initial release — Crucix Intelligence Engine v2.0.0
26-source OSINT intelligence engine with live Jarvis dashboard,
auto-refresh via SSE, optional LLM layer (4 providers), delta/memory
system, and Telegram breaking news alerts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:45:46 -07:00