{"id":13826848,"url":"https://github.com/IDN-C-X/IDN-GDrive-Bot","last_synced_at":"2025-07-09T02:32:24.330Z","repository":{"id":44529902,"uuid":"413864195","full_name":"IDN-C-X/IDN-GDrive-Bot","owner":"IDN-C-X","description":"A Telegram bot to upload files from Telegram or Direct links to Google Drive.","archived":false,"fork":false,"pushed_at":"2023-03-23T21:32:49.000Z","size":88,"stargazers_count":24,"open_issues_count":4,"forks_count":64,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-20T06:33:56.454Z","etag":null,"topics":["gdrive-bot","pyrogram","python","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://IDN-C-X.github.io/IDN-Gdrive-Bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IDN-C-X.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-05T14:59:42.000Z","updated_at":"2024-08-02T08:18:04.000Z","dependencies_parsed_at":"2024-11-20T06:30:32.082Z","dependency_job_id":"000e90d0-38a9-429f-bfaa-6e21970e079d","html_url":"https://github.com/IDN-C-X/IDN-GDrive-Bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IDN-C-X/IDN-GDrive-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IDN-C-X%2FIDN-GDrive-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IDN-C-X%2FIDN-GDrive-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IDN-C-X%2FIDN-GDrive-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IDN-C-X%2FIDN-GDrive-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IDN-C-X","download_url":"https://codeload.github.com/IDN-C-X/IDN-GDrive-Bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IDN-C-X%2FIDN-GDrive-Bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264380370,"owners_count":23599036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gdrive-bot","pyrogram","python","telegram","telegram-bot"],"created_at":"2024-08-04T09:01:45.393Z","updated_at":"2025-07-09T02:32:24.054Z","avatar_url":"https://github.com/IDN-C-X.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Google Drive Uploader Telegram Bot\n**A Telegram bot to upload files from Telegram or Direct links to Google Drive.**\n\n## Features\n- [X] Telegram files support.\n- [X] Direct Links support.\n- [X] Custom Upload Folder.\n- [X] TeamDrive Support.\n- [X] Clone/Copy Google Drive Files.\n- [X] Delete Google Drive Files.\n- [X] Empty Google Drive trash.\n- [X] youtube-dl support.\n\n## Deploying\n\n### Deploy on [Heroku](https://heroku.com)\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/IDN-C-X/IDN-GDrive-Bot)\n\n### Installation\n- Install required modules.\n```sh\napt install -y git python3 ffmpeg\n```\n- Clone this git repository.\n```sh \ngit clone https://github.com/IDN-C-X/IDN-GDrive-Bot\n```\n- Change Directory\n```sh \ncd IDN-GDrive-Bot\n```\n- Install requirements with pip3\n```sh \npip3 install -r requirements.txt\n```\n\n### Configuration\n**There are two Ways for configuring this bot.**\n1. Add values to Environment Variables. And add a `ENV` var to Anything to enable it.\n2. Add values in [config.py](./gdrive/config.py). And make sure that no `ENV` environment variables existing.\n\n### Configuration Values\n- `BOT_TOKEN` - Get it by contacting to [BotFather](https://t.me/botfather)\n- `APP_ID` - Get it by creating app on [my.telegram.org](https://my.telegram.org/apps)\n- `API_HASH` - Get it by creating app on [my.telegram.org](https://my.telegram.org/apps)\n- `SUDO_USERS` - List of Telegram User ID of sudo users, seperated by space.\n- `SUPPORT_CHAT_LINK` - Telegram invite link of support chat.\n- `DATABASE_URL` - Postgres database url.\n- `DOWNLOAD_DIRECTORY` - Custom path for downloads. Must end with a forward `/` slash. (Default to `./downloads/`)\n\n### Deploy \n```sh \npython3 -m gdrive\n```\n\n## Credits\n- [Dan](https://github.com/delivrance) for creating [PyroGram](https://pyrogram.org)\n- [Spechide](https://github.com/Spechide) for [gDriveDB.py](./gdrive/helpers/sql_helper/gDriveDB.py)\n- [Shivam Jha](https://github.com/lzzy12) for [Clone Feature](./gdrive/helpers/gdrive_utils/gDrive.py) from [python-aria-mirror-bot](https://github.com/lzzy12/python-aria-mirror-bot)\n\n## Copyright \u0026 License\n- Copyright (©) 2021 by [IDN-C-X](https://github.com/IDN-C-X)\n- Modified by [UserLazy](https://github.com/UserLazy)\n- Licensed under the terms of the [GNU GENERAL PUBLIC LICENSE Version 3, 05 October 2021](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIDN-C-X%2FIDN-GDrive-Bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIDN-C-X%2FIDN-GDrive-Bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIDN-C-X%2FIDN-GDrive-Bot/lists"}