RepositoryTypeScriptSGSingapore
AmazingAng

AmazingAng/PolyWorld

Real-time Polymarket prediction market visualization dashboard with an interactive world map.

186stars
34forks
1issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: betting

#1 Repository of the month

1
TINIX TRENDING·Topic: warzone

#1 Repository of the month

1
TINIX TRENDING·Topic: prediction-markets

#1 Repository of the month

PolyWorld

Real-time Polymarket prediction market visualization dashboard with an interactive world map.

License

Features

  • Interactive World Map — Browse 500+ prediction markets plotted on a MapLibre GL globe with clustering, category filters, and regional views
  • 14 Live Panels — Markets, Detail, Region, News, Tweets, Live Streams, Watchlist, Leaderboard, Smart Trades, Whale Trades, Order Book, Trader, Sentiment, Price Chart
  • AI-Powered Insights — Market summaries, news relevance matching, and sentiment analysis via Claude API
  • Smart Money Tracking — Whale trade monitoring, leaderboard rankings, and wallet-level trade history
  • Real-Time Data — Auto-refreshing market data (45s), smart money (30s), order book (10s), and news feeds
  • Drag & Resize Layout — Fully customizable panel grid with drag reordering, column/row span controls, and split bottom/right layout
  • Watchlist & Alerts — Star markets, set price/volume alerts with browser notifications

Tech Stack

  • Framework: Next.js 16 (App Router), React 19
  • State: Zustand 5
  • Map: MapLibre GL JS
  • Charts: lightweight-charts (TradingView)
  • Database: SQLite (better-sqlite3)
  • AI: Claude API (@anthropic-ai/sdk)
  • Styling: Tailwind CSS 4 + CSS custom properties

Getting Started

Prerequisites

  • Node.js 18+
  • npm

Setup

# Clone
git clone https://github.com/AmazingAng/PolyWorld.git
cd PolyWorld

# Install dependencies
npm install

# Configure environment variables
cp .env.example .env
# Edit .env with your API keys

# Start dev server
npm run dev

Open http://localhost:3000.

Environment Variables

VariableRequiredDescription
AI_BASE_URLYesAnthropic API base URL
AI_API_KEYYesAnthropic API key (for summaries, news matching, sentiment)
AI_FALLBACK_BASE_URLNoFallback API base URL
AI_FALLBACK_API_KEYNoFallback API key (used if primary fails)

The app works without AI keys — summaries and sentiment will be disabled, but all market data, charts, and trading features remain functional.

Project Structure

src/
├── app/          # Next.js App Router, API routes
├── components/   # 14 panel components + Header, WorldMap, etc.
├── hooks/        # Custom hooks (preferences, watchlist, alerts, drag, resize)
├── lib/          # Data processing, AI clients, news/tweet sources
├── stores/       # Zustand: marketStore, smartMoneyStore, uiStore
└── types/        # TypeScript definitions

Scripts

npm run dev      # Development server
npm run build    # Production build
npm run start    # Production server
npm run lint     # ESLint

Acknowledgements

Inspired by WorldMonitor.

License

MIT

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
koala73/worldmonitor

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

91.3k
Nov 29, 2026
RepositoryTypeScript
alsk1992/CloddsBot

Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.

3.1k
Nov 13, 2026
RepositoryTypeScript
pmxt-dev/pmxt

CCXT for prediction markets. PMXT is a unified API for trading on Polymarket, Kalshi, and more.

2.2k
Sep 30, 2026
RepositoryTypeScript
runesleo/polymarket-toolkit

CLI + AI Skills workflow for profiling Polymarket traders from an address

205
Nov 18, 2026
RepositoryTypeScript
humanplane/terminal

Open-source Polymarket terminal — live book, trader leaderboard, self-custodial trading. No fees, no relayer, no builder credentials.

126
May 13, 2026
RepositoryPython
mvanhorn/last30days-skill

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

79.4k
Dec 2, 2026
RepositoryPython
keephq/keep

The open-source AIOps and alert management platform

12.6k
Nov 27, 2026
RepositoryGo
nezhahq/nezha

:trollface: Self-hosted, lightweight server and website monitoring and O&M tool

10.4k
Dec 1, 2026
RepositoryPython
Jon-Becker/prediction-market-analysis

A framework for collecting and analyzing prediction market data, including the largest publicly available dataset of Polymarket and Kalshi market and trade data.

4.0k
Oct 29, 2026