pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Viiprogrammer/telegraf-bot-template

sets.com/assets/primer-70be7debc79a8eff.css" /> GitHub - Viiprogrammer/telegraf-bot-template: My template for bots based on Telegraf · GitHub
Skip to content

Viiprogrammer/telegraf-bot-template

Repository files navigation

Telegraf Bot Template

Codacy Badge javascript style guide

Technology stack

Features

  • Hot-reload using Nodemon in dev mode.
  • Code linting with ESLint. Code style standard
  • DI with DI container
  • Component based structure
  • Jest, docker, docker-compose, PM2 configs

Installation

We advise you to install all dev dependencies locally (linters, etc):

npm install

Don't forget to create .env (from .env.example).

Run

To run use:

npm run start

To run the dev version use:

npm run dev

To run the eslint use:

npm run lint

Docker installation

  1. Pull this repo
  2. Run cp .env.example .env
  3. Edit .env file
  4. Run docker-compose up -d

PM2 installation

  1. Pull this repo
  2. Run cp .env.example .env
  3. Edit .env file
  4. Run pm2 start

About

My template for bots based on Telegraf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy