* refactor(marketplace): drive auto-seeding from signed verified registry Retires the hard-coded DEFAULT_PLUGIN_IDS list and makes the signed verified registry the single source of truth for what lands in a fresh install. Publishing a plugin to the verified registry now auto-seeds it; no code change required to add new defaults. Also fixes the diagnosed plugins-404: fortiguard and nz-traffic-cameras were in the static list but not published to npm, causing every fresh boot to hit manifest 404s. Those entries are gone with the list. - Delete src/lib/marketplace/defaultPlugins.ts (legacy static list). - Seeder iterates getVerifiedPluginIds() from registryClient. - Skip markSeeded when the verified set is empty so a registry outage doesn't lock fresh installs into zero plugins; the next request retries (5-min cache in registryClient bounds the request rate). - Stamp every seeded plugin as trust=verified by definition. - Tests rewritten against a fake verified set; new test asserts empty-registry deferral. - Sync marketplace-architecture rule + migrate-legacy-plugin skill with the new model. - Patch bump: 2.15.15 -> 2.15.16. * fix(engine): resolve plugin 404s and local engine routing (#fix/diagnose-plugins-404) - fix: engineManifest + resolveEngineUrl: port 5001→5000 to match docker-compose binding; removed NEXT_PUBLIC_WWV_PLUGIN_DATA_ENGINE_URL from local engine detection — it was poisoning local routing with the production engine URL (Patch) - fix: WsClient: added normalizePluginId() converting underscore IDs to kebab-case so engine WebSocket messages route to the correct frontend plugin (Patch) - fix: docker-compose: added ./local-seeders:/app/seeders volume mount to wwv-data-engine so locally-developed seeders are visible to the engine (Patch) - feat: sync-local-plugins: added wwvHostRedirectPlugin — Vite plugin that intercepts @/ host-app imports in local plugin builds and redirects them to runtime host globals, preventing full app tree from being bundled into plugins (Minor) - docs: plugin-architecture.md: added Plugin Data Delivery Types section (REST-only, WS-only, hybrid), peerDependencies rule, .tsx extension rule, mapWebsocketPayload signature contract (Patch) - docs: data-engine-architecture.md: added §7 WebSocket Payload Format Contract documenting WsClient's three payload handling cases and the silent-drop footgun for plugins that send object payloads without mapWebsocketPayload (Patch) - docs: worldwideview-plugin-creation SKILL.md: fixed ISS example which was missing mapWebsocketPayload and would have silently dropped all WS data; clarified mapWebsocketPayload requirement for non-array payloads; fixed architecture decision tree (Patch) - docs: cesium-rendering.md: added Sizing Conventions table with defaults/ranges for point/billboard/model, cross-plugin parity rules, and silent-ignore footgun warning for size on billboard entities (Patch) - docs: added ADR-0002 documenting seeder exported name as canonical plugin ID (Patch) Version bumps: fix × 3 (Patch), feat × 1 (Minor) → 2.15.16 → 2.16.0 Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * test(engine): update resolveEngineUrl test assertion from port 5001 to 5000 Follows the port correction in engineManifest.ts and resolveEngineUrl.ts. The test was asserting the old default (5001) instead of the corrected local engine port (5000), causing the Unit Tests CI check to fail. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
WorldWideView
The Open-Source, Plugin-Driven Geospatial Intelligence Engine
A modular situational awareness platform designed to ingest live data streams and render them as interactive, cinematic layers on a high-fidelity CesiumJS 3D globe.
WorldWideView is a real-time geospatial engine visualizing live global data on an interactive 3D globe. Utilizing a dynamic "All-Bundle" plugin architecture, independent data sources—like live aircraft, maritime vessels, or conflict events—are ingested and rendered decoupled from the core 3D viewer.
Key Features
- "All-Bundle" Plugin Architecture: Ingest any data source dynamically without touching the core platform.
- High-Fidelity 3D Rendering: Google Photorealistic 3D Tiles and LOD modeling powered by CesiumJS.
- Real-Time Data Pipeline: High-frequency WebSocket updates managed by a custom
DataBus. - Advanced Entity Management: Automatic horizon culling, chunked primitive rendering, and 3D stacking/spiderification.
- Marketplace Integration: Download and sync new plugins directly from the UI.
- Agent Bus (opt-in): HTTP+SSE control surface that lets an external tool — typically an MCP server fronting an LLM — fly the globe, toggle layers, and select entities in the running browser session. Default off; see Agent Bus docs.
Core Technologies
- Frontend: Next.js 16 (App Router), React 19, TypeScript 5
- 3D Engine: CesiumJS + Resium (Google Photorealistic 3D Tiles)
- State Management: Zustand
- Event Bus: Custom typed
DataBusfor high-frequency WebSocket updates - Database: PostgreSQL via Prisma 7
- Deployment: Docker multi-stage build, Coolify
Project Architecture
WorldWideView separates the data acquisition layer from the frontend rendering loop, using a real-time event bus to bridge them.
flowchart TD
subgraph Data Sources
A[Public APIs] -->|Poll| B[Data Engine Seeders]
C[Microservices] -->|Stream| B
end
subgraph Frontend Pipeline
B -->|WebSocket /stream| D[DataBus & WsClient]
D -->|Hydrate| E[Zustand Store]
E -->|Memoized Entities| F[Entity Renderer]
F -->|Primitives| G[CesiumJS Globe]
end
subgraph Plugins
H[Plugin Registry] -->|Load| I[Dynamic Import CDNs]
end
H -.-> D
Prerequisites
Before running the application, ensure you have the following installed:
- Node.js (v18+)
- pnpm (v9+)
- Docker (for self-hosting or full local dev)
- PostgreSQL (or rely on the
coolify-db/ local compose container)
Quick Start (Self-Hosting)
WorldWideView uses a multi-stage Dockerfile designed for standalone output. To deploy instantly on your own server:
Mac/Linux:
mkdir worldwideview && cd worldwideview
curl -fsSL https://raw.githubusercontent.com/silvertakana/worldwideview/main/self-host/setup.sh | bash
Windows (PowerShell):
mkdir worldwideview; cd worldwideview
Invoke-WebRequest -Uri https://raw.githubusercontent.com/silvertakana/worldwideview/main/self-host/setup.ps1 -UseBasicParsing | Invoke-Expression
Note
Ensure you connect a PostgreSQL database via the
DATABASE_URLenvironment variable for production deployments.
Quick Start (Local Development)
To run the source code locally for contributing or developing:
git clone https://github.com/silvertakana/worldwideview.git
cd worldwideview
pnpm install
pnpm run setup # generates .env.local with AUTH_SECRET
pnpm run dev:all # boots the UI, cache layers, and the data engine
Visit http://localhost:3000 to see the live globe.
Project Structure
The codebase utilizes a pnpm monorepo configuration:
worldwideview/
├── src/ # Core frontend app
│ ├── app/ # Next.js App Router (pages, API routes)
│ ├── components/ # Shared UI, Globe panels, and 3D layouts
│ ├── core/ # DataBus, Polling, PluginManager, Store
│ └── plugins/ # Built-in plugins and registry logic
├── packages/ # Monorepo packages
│ ├── wwv-plugin-sdk/ # SDK interfaces and manifest schemas
│ └── wwv-plugin-*/ # Individual plugins & their backends
├── prisma/ # Database schemas & migrations
└── .agents/ # Agent rules, workflows, and documentation
Plugin Ecosystem
WorldWideView operates on an open-core philosophy. The platform itself is data-agnostic; all data sources are dynamically imported as plugins at runtime.
- Plugin Quickstart Guide: Learn how to scaffold and link your first plugin using the
@worldwideview/cli. - Advanced Plugin Guide: Deep dive into microservice data seeders, WebSockets, complex 3D rendering, and Marketplace publishing.
Repository Ecosystem
WorldWideView is distributed across several specialized repositories:
worldwideview(This Repo): Main frontend, CesiumJS rendering engine, and core plugin framework.wwv-data-engine: Open-source community data backend for polling public APIs.worldwideview-plugins: First-party maintained plugins.worldwideview-marketplace: The web application driving the plugin directory.worldwideview-web: Marketing and landing site.szski/wwv-mcp: Reference MCP server for driving the globe from an LLM agent (Claude Code, Claude Desktop, Cursor, Cline, …) via the Agent Bus. Contributor-hosted today; may move under the project org.
Development & Workflow
- Branching & Commits: We strictly enforce Conventional Commits (
feat:,fix:,refactor:). Every commit should utilize our semantic versioning[/commit]workflow. - Coding Standards: We emphasize vanilla CSS (no Tailwind), strict TypeScript 5, and file modularity (max 150 lines per file).
- Testing: We use Vitest with
jsdom. All new core logic should be accompanied by tests, running viapnpm test.
See Docs: Development and Docs: Testing for more details.
Contributing
We welcome community contributions! Please review our coding standards and PR processes before submitting code. For detailed instructions on local development and setting up your environment, see our CONTRIBUTING.md.
License
This project is licensed under the Elastic License 2.0 - see the LICENSE file for details.
Documentation Index
Explore our comprehensive documentation suite for detailed engineering insights:
- Project Overview: High-level value proposition and technology stack.
- Architecture: Plugin system, state management, data pipeline, and Cesium rendering deep-dive.
- Build System: Monorepo structure, Next.js standalone output, and Docker builds.
- Development: Coding conventions and common implementation patterns.
- Testing: Vitest setup and coverage targets.
- Deployment: Coolify integration and persistent volumes.
- Agent Bus: Wiring an MCP server (or any external tool) to drive the running globe.
- Files Catalog: Comprehensive mapping of core source files.
Important
Fair-Use Notice: This application may contain copyrighted material the use of which has not always been specifically authorized by the copyright owner. Such material is made available for educational purposes, situational awareness, and to advance understanding of global events under "fair use" (Section 107 of the US Copyright Law).
