Prerequisites
Before you begin, ensure you have the following installed:- Node.js 18+ and npm
- Go 1.21+ (for protobuf tooling)
- Git
- Make (optional, for Makefile commands)
Clone the Repository
Install Dependencies
Option 1: Install Everything (Recommended)
- Buf CLI for protobuf management
- Sebuf protoc plugins (TypeScript client/server generators)
- npm dependencies
- Playwright browsers for E2E tests
- Proto dependencies
Option 2: Manual Installation
If you prefer granular control:Environment Configuration
- Copy the example environment file:
- Configure API keys for the features you want to enable:
AI Summarization
AI Summarization
Cache & Rate Limiting
Cache & Rate Limiting
Market & Economic Data
Market & Economic Data
Tracking & Intelligence
Tracking & Intelligence
All API keys are optional. The dashboard works without them, but corresponding features will be disabled.
Generate Code from Protos
World Monitor uses a proto-first API design. Generate TypeScript clients and servers:- Cleans previous generated code
- Generates TypeScript client code to
src/generated/client/ - Generates TypeScript server code to
src/generated/server/ - Generates OpenAPI v3 documentation to
docs/api/
First Run
Development Server (Web)
Start the development server with hot module replacement:- Local: http://localhost:3000
- Network: http://[your-ip]:3000
Desktop Application (Tauri)
Run the desktop app with DevTools enabled:- Syncs version numbers between package.json and Tauri config
- Builds the sidecar sebuf gateway
- Launches the Tauri app with the
devtoolsfeature flag
The desktop app runs a local Node.js sidecar that handles all API requests. It auto-discovers available Ollama models and stores API keys in your OS keychain.
Verify Installation
Open http://localhost:3000 and check:- Map loads — You should see the 3D globe with base layers
- News panel populates — RSS feeds should load within 3-5 seconds
- No console errors — Open DevTools (F12) and check for errors
Development Workflow
Typical development cycle:Common Issues
buf: command not found
buf: command not found
Install buf CLI:Or manually:
protoc-gen-ts-client: plugin not found
protoc-gen-ts-client: plugin not found
Install sebuf plugins:Ensure
~/go/bin is in your $PATH.Port 3000 already in use
Port 3000 already in use
Kill the existing process or change the port in
vite.config.ts:Map tiles not loading
Map tiles not loading
Check your network connection. MapTiler CDN requires internet access. If you’re behind a corporate proxy, configure it:
Next Steps
Architecture
Understand the system design and tech stack
Proto API
Learn the proto-first API workflow
Building
Build for production and desktop
Testing
Run E2E, API, and regression tests