- Clone this repo
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Create
credentials.json
with your app credentials in google. - Run
yarn install
in the root folder - Run
yarn develop
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
TOKEN
— Telegram bot token.MONGO
— URL of the mongo database.GOOGLE
— URL of your google app oauth.CB_PORT
- port of the google api callback site.HOOK_PORT
- telegram webhook port.
Also, please, consider looking at .env.sample
.
- Enable periodic bot db backup
- Switch to grammy-i18n and add lots of other languages
- Make code execute concurrently with
cluster
s - Refactor all code
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!