A real-time language translation Telegram bot built during a hackathon. This bot leverages the Gemini API to break down language barriers through the Telegram platform.
- Multi-language Support: Translate messages across numerous languages including English, Spanish, French, German, Chinese, Japanese, and more
- Real-time Translation: Receive instant translations during conversations
- User-friendly Interface: Simple commands through Telegram's familiar interface
- Node.js: Powers the backend
- Telegram Bot API: Handles user interactions
- Gemini API: Provides advanced translation capabilities
node-telegram-bot-api: Telegram integrationaxios: HTTP request handlingdotenv: Environment variable managementfs: File system operationsbody-parser: Request body parsing
| Name | Role | Contact |
|---|---|---|
| Nisa Shahid | UI/UX Designer | https://www.linkedin.com/in/nisa-shahid-563362275/ |
| Hasibur Rashid | Backend Developer | https://www.linkedin.com/in/hasibur-rashid-7b55a0346/ |
| Altair Zhambyl | DevOps Engineer | https://linkedin.com/in/azhambyl |
| Rajiv Rago | AI Prompt Engineer | https://www.linkedin.com/in/rajiv-rago/ |
| Joshua Ajieh | Product Manager | https://www.linkedin.com/in/j-ajieh/ |
- Node.js
- npm (Node Package Manager)
-
Clone this repository:
git clone https://github.com/your-repo/chatbot-translator
-
Navigate to the project directory:
cd chatbot-translator -
Install dependencies:
npm install
-
Configure environment variables:
-
Create a
.envfile in the project root -
Add your API credentials:
TELEGRAM_TOKEN=your_telegram_bot_token GEMINI_API_KEY=your_gemini_api_key
-
-
Start the bot:
node index.js
-
Open Telegram and search for your bot's username
-
Start a conversation with
/startcommand
/start- Initializes user to the system/language- Changes the incoming language/addfriend- Adds another user to talk to/help- Displays all commands
Contributions are welcome! Please feel free to submit issues or pull requests to improve the bot's functionality or usability.
This project is currently unlicensed. All rights reserved by the project team.
- Thanks to the Telegram and Gemini API teams for their excellent documentation
- Special thanks to all hackathon participants who provided feedback