Get Radar running in 5 minutes!
- Node.js v18+ installed (download)
- npm v9+ (comes with Node.js)
- Terminal/Command Prompt
git clone https://github.com/Syntax-Error-1337/Radar.git
cd Radarnpm run install:allThis installs dependencies for both client and server.
# Copy the example file
cp server/.env.example server/.env
# Edit with your favorite editor
nano server/.env # or code server/.envMinimum required:
AISSTREAM_API_KEY- Get free at aisstream.io- Everything else has sensible defaults!
# Copy the example file
cp client/.env.example client/.env
# Default settings work out of the box!- Visit https://aisstream.io
- Sign up for free account
- Copy your API key
- Paste in
server/.envasAISSTREAM_API_KEY=your_key_here
- OpenRouter (for AI insights): https://openrouter.ai
- Cloudflare Radar (cyber data): https://dash.cloudflare.com
npm run devThis starts:
- 🎨 Frontend at http://localhost:5173
- ⚙️ Backend at http://localhost:3001
Visit http://localhost:5173 and you should see:
- 🛩️ Flights module with live aircraft
- 🚢 Maritime module with live vessels
- 🔒 Cyber security dashboard
- 📰 OSINT news monitor
- 📊 Global monitor dashboard
If ports 5173 or 3001 are in use:
Client (port 5173):
Edit client/vite.config.ts:
server: {
port: 5174, // Change to any available port
// ...
}Server (port 3001):
Edit server/src/index.ts to change the port.
If you see "Connection failed" for maritime data:
- Make sure you added
AISSTREAM_API_KEYtoserver/.env - Restart the server with
npm run dev
If you encounter errors during installation:
# Clear caches and reinstall
rm -rf node_modules client/node_modules server/node_modules
rm -rf package-lock.json client/package-lock.json server/package-lock.json
npm run install:allWindows:
- Use Git Bash or WSL for best compatibility
- If you see line ending errors, run:
git config core.autocrlf true
macOS:
- Make sure Xcode Command Line Tools are installed:
xcode-select --install
Linux:
- You may need to install build essentials:
sudo apt-get install build-essential
- Flights Module - Click on any aircraft to see detailed telemetry
- Maritime Module - Track vessels in real-time worldwide
- Display Modes - Try EO, FLIR, and CRT themes
- Map Projections - Toggle between Globe and Mercator views
- Map center: Edit
ADSB_LOL_LATandADSB_LOL_LONinserver/.env - Coverage radius: Change
ADSB_LOL_RADIUS(in nautical miles) - Theme: Select from top navigation bar
# Run tests (client)
cd client
npm test
# Run linter
npm run lint
# Build for production
npm run buildIf you prefer Docker:
# 1. Copy environment files
cp server/.env.example server/.env
# 2. Edit server/.env with your API keys
# 3. Start with Docker Compose
docker-compose up
# Access at http://localhost:3001- 📖 Read the full README
- 🐛 Report bugs: GitHub Issues
- 💬 Ask questions: GitHub Discussions
- 🤝 Contribute: See CONTRIBUTING.md
- ⭐ Star the project on GitHub
- 🍴 Fork and customize for your needs
- 🤝 Contribute improvements
- 📢 Share with others!
Happy tracking! 🛩️🚢🌍