An open API service indexing awesome lists of open source software.

https://github.com/spechide/filesbot


https://github.com/spechide/filesbot

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# FiIesBot

Powerful bot for file sharing without any database

- can be found on 👉 [Telegram](https://telegram.dog/GoFiIesBot) 👈

## License: CC0 1.0 Universal (Public Domain)

## Deploying

### The Easy Way

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

- Important Step:
- Change webhook of telegram bot `https://api.telegram.org/bot/setWebhook?url=https://.herokuapp.com/`

### The Variables

- `TG_BOT_TOKEN`:
- get a token by talking to [@BotFather](https://telegram.dog/BotFather)

- `TG_BOT_USERNAME`:
- your bot username, without the '@' symbol.

- `TG_DUMP_CHANNEL_ID`:
- create a Telegram Channel.
- Add your bot, created in previous step to the Telegram Channel, (as an administrator).
- Send a message in the Telegram Channel.
- Right Click on the Message > Copy Link.
- you will get a link in the format: https://t.me/c/12374356/3
- the value -100 and 12374356 combined without spaces is the value of this KEY.

- `TG_AUTH_USERS`:
- send `/id` command to [@googleIMGBot](https://telegram.dog/googleIMGBot) to get this value. [ atleast, two users are required ]
- you can also set `ALL` value in this field, to give everyone access to your File Sharing RoBot.