A simple Telegram bot for sharing a physical device among team members. This project is designed for public showcase and educational purposes.
- User registration and schedule
- Request device usage (max 2 per user per day)
- Track device location ("I took the device" / "I returned the device")
- Admin can add users and assign schedules
- Overdue notifications for device not returned
- All logic is in-memory (no database)
- Click the "Deploy on Railway" button above
- Connect your GitHub account
- Set environment variables in Railway dashboard:
BOT_TOKEN: Your Telegram bot token (required)ADMIN_USER_ID: Telegram user ID for admin features (optional)
- Deploy! The bot will start automatically
- Clone this repo
- Install requirements:
pip install -r requirements.txt - Set environment variables:
BOT_TOKEN(Telegram bot token)ADMIN_USER_ID(Telegram user ID for admin, optional)
- Run:
python main.py
BOT_TOKEN: Your Telegram bot token (required)ADMIN_USER_ID: Telegram user ID for admin features (optional)
- Message @BotFather on Telegram
- Send
/newbotand follow instructions - Copy the token and add it to Railway environment variables
- Message @userinfobot on Telegram
- Copy your ID and add it as
ADMIN_USER_ID(optional)
- This bot is for demonstration and educational purposes only.
- All data is stored in memory and will be lost on restart.
- Do not use for production or with sensitive data.
- No warranty or support is provided.
Non-commercial use only. For commercial licensing, contact: t.me/winkyty