Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b1z0n/fonlybot
A friendly little telegram bot to view your docs in google drive.
https://github.com/b1z0n/fonlybot
bot googledrive telegraf telegram-api telegram-bot
Last synced: 26 days ago
JSON representation
A friendly little telegram bot to view your docs in google drive.
- Host: GitHub
- URL: https://github.com/b1z0n/fonlybot
- Owner: B1Z0N
- License: mit
- Created: 2021-09-16T20:14:02.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T20:35:17.000Z (12 months ago)
- Last Synced: 2024-11-05T15:28:54.954Z (2 months ago)
- Topics: bot, googledrive, telegraf, telegram-api, telegram-bot
- Language: TypeScript
- Homepage: https://fonlybot.xyz/
- Size: 1.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Installation and local launch
1. Clone this repo
2. Launch the [mongo database](https://www.mongodb.com/) 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 `cluster`s
- Refactor all code# License
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!