https://github.com/bahinkor/telegram-bot
A Telegram bot developed as a personal project that performs tasks by entering relevant commands. Bot is developed with NodeJS and Telegraf library.
https://github.com/bahinkor/telegram-bot
nodejs telegraf telegram telegram-bot
Last synced: 4 months ago
JSON representation
A Telegram bot developed as a personal project that performs tasks by entering relevant commands. Bot is developed with NodeJS and Telegraf library.
- Host: GitHub
- URL: https://github.com/bahinkor/telegram-bot
- Owner: Bahinkor
- License: mit
- Created: 2024-10-19T13:10:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-24T16:45:36.000Z (over 1 year ago)
- Last Synced: 2025-10-05T10:54:27.445Z (9 months ago)
- Topics: nodejs, telegraf, telegram, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram Bot
A Telegram bot developed as a personal project that performs tasks by entering relevant commands. Bot is developed with
NodeJS and Telegraf library.
## Getting Started
Follow these instructions to get a copy of the project up and running on your local machine for development and testing
purposes.
### Prerequisites
You need to have the following software installed on your system:
- Node.js
### Installing
1. Clone the repository to your local machine:
```
https://github.com/Bahinkor/telegram-bot.git
```
2. Navigate to the project directory:
```
cd telegram-bot
```
3. Install dependencies:
```
npm install
```
### Configuration
1. Create a `.env` file in the root directory of the project.
2. Add the following environment variables to the `.env` file:
```
BOT_TOKEN=TELEGRAM_BOT_TOKEN
BOT_ID=TELEGRAM_BOT_ID
COIN_GECKO_TOKEN=COIN_GECKO_API_TOKEN
FIAT_TOKEN=CURRENCY_LAYER_API_TOKEN
```
### Running the Server
Start the server by running the following command:
```
npm start
```
Your bot is ready.