Skip to content

Real-time insights into your bot's performance and user engagement

License

Notifications You must be signed in to change notification settings

reyphia/Telegram-Bot-Statistics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Telegram Bot Stats Dashboard

A modern Next.js + React + TailwindCSS dashboard that displays usage statistics of a Telegram bot with a beautiful dark-themed UI and animated charts.

πŸš€ Getting Started

1. Install dependencies

npm install

2. Run the development server

npm run dev

The app will be available at http://localhost:3000


πŸ›  Troubleshooting

If you get dependency errors related to React version:

npm uninstall react react-dom
npm install react@18 react-dom@18

βš™οΈ Configuration

The 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";

πŸ“‚ Project Structure

/pages          β†’ Next.js pages
/components     β†’ Reusable UI components
/lib            β†’ Bot config and utilities
/public         β†’ Static assets

πŸ’» Tech Stack

  • Next.js (React framework)
  • React 18
  • TailwindCSS (UI styling)
  • Chart.js (data visualization)

πŸ“œ License

This project is licensed under the MIT License.

About

Real-time insights into your bot's performance and user engagement

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published