Telegram bot starter template based on grammY framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Timofey Gelazoniya cdf1d5c620
remove recommended extensions
3 weeks ago
.vscode remove recommended extensions 3 weeks ago
.yarn initial commit 3 weeks ago
locales initial commit 3 weeks ago
src initial commit 3 weeks ago
.env.sample initial commit 3 weeks ago
.gitignore initial commit 3 weeks ago
.yarnrc.yml initial commit 3 weeks ago
README.md initial commit 3 weeks ago
package.json initial commit 3 weeks ago
tsconfig.json initial commit 3 weeks ago
yarn.lock initial commit 3 weeks ago

README.md

Telegram bot starter template based on grammY

Installation and local launch

  1. Clone this repo: git clone https://github.com/xzeldon/telegram-bot-starter
  2. Launch the mongo database locally
  3. Create .env with the environment variables listed below
  4. Run yarn in the root folder
  5. Run yarn dev

And you should be good to go! Feel free to fork and submit pull requests. Thanks!

Environment variables

  • TG_TOKEN — Telegram bot token
  • MONGO_URI — URL of the mongo database
  • MONGO_DB_NAME — Name of the mongo database

Also, please, consider looking at .env.sample.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!

Acknowledgements