Skip to content

raushnn/mobileCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Mobile Compiler Telegram Bot

This is a Telegram bot that allows users to compile code in various programming languages. The bot supports Java, Python, C++, C, GoLang, C#, and JavaScript.

Installation

To use this bot, you will need a Telegram account. Then, follow these steps:

  • Clone this repository
  • Install the required packages
  • Get your Telegram bot API key from BotFather and replace API_KEY in main.py with your API key.
  • Start the bot: python3 main.py.

Usage

Once the bot is running, you can use it as follows:

  1. Start a chat with the bot by searching for it in Telegram and sending a message.
  2. Send the /start command to start the bot.
  3. The bot will prompt you to enter the language of the code to be compiled.
  4. Enter the language name (e.g., python, java, c++, etc.).
  5. The bot will prompt you to enter the code to be compiled.
  6. Enter the code in the language you specified.
  7. The bot will prompt you to enter the input for the code (if any).
  8. Enter the input (if any).
  9. The bot will compile the code and send the output back to you.

Contributing

Contributions are welcome! If you find a bug or want to add a feature, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

telegram bot for compiling code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages