Global Threat Map is a real-time OSINT platform that plots security events on a Mapbox-powered interactive map, with features like intel dossiers, alerts, and military bases layers. It uses Valyu API for intelligence data and supports self-hosted or Valyu OAuth modes.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Global Threat Map is a real-time global situational awareness platform that plots security events, geopolitical developments, and threat indicators on an interactive map. It functions as an OSINT command center with features such as real-time event mapping, an interactive Mapbox-based map, an event feed, intel dossiers, and an alert system. It includes country intelligence with historical and current conflicts, a military bases layer (US bases and NATO installations), and map visualization options like auto-pan, event clustering, and a heatmap view. It uses Valyu's AI/OSINT APIs (Search, Answer, Deep Research) for data enrichment and supports Markdown-rendered content for reports.
How it works
The app stacks Next.js 16 (App Router) with Mapbox GL JS and react-map-gl for the map, Tailwind CSS v4 for UI, and Zustand for state management. Intelligence data is fetched via Valyu APIs integrated through a dedicated Valyu client, with optional OpenAI-based location extraction. It includes routes for events, entities, deep research, reports, and country conflicts, and exposes a military-bases endpoint with 1hr cache. The project structure indicates modules for events, entities, reports, countries/conflicts, and military bases, along with components for the map, feed, search, alerts, and UI primitives.
Getting started
Prerequisites include Node.js 18+ and a Mapbox account with an API token, plus a Valyu API key. Installation steps:
- Clone the repository and install dependencies:
npm install
- Create a
.env.localfile with:
NEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token_here
VALYU_API_KEY=your_valyu_api_key_here
NEXT_PUBLIC_APP_MODE=self-hosted
# Optional: Enable AI-powered location extraction for better accuracy
OPENAI_API_KEY=your_openai_api_key_here
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
Recent releases
There are no releases listed in the repository metadata beyond the latest being 0 with no entries.
Traction
The repository has 1777 stars and 296 forks, with 22 open issues.






