Skip to content

A Telegram chatbot using node-telegram-bot-api and node-simipro (Simsimi API) with multi-language support and per-user language setting.

License

Notifications You must be signed in to change notification settings

anbuinfosec/simsimi-tg-bot

Repository files navigation

Telegram Simsimi Chat Bot

A Telegram chatbot using node-telegram-bot-api and node-simipro (Simsimi API) with multi-language support and per-user language setting.


Features

  • Supports multiple languages (English, Bengali, etc.)
  • Language can be changed with /lang <code>
  • Shows supported languages with /langs
  • Replies with Simsimi AI responses
  • Replies inline when replying to bot messages
  • Logs all actions with timestamps and log levels
  • Reads bot token securely from environment variable

Author

Mohammad Alamin (anbuinfosec)


Getting Started

Prerequisites

  • Node.js v16+
  • npm or yarn
  • Telegram Bot Token (create with BotFather)

Installation

git clone https://github.com/anbuinfosec/simsimi-tg-bot.git
cd simsimi-tg-bot
npm install

Setup

Create .env file in the root directory:

BOT_TOKEN=your_telegram_bot_token_here

Run the Bot

npm start

Usage

  • /start or /help — Show welcome/help message
  • /langs — Show supported languages list
  • /lang <code> — Set your language, e.g. /lang en or /lang bn

Chat with the bot naturally, it replies using Simsimi AI.


Supported Languages

Check /langs command after running the bot.


Logging

Logs are saved to bot.log and also printed to console with color-coded log levels and timestamps in Dhaka timezone.


License

MIT License


Contributions

Feel free to open issues or submit pull requests!


Contact

GitHub: anbuinfosec Author: Mohammad Alamin

About

A Telegram chatbot using node-telegram-bot-api and node-simipro (Simsimi API) with multi-language support and per-user language setting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published