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.
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.
Once the bot is running, you can use it as follows:
- Start a chat with the bot by searching for it in Telegram and sending a message.
- Send the
/startcommand to start the bot. - The bot will prompt you to enter the language of the code to be compiled.
- Enter the language name (e.g.,
python,java,c++, etc.). - The bot will prompt you to enter the code to be compiled.
- Enter the code in the language you specified.
- The bot will prompt you to enter the input for the code (if any).
- Enter the input (if any).
- The bot will compile the code and send the output back to you.
Contributions are welcome! If you find a bug or want to add a feature, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.