Technical Documentation: simplifaisoul/osiris
βΉοΈ Provenance: Multi-Tier Ingestion Β· CodeWiki Reference
Overview (`README.md`)
Screenshots
Overview
Osiris is a production-grade OSINT platform that provides situational awareness across multiple intelligence domains. Built with Next.js 16 and MapLibre GL, every data point is rendered via WebGL for 60fps performance even with thousands of concurrent entities on-screen.
Key Capabilities
| Domain | Data Points | Sources |
|---|---|---|
| Aviation | Commercial, Private, Military, Jets | OpenSky Network |
| Maritime | 39 Global Ports, 10 Chokepoints | Static Naval Intel |
| CCTV | 17,000+ Cameras | TfL, WSDOT, Caltrans, ODOT, MDOT, HK Transport Dept, Taiwan THB, NZTA, Rijkswaterstaat, Public Webcams + more |
| Seismic | Real-time M2.5+ | USGS Earthquake API |
| Fires | Active Hotspots | NASA FIRMS |
| News | 24/7 Live Streams | 23 Global Broadcasters |
| Weather | Severe Events | NASA EONET |
| Space | Solar Weather, Satellites | NOAA SWPC, N2YO |
| Cyber | CVE Threats, Vulnerability Scanning | NVD, Custom Scanner |
| Conflict | 15 Curated Zones + the headlines that name them | Hand-kept zone list, BBC / Al Jazeera / NYT world feeds |
| Crypto | BTC + ETH Wallet Tracing, OFAC SDN Match | blockstream.info, Blockscout, OpenSanctions |
| Sanctions | Person / Org / Vessel SDN Search | OpenSanctions (US OFAC SDN mirror) |
| Telegram OSINT | Geoparsed Posts from Public Channels | t.me/s/<channel> web preview |
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β OSIRIS CLIENT β
β ββββββββββββ ββββββββββββ βββββββββββββββββ β
β β MapLibre β β HUD β β RECON Toolkitβ β
β β GL (GPU) β β Panels β β Port Scan β β
β β WebGL β β Layers β β DNS / WHOIS β β
β β Render β β Controls β β Vuln Scanner β β
β ββββββββββββ ββββββββββββ βββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β NEXT.JS API ROUTES β
β /api/flights /api/earthquakes β
β /api/cctv /api/news β
β /api/fires /api/maritime β
β /api/gdelt /api/satellites β
β /api/weather /api/scanner β
β /api/sentinel /api/telegram-feed β
β /api/osint/* (whois, dns, ip, cve, sanctions, β
β crypto, sweep, threats, β¦) β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β EXTERNAL DATA SOURCES β
β OpenSky Β· USGS Β· NASA Β· NOAA Β· TfL Β· NVD β
β GDACS Β· EONET Β· FIRMS Β· N2YO Β· RSS Feeds β
β blockstream.info Β· Blockscout Β· OpenSanctions β
β t.me public previews β
βββββββββββββββββββββββββββββββββββββββββββββββββββFeatures
Intelligence Layers
- 16 toggleable data layers with real-time entity counts
- GPU-accelerated rendering β all map data rendered via WebGL, not DOM
- Progressive loading β data fetched on-demand when layers are activated
- Viewport-aware β only loads relevant data for the visible region
OI β a prediction engine (bring your own key)
OI Assist: talk to the map (press O). Ask in words, typed or spoken, and OI flies you there, switches the layers on, finds what is live (flights, military aircraft, ships, quakes, fires, weather, news, cameras, satellites), marks it on the globe in cyan with the area it searched, lists it in cards you can click through, reads the markets, opens panels and starts forecasts, all on your own model key.
OI Forecast: a prediction engine inspired by the community-made Pythia and by MiroFish. From Pythia comes the idea of forecasting from the live world OSIRIS already watches; from MiroFish, the method: cast the actors who shape an outcome and play them against each other in parallel simulated worlds. Ask a question and OI researches it from sources you can check (news, prices, prediction markets and the live feeds), runs the worlds, and has a report agent weigh the result against the crowd's price and a statistical baseline before it writes a calibrated forecast, every claim linked to its source. The whole run plays out on the globe as it happens.
- Your own data: add files (CSV, JSON, Markdown, text, logs, web pages) or paste up to 100,000 characters. The world model reads it once; or have every actor read it in every period, and quote it. The extra input tokens are shown before you run, on your own key.
- Your own key: OpenAI, Anthropic, Google Gemini, OpenRouter, Groq, DeepSeek, xAI, Mistral or Qwen. Kept in your browser, sent per request in a header, never stored on the server.
- REST API under
/api/oiwith live Server-Sent Events, and an MCP server at/api/mcpso agents such as Hermes, Claude and Cursor can run predictions, steer them and read OSIRIS intelligence. See the docs.
Texas CCTV
Public TxDOT ITS snapshots are integrated with the existing camera markers, preview grid and viewer. Use /api/cctv?region=texas for Texas only; global and Texas location queries include the same source. District inventories are cached independently, with stale data retained during outages. Availability varies by district and camera; these are refreshing JPEG snapshots, not video streams.
Source: TxDOT ITS.
Run npm test for offline checks or RUN_LIVE_TESTS=1 npx vitest run src/app/api/cctv/texas.test.ts to check the public Texas inventory.
RECON Toolkit
- Port Scanner β TCP connect scan with service fingerprinting
- DNS Lookup β Full record resolution (A, AAAA, MX, NS, TXT, CNAME)
- WHOIS β Domain/IP registration data (auto-cross-checked against OFAC SDN)
- SSL/TLS Inspector β Certificate chain analysis
- IP Intelligence β Geolocation, ASN, threat reputation (auto-cross-checked against OFAC SDN)
- Vulnerability Scanner β CVE lookup against NVD database
- Crypto Wallet Trace β BTC + ETH lookup (balance, tx history, OFAC SDN sanctions flag)
- OFAC Sanctions Search β query persons, organizations, vessels and aircraft against the US OFAC SDN list
Live Broadcast Network
- 23 live 24/7 news streams from global broadcasters
- Click any news dot on the map to open the live stream
- Feeds from NBC, CBS, ABC, Sky News, Al Jazeera, France 24, NHK, WION, and more
Telegram OSINT Layer
- Public-channel feed scraped from the unauthenticated
t.me/s/<channel>web preview β no Bot API token, no MTProto - Default curated set of 5 channels (EN + RU/UA war reporting), overridable via
OSIRIS_TELEGRAM_CHANNELS - Posts are geoparsed against a multilingual place dictionary (EN + Cyrillic + Arabic) and plotted on the map
- Click any cyan dot to read the post and jump to the original on Telegram
Crypto Wallet Intelligence
- BTC lookups via blockstream.info (Esplora API, keyless)
- ETH lookups via Blockscout's public ETH instance (
eth.blockscout.com, keyless) - Every lookup is cross-checked against the OFAC SDN sanctioned-address list (mirrored from
0xB10C/ofac-sanctioned-digital-currency-addresses) - Sanctioned wallets surface a red SANCTIONED β OFAC SDN badge in the RECON panel
OFAC SDN Cross-Check
- Standalone
SANCTIONStab in the RECON toolkit β full-text search across persons, organisations, vessels and aircraft - WHOIS and IP-intel routes auto-cross-check registrant / ASN-owner names against the SDN list and surface an inline alert
- Data sourced from OpenSanctions (CC-BY 4.0) β keyless, ~7 MB cached in-memory for 24h
Conflict Zone Monitoring
- 15 conflict/tension zones with severity-coded warning markers. The zones and their severity are a list kept by hand, not a live measurement, and each zone's popup says so
- Active Wars: Ukraine, Gaza, Sudan, Myanmar, DRC, Yemen
- High Tension: Syria, Lebanon, Sahel, Somalia, Red Sea
- Elevated: Taiwan Strait, Korean DMZ, Iraq, Ethiopia
- Each zone lists the current world-news headlines that mention it, with their outlet and link. Headlines are not plotted as points: a story names a place, not where something happened. For geocoded events, turn on the GDELT Events layer
Performance Optimized
- 75% reduction in edge requests vs initial release
- Aggressive polling relaxation (15-30 min intervals for stable data)
- Static data served from memory (zero external API calls for news feeds)
layerFetchedRefprevents duplicate API requests
Quick Start
git clone https://github.com/simplifaisoul/osiris.git
cd osiris
npm install
npm run devDocker / Self-Hosting
git clone https://github.com/simplifaisoul/osiris.git
cd osiris
cp .env.template .env # optional β configure keys / port
docker compose up -dOpen http://localhost:3000. The image is a multi-stagenode:22-alpine standalone build (~220 MB, non-root). The compose file also
carries CasaOS app metadata (x-casaos:) for one-click install on
CasaOS. See DOCKER.md for the full Docker,
CasaOS and API-key guide.
Prebuilt image (GHCR) β skip the build and pull it directly:
docker pull ghcr.io/simplifaisoul/osiris:latest
docker run -d -p 3000:3000 --env-file .env ghcr.io/simplifaisoul/osiris:latestCustom port β the container always listens on 3000; set OSIRIS_PORT in.env to change the published host port (e.g. OSIRIS_PORT=3005) without
editing the compose file.
Environment Variables
OSIRIS works partially without any API keys β all core feeds use public,
keyless sources. Copy .env.template to .env and set only
what you need:
# Published host port (container always listens on 3000). Default: 3000
OSIRIS_PORT=3000
# RECON scanner backend (the only vars the current code reads).
# SCANNER_KEY must match the backend's OSIRIS_KEY β generate with: openssl rand -hex 32
SCANNER_URL=
SCANNER_KEY=
# Optional, for higher rate limits / future sources (see DOCKER.md for signup links)
FIRMS_API_KEY= # NASA FIRMS β firms.modaps.eosdis.nasa.gov/api/map_key/
OPENSKY_CLIENT_ID= # OpenSky OAuth2 (since Mar 2025) β opensky-network.org
OPENSKY_CLIENT_SECRET=
N2YO_API_KEY= # N2YO satellites β n2yo.com (Profile β API key)
AIS_API_KEY= # aisstream.io maritimeWithout
SCANNER_URL/SCANNER_KEYthe RECON toolkit returns503; every
other layer works out of the box..envis gitignored β only the template is committed.
Tech Stack
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router, Turbopack) |
| Language | TypeScript 5 |
| Map Engine | MapLibre GL JS (WebGL) |
| Animations | Framer Motion |
| Icons | Lucide React |
| Styling | Custom CSS Design System |
| Deployment | Vercel Edge Network |
Keyboard Shortcuts
| Key | Action |
|---|---|
F |
Toggle flight layers |
E |
Toggle earthquakes |
S |
Toggle satellites |
D |
Toggle day/night cycle |
Escape |
Close panels |
Acknowledgements
Public webcams β the cameras in this layer are open data: each one is broadcast
publicly by whoever runs it, on their own site or their own channel. What the web
lacked was a catalogue of them.
bekijkhet.nu is that catalogue, and it is the basis for
every camera in the layer. Bram and Annelies have kept it by hand since 2012, and
without their index these cameras would still be scattered across several hundred
unrelated sites with no way to find them.
OSIRIS links every one of them straight through to the operator who runs it, which is
also how bekijkhet.nu asks to be read.
OI β the method behind OI follows MiroFish,
the open-source swarm-intelligence prediction engine: seed a parallel world from real
material, populate it with agents, let them interact while variables are injected, and
hand the simulation to a report agent. OSIRIS rebuilds that method natively for its own
feeds and globe; no MiroFish code is used.
License
MIT β see LICENSE for details.
Terrain Local Review (`docs/terrain-local-review.md`)
Lightweight terrain: local review
Terrain is in Display, beside 3D Buildings, on both desktop and mobile.
Enable 3D Terrain, then use Zoom to terrain to inspect the current area.
Enabling/disabling terrain itself preserves the selected zoom, center, and tilt;
the separate zoom button is optional and is never replayed after a map remount.
The existing bottom view strip still selects globe/flat and map/satellite imagery.
Runtime limits
- One MapLibre renderer and one canvas; no additional 3D engine.
- No elevation downloads at startup or overview zooms. Activation starts at zoom 10 after 500 ms without camera movement; zooming below 9.5 releases terrain resources.
- The globe transitions to a local projection between zoom 7 and 9, before elevation can activate. Mountains still use actual elevation. This avoids compiling both globe-terrain and local-terrain shader variants. See the supported projection expression.
- Elevation: 256 px Terrarium tiles, maximum source zoom 10, bounded render-tile LOD, real-height exaggeration of 1.
- Two simultaneous elevation requests, 12-second request deadline, shared in-flight work, cancellable requests, and an 8 MiB encoded-tile LRU. Browser HTTP caching is also used. GPU resources are not persisted across page reloads.
- Camera pitch is limited to 60 degrees in every view, so enabling terrain never has to flatten an existing camera. Terrain caps pixel ratio at 1.5 and restores the previous pixel ratio when disabled.
- Buildings reuse the existing CARTO building source and appear from zoom 14.5. Enabling them alone does not download elevation.
- Satellite GPU programs are cached per projection variant; inactive satellite layers compile no programs. Picking and orbit programs are created only when needed.
Regression checks
npm test
npm run build
# Run against an already-running production preview, not the dev server.
$env:PREVIEW_URL='http://127.0.0.1:3001'
$env:SMOKE_SCENARIO='terrain'
node tools/preview-smoke.mjsOther scenarios: startup, zoom, terrain-camera, mobile, recovery, imagery, buildings, satellites.CHROME_PATH selects a Chromium browser; the default is the installed Windows Chrome.PROFILE_TERRAIN=1 captures a CPU profile in the test's temporary output folder.
Each test uses an isolated headless profile, never the user's browser profile.
Imagery/building/camera tests substitute only localhost geolocation responses; the satellite
test substitutes a 200-object localhost feed. Map tiles and elevation remain real.
The automated checks cover rapid zoom taps, source/canvas reuse, terrain gating,
same-area cache reuse, mobile overflow, view switching, and failure/retry behavior.
Screenshots and JSON reports are saved in the temporary profile directory printed by the test.
Review limits
Latest local validation (2026-09-08): Next.js 16.3.4 production build and TypeScript
checks pass after rebasing onto current master; 603 tests pass, with 14
opt-in/live-network tests skipped. Camera
regressions confirm unchanged zoom, pitch, bearing, and center when terrain is
enabled at zoom 8 and 13, disabled, or enabled from flat mode. Same-area terrain
re-enable reused all elevation data (22 requests before and after), reaching ready
in 930 ms in the final isolated run. This is a one-machine observation, not a
latency guarantee. The initial zoom/scale readout now reflects the loaded camera;
three rapid taps correctly advance 6.5 to 9.5. Theme remounts do not replay an
earlier explicit terrain-zoom request. Mobile layout, real Alpine imagery, and
Edge startup failure/retry checks also pass.
Production dependency hardening updates Next.js / eslint-config-next to 16.3.4
and sharp to 0.35.4, with patched PostCSS, nanoid, and baseline-browser-mapping
in the lockfile.npm audit --omit=dev reports zero known vulnerabilities. The full audit still
reports 8 development-tool findings (3 moderate, 4 high, 1 critical), including
the old Vitest/Vite toolchain. Do not expose its test UI/dev server; upgrading
that toolchain and clearing the repository's lint debt remain separate work.
This is a local release candidate, not a whole-site production certification.
Physical iOS/Safari and low-end Android devices still need hands-on testing.
WebGL2 is required by MapLibre 6. Cold graphics initialization can still produce
a short hitch; headless timing is diagnostic, not a promised frame rate.
The repository has pre-existing lint debt. External data feeds are independently
fallible: CCTV catalog retries preserve successful regions, but cannot make an
offline provider or camera available. Existing provider configuration/rate limits,
and intermittent market-feed CORS failures, are separate from terrain rendering.
The local preview does not deploy or merge changes; release through a reviewed PR.
--- METRICS ---
- Files Extracted: 2
- Estimated Token Budget: ~4998 tokens
- Canonical Reference: https://codewiki.google/github.com/simplifaisoul/osiris