Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

ayggdrasil/hormuz-dashboard

Repository files navigation

Hormuz Dashboard

Iran / Middle East / Oil monitoring dashboard with split-screen layout:

  • Left: Polymarket related markets (list + detailed view + price history)
  • Right: Intel feed (Google News RSS + oil snapshot) with map, classification filters, list, and detail view

Run

npm install
npm run dev

Open http://localhost:3000

Deploy on Vercel

1) Push to GitHub

git add .
git commit -m "chore: prepare vercel deployment"
git push

2) Import project in Vercel dashboard

  • Framework preset: Next.js (auto-detected)
  • Root directory: repository root (81_hormuz_dashboard)
  • Build command: npm run build
  • Install command: npm install

3) Environment variables

  • Required: none
  • Optional: none for current implementation

4) Deploy

  • Click Deploy in Vercel dashboard
  • Or use CLI:
npm run vercel:deploy

Notes for production

  • /api/intel polls external feeds and includes a short in-memory cache (about 55 seconds per instance).
  • Frontend requests incremental intel updates every 60 seconds.
  • Public endpoints can have temporary rate limits or outages; behavior falls back gracefully where possible.

API routes

  • GET /api/markets?limit=120
  • GET /api/markets/:id
  • GET /api/intel?limit=180&categories=attack,casualties
  • POST /api/translate (Google translate passthrough for on-screen UI translation)

Data sources

  • Polymarket Gamma API (gamma-api.polymarket.com)
  • Polymarket CLOB history API (clob.polymarket.com)
  • Google News RSS search feeds
  • Google Translate web endpoint (translate.googleapis.com)
  • Stooq quote feed (CL.F) for oil snapshot

About

Hormuz dashboard (Polymarket + intel feed) built with Next.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors