Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š 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

  1. 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+).

  1. 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.

  1. 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.)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages