Skip to content

indicaindependent/warheatmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

WarHeatMap

๐ŸŒ WarHeatMap

Live Global Conflict Intelligence Platform


๐Ÿ”ด Live App โš“ Strait Tracker OSINT Network License: MIT


Cloudflare Workers D1 SQLite Leaflet.js AT Protocol JavaScript KV Storage


Status Conflicts Coverage Speed VPDLNY


๐Ÿ“‹ Changelog

v6.1 โ€” May 9, 2026 (Latest)

  • ๐Ÿ”ง CORS fix โ€” removed User-Agent from browser fetch; added Access-Control-Allow-Headers: * to strait-news-worker
  • ๐Ÿ”ง Fixed updateWarDay / forceRefresh / refreshPrices โ€” functions were called at boot but never defined (caused full UI freeze)
  • ๐Ÿ’ฐ Daily price cache โ€” Brent/WTI/BTC now ingested once per day via localStorage TTL (24h), not on every page visit
  • โšก applyPrices() โ€” unified price rendering function, eliminates duplicate DOM updates
  • ๐Ÿ”„ autoRefresh() โ€” 5-min background refresh respects daily price cache
  • โœ… NOW button โ€” forceRefresh() clears price cache, re-fetches all live data, flashes UI confirmation

v6.0 โ€” May 7, 2026

  • ๐Ÿ—บ๏ธ Full SVG map rebuild โ€” no external Leaflet dependency (WARP-safe)
  • ๐Ÿ“ฐ Live intel brief panel โ€” auto-populates from strait-news-worker
  • ๐ŸŽฏ IRGCN asset positions + US Navy carrier group overlays
  • โš“ Mine field / exclusion zone layers
  • ๐Ÿ“… War Day counter (since Feb 27, 2026)
  • ๐Ÿ”ด Threat level badge โ€” pulls from intel API status object

strait-news-worker v3.1 โ€” May 9, 2026

  • ๐Ÿ”ง CORS fix โ€” Access-Control-Allow-Headers: * added to all responses + preflight
  • โœ… /oil-live endpoint confirmed operational
  • โœ… All secrets restored: NEWSAPI, ANTHROPIC, GEMINI, TELEGRAM, AISSTREAM, ALPHA_VANTAGE, FINNHUB

๐Ÿ” What Is WarHeatMap?

WarHeatMap is a free, open-source live conflict intelligence platform that aggregates geopolitical flashpoints, overlays them on an interactive world map, and auto-posts intelligence threads to Bluesky via the AT Protocol โ€” all running at the edge on Cloudflare Workers.

Built for researchers, journalists, activists, and anyone tracking global instability in real time โ€” without paywalls, login walls, or corporate bias.


โšก Features

Feature Description
๐ŸŒ Interactive Heatmap Leaflet.js world map with live conflict zones, severity overlay
โš“ Strait Tracker Dedicated Hormuz/naval OSINT sub-dashboard
๐Ÿ“ก Bluesky Auto-Post Intelligence threads fire to Bluesky via AT Protocol
๐Ÿ”ด Hot Zone Detection Algorithmic severity classification (RED/ORANGE/YELLOW)
๐Ÿ“ฐ Intel Feed Aggregated live news across all active theaters
๐Ÿ’พ Event Archive D1 SQLite database of all tracked incidents
๐Ÿ“Š Escalation Index Real-time tension scoring per conflict zone
๐Ÿšข Naval OSINT Ship tracking, blockade status, tanker incident log
โ‚ฟ BTC Support Fund anonymously โ€” on-chain, no accounts
๐Ÿ“ฑ Mobile-First Full responsive layout with dedicated mobile worker

๐Ÿ—บ๏ธ Conflict Zones Tracked

๐Ÿ‡ฎ๐Ÿ‡ท Strait of Hormuz     โ€” BLOCKADE ACTIVE | Naval interdiction | IRGC incidents
๐Ÿ‡บ๐Ÿ‡ฆ Ukraine              โ€” Front line updates | ISW-sourced | Daily briefings
๐Ÿ‡ต๐Ÿ‡ธ Gaza / West Bank     โ€” IDF operations | Casualty tracking | Ceasefire status
๐Ÿ‡ธ๐Ÿ‡ฉ Sudan                โ€” RSF vs SAF | Humanitarian corridor status
๐Ÿ‡จ๐Ÿ‡ฉ DRC / M23            โ€” Eastern Congo offensive tracking
๐Ÿ‡ฒ๐Ÿ‡ฒ Myanmar              โ€” Junta vs. resistance | KIO/KNLA operations
๐ŸŒ + 9 more active zones

๐Ÿ› ๏ธ Tech Stack

Frontend:     Leaflet.js ยท Vanilla JS ยท CSS Grid ยท WebSocket
Backend:      Cloudflare Workers (Edge Runtime, v8 isolates)
Database:     Cloudflare D1 (SQLite at the edge)
Cache:        Cloudflare KV (analytics + event cache)
Storage:      Cloudflare R2 (media assets)
Social:       AT Protocol โ†’ Bluesky (auto campaign drip)
CDN:          Cloudflare Global Network (330+ PoPs)
Mobile:       Dedicated mobile Worker with adaptive layout

๐Ÿ—๏ธ Architecture

News Sources โ†’ Cloudflare Worker (strait-news-worker)
             โ†’ D1 Database (event log)
             โ†’ KV Cache (analytics)
             โ†’ Warheatmap Frontend (warheatmap-worker)
                    โ†“
            Leaflet.js Interactive Map
                    โ†“
            AT Protocol Publisher โ†’ Bluesky Thread

๐Ÿ“ Repo Structure

/
โ”œโ”€โ”€ workers/
โ”‚   โ”œโ”€โ”€ warheatmap-worker.js      # Main frontend + map (CF Worker)
โ”‚   โ”œโ”€โ”€ strait-tracker-worker.js  # Naval OSINT dashboard (CF Worker)
โ”‚   โ””โ”€โ”€ credit-tracker.js        # Credit/usage tracking (CF Worker)
โ”œโ”€โ”€ wrangler.toml.example         # Deploy config template
โ”œโ”€โ”€ LICENSE                       # MIT
โ””โ”€โ”€ README.md

๐Ÿš€ Deploy Your Own

# Clone
git clone https://github.com/indicaindependent/warheatmap
cd warheatmap

# Install Wrangler
npm install -g wrangler

# Copy config
cp wrangler.toml.example wrangler.toml
# Edit wrangler.toml โ€” add your D1 binding, KV namespace IDs

# Create D1 database
wrangler d1 create warheatmap-db

# Deploy main worker
wrangler deploy workers/warheatmap-worker.js

# Deploy strait tracker
wrangler deploy workers/strait-tracker-worker.js

๐ŸŒ Data Sources

  • ๐Ÿ“‹ ISW (Institute for the Study of War) โ€” Daily Ukraine/conflict assessments
  • ๐Ÿ›ข๏ธ MarineTraffic / VesselFinder โ€” Real-time AIS ship positioning
  • ๐Ÿ“ฐ Reuters, AP, Al Jazeera โ€” Breaking news aggregation
  • ๐Ÿ”“ FOIA / Open Source โ€” Government procurement & military contracts
  • ๐ŸŒŠ USNI News โ€” Naval Institute conflict reporting
  • ๐Ÿ“ก OSINT Community โ€” Verified open-source intelligence

๐Ÿค Contributing

PRs welcome. If you spot a conflict zone we're missing or a broken data feed โ€” open an issue.


Built by Indica Independent Media ยท VPDLNY ยท Staten Island, NYC

The world is on fire. Someone has to map it.

Follow on Bluesky FaceHeatMap SENTINEL

About

๐ŸŒ Live global conflict intelligence platform โ€” interactive war heatmap, naval OSINT, Bluesky auto-posting via AT Protocol | Cloudflare Workers + D1 + Leaflet.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors