Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 820 Bytes

README.md

File metadata and controls

29 lines (16 loc) · 820 Bytes

tg2gh

Telegram bot for sending messages to git repositories as files.

IN DEVELOPMENT NOW! Use at your own risk!

Getting started

Telegram token

To use the Telegram Bot API, you first have to get a bot account by chatting with BotFather.

BotFather will give you a token, something like 123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ.

Setup microbot

After cloning this repo, create file .env based on .env.example file at root folder of this repo.

To use the token, add it to the .env file as BOT_TOKEN variable.

Development

Run npm start to start local server with a telegram bot.

Usage

Now this bot prepared only for local running. Project still in development.