Skip to content

Bot for searching in Mozilla developer network from telegram

License

Notifications You must be signed in to change notification settings

Viiprogrammer/MDNBot

Repository files navigation

MDN Search bot

js-standard-style

Screenshots

Screenshot1

Features

  • Written with Opengram
  • docker-compose, pm2 configs
  • Deta space ready
  • i18next for internalization

Deploy to deta space

Deploy

  • Click deploy button and install
  • Go to deta canvas, micro settings -> Configuration, set BOT_TOKEN and save changes

Deploy with pm2

  • Setup .env:

    • Copy env example:
    cp .env.example .env
    • Edit BOT_TOKEN
  • Install dependencies Run npm ci

  • Run application Run pm2 start in project directory

Deploy with docker-compose

  • Setup .env:

    • Copy env example:
    cp .env.example .env
    • Edit BOT_TOKEN
  • Run docker compose up -d