1.0.0 • Published 2 years ago

telegram-bot-generator v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

GitHub GitHub repo size npm npm npm GitHub last commit Open Source Love svg2

Available templates:
  • NodeJS
  • TypeScript (Most Recommended)

Why TBG?

I recently became fascinated by telegram bots, being this. A new but powerful tool in which many programmers have been approached under the same fascination. Many bots have been seen throughout the messaging system itself, some more useful than others. Among them I can mention my beloved XhibalbaBot, a project I started several years ago and which I continue to maintain to this day with increasingly clean and scalable structures.

The main reason why I decided to take the challenge of making a CLI tool that was able to generate bots from a relatively clean code, was the fact that every time I had to make a bot on my own, I had to do it from scratch, that is, configure the whole environment and program all the files.

BUT GOOD NEWS! This is over, because with something as simple as a token, you can have a fully functional bot.

Note: We will be adding new languages, structures and improvements as this project is accepted.


How to install?

Step 1:

You only need one thing to create a project, a bot token from @Botfather or the direct link with https://www.t.me/botfather and follow the instructions to register your bot and get the token.

npm.io

Step 2:

For Windows users:
  • You have to install the node client to get NPM, you can download it here https://nodejs.org/en/download/
  • Open a cmd or powershell with administrator permissions and enter the follow command
npm install -g telegram-bot-generator
For Linux users:
sudo npm install -g telegram-bot-generator

Run the command:

telegram-bot-generator

Enter your <token> from @Botfather Select the flavor of your bot and that is all.

npm.io

How to run your created Bot?

Just install the respective packages and run it as well as you run any project. E.g:

npm i
npm run

npm.io

For more information about bot methods, give a look to: https://core.telegram.org/bots/api#available-methods

Do you want to know more about me or keep in touch? Give a look to my portfolio at https://seventty.netlify.app

Do you want colaborate? Go ahead, open a pull request.

Do you want message me? There is my telegram.

private

houseofties

ForTheBadge built-with-love

2022©Rainiery Valerio Gonzalez

1.0.0

2 years ago

3.0.0

2 years ago

2.0.2

2 years ago

2.0.1-0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.4

2 years ago