π C Learner Bot A Telegram bot to help you master C Programming through tutorials and daily coding challenges! π
β¨ Features π Browse 12 chapters covering beginner to intermediate C topics.
π₯ Direct links to detailed YouTube tutorials.
β After completing a tutorial, automatically receive homework challenges.
π All challenges are neatly organized in challenges.txt.
π Bot API key is securely read from api.txt (not hardcoded in the code).
π Project Structure graphql Copy Edit C-learner-bot/ β βββ bot.py # Main Telegram bot code βββ api.txt # Telegram Bot API token (keep this private) βββ challenges.txt # Homework problems sorted chapter-wise βββ README.md # Project description (this file) π Getting Started
- Install Dependencies Install the required Python package:
nginx Copy Edit pip install python-telegram-bot==13.15 Note: This project uses python-telegram-bot version 13.15 (not v20+).
- Set Up Your Files api.txt β Save your Telegram bot token inside (no quotes, only the token).
challenges.txt β Contains all the coding homework for each chapter.
- Run the Bot Simply run:
nginx Copy Edit python bot.py β Your bot will start and be ready to use on Telegram!
π How It Works User sends /start to the bot.
Bot displays a list of chapters.
User selects a chapter.
Bot sends the tutorial link.
Bot asks "Have you completed the tutorial?"
If "β Completed" β Bot sends corresponding homework challenges.
β‘ Future Ideas Track user's completed chapters.
Send daily coding reminders.
Add quizzes after each chapter.
π‘ License This project is open-source and free to use under the MIT License.
π¬ Connect Made with β€οΈ for coding learners!
β Now you can directly Ctrl+A β Ctrl+C this full text and paste it into your README.md file.
Would you also like a GitHub repository structure suggestion to make it look even more professional? π (Like adding badges, GitHub topics, etc.)