A modern Next.js + React + TailwindCSS dashboard that displays usage statistics of a Telegram bot with a beautiful dark-themed UI and animated charts.
npm installnpm run devThe app will be available at http://localhost:3000
If you get dependency errors related to React version:
npm uninstall react react-dom
npm install react@18 react-dom@18The bot's API endpoint is configured in:
lib/bot-config.ts
Replace the URL or settings in that file to connect to your real Telegram bot data source.
Example:
export const BOT_API_URL = "https://your-bot-server.com/api/stats";/pages β Next.js pages
/components β Reusable UI components
/lib β Bot config and utilities
/public β Static assets
- Next.js (React framework)
- React 18
- TailwindCSS (UI styling)
- Chart.js (data visualization)
This project is licensed under the MIT License.