Thanks to visit codestin.com
Credit goes to github.com

Skip to content

B1Z0N/fonlybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation and local launch

  1. Clone this repo
  2. Launch the mongo database locally
  3. Create .env with the environment variables listed below
  4. Create credentials.json with your app credentials in google.
  5. Run yarn install in the root folder
  6. Run yarn develop

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

Environment variables

  • 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.

TODO

  • Enable periodic bot db backup
  • Switch to grammy-i18n and add lots of other languages
  • Make code execute concurrently with clusters
  • Refactor all code

License

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

About

A friendly little telegram bot to view your docs in google drive.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •