Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ShivangKakkar/GoFileBot
https://github.com/ShivangKakkar/GoFileBot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ShivangKakkar/GoFileBot
- Owner: ShivangKakkar
- License: agpl-3.0
- Created: 2021-10-05T13:30:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T13:30:20.000Z (over 3 years ago)
- Last Synced: 2024-05-19T01:59:53.591Z (9 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 19
- Watchers: 1
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- BotList - Go File Uploader - Upload media to gofile.io (Telegram Bot List / List of Source Codes)
README
# GoFile Uploader Bot [@GoFileClientBot](https://t.me/GoFileClientBot)
> A star ⭐ from you means a lot to us!
Telegram bot to upload files to gofile.io
[](https://github.com/ellerbrock/open-source-badges/)
## Usage
### Deploy to Heroku
[](https://heroku.com/deploy?template=https://github.com/StarkBotsIndustries/GoFileBot)
1. Tap on above button and fill `API_ID`, `API_HASH`, `BOT_TOKEN` (and `MUST_JOIN`).
2. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
3. After deploying is complete, tap on "Manage App"
4. Check the logs to see if your bot is ready!### Local Deploying
1. Clone the repo
```markdown
git clone https://github.com/StarkBotsIndustries/GoFileBot
```
2. Get a DATABASE_URL. If you don't know how, deploy using Heroku Button only or delete database things as it's not a compulsion.
3. Edit `Config.py` and fill the needed variables4. Enter the directory
```markdown
cd GoFileBot
```
5. Run the file
```markdown
python3 bot.py
```## Environment Variables
#### Mandatory Vars
- `API_ID` - Get this from [my.telegram.org](https://my.telegram.org/auth)
- `API_HASH` - Get this from [my.telegram.org](https://my.telegram.org/auth)
- `BOT_TOKEN` - Get this from [@BotFather](https://t.me/BotFather)
- `DATABASE_URL` - Will be automatically added by Heroku.
- `MUST_JOIN` - Username/ID of your telegram channel/group.## Functions
> More features soon if suggested by you :)
## To-Do
> That's on you mainly...
[](http://makeapullrequest.com)
## Credits
- [Dan Tès](https://github.com/delivrance) for his [Pyrogram](https://docs.pyrogram.org) Library
## Support
Channel :- [@StarkBots](https://t.me/StarkBots)
Group Chat :- [@StarkBotsChat](https://t.me/StarkBotsChat)
## :)
[](https://www.python.org/)
[](https://github.com/StarkBotsIndustries)
[](https://github.com/StarkBotsIndustries)