A Telegram bot for tracking user activity in channels.
This is a MVP built for quick deployment. Currently supports tracking a single channel only. The implementation is intentionally simplified to get the core functionality working.
- Multi-channel support - ability to track multiple channels simultaneously
- Enhanced configuration options
- Improved logging and analytics
- Database integration for activity history
- Track user joins and leaves in Telegram channels
- Send notifications to a designated channel
- Admin commands for user management
- System notifications for bot lifecycle events
- A Telegram bot token from @BotFather
- Admin rights in the target channel
pnpm installCopy the example environment file and fill in your values:
cp .example.env .envTOKEN- Your Telegram bot tokenTARGET_CHANNEL- Channel ID to track (the one you want to monitor)NOTIFY_CHANNEL- Channel ID for notifications (where the bot sends updates)SYSTEM_CHANNEL- Channel ID for system messagesDEVELOPER_ID- Your Telegram user ID
pnpm devpnpm startdocker compose up -dpnpm format- Format code with Biomepnpm lint- Lint code with Biomepnpm type:check- Run TypeScript type checkingpnpm dev- Run in development mode with hot reloadpnpm start- Run in production mode
Copyright (c) 2025 Abbasov Ravan (omnifaced) All rights reserved.