A real-time crypto dashboard for tracking coins, viewing charts, and exploring market data.
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- UI: Tailwind CSS v4 + shadcn/ui (Radix UI)
- Data fetching: SWR
- Charts: lightweight-charts (candlestick)
- APIs: CoinGecko REST API
- Realtime: OKX Public WebSocket
- Coin list with key metrics (price, 24h change, market cap)
- Coin detail page with candlestick chart + market info
- Realtime ticker / trades updates via WebSocket
- Quick search modal with keyboard shortcut
- Simple converter widget
Home
All Coins
Coin Details
- Node.js 18.18+ (recommended)
- A CoinGecko API key
# 1) Clone
git clone <YOUR_REPO_URL>
# 2) Install dependencies
npm install
# 3) Create env file
cp .env.example .env.local
# 4) Start dev server
npm run devOn Windows (PowerShell):
Copy-Item .env.example .env.local
npm install
npm run devOptional (faster dev):
npm run dev -- --turbo
This project expects the following variables (see .env.example):
| Name | Required | Description |
|---|---|---|
COINGECKO_BASE_URL |
Yes | CoinGecko REST base URL |
COINGECKO_API_KEY |
Yes | CoinGecko API key used in server requests |
npm run dev– start development servernpm run build– production buildnpm run start– run production servernpm run lint– lintnpm run format– format with Prettier
Issues and pull requests are welcome.
- Fork the repo
- Create a feature branch
- Open a PR with a clear description and screenshots if UI changes
- Data powered by CoinGecko
- Realtime market streams from OKX Public WebSocket


