{"id":26327447,"url":"https://github.com/otterai/file-share-v2","last_synced_at":"2025-03-15T20:19:14.581Z","repository":{"id":280469547,"uuid":"942102544","full_name":"otterai/file-share-v2","owner":"otterai","description":"Telegram Bot to store Posts and Documents and it can Access by Special Links. Custom Features with Force Subs Channel Support And Many More Features. Join @PythonBotz on telegram","archived":false,"fork":false,"pushed_at":"2025-03-03T16:30:01.000Z","size":353,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-03T16:33:08.800Z","etag":null,"topics":["file-sharing","file-upload","pyrogram","pyrogram-bot","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/otterai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":["https://github.com/sponsors/CodeXBotz"]}},"created_at":"2025-03-03T15:20:45.000Z","updated_at":"2025-03-03T16:30:05.000Z","dependencies_parsed_at":"2025-03-03T16:44:10.305Z","dependency_job_id":null,"html_url":"https://github.com/otterai/file-share-v2","commit_stats":null,"previous_names":["otterai/file-share-v2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterai%2Ffile-share-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterai%2Ffile-share-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterai%2Ffile-share-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterai%2Ffile-share-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otterai","download_url":"https://codeload.github.com/otterai/file-share-v2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243785418,"owners_count":20347467,"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":["file-sharing","file-upload","pyrogram","pyrogram-bot","telegram-bot"],"created_at":"2025-03-15T20:19:14.106Z","updated_at":"2025-03-15T20:19:14.567Z","avatar_url":"https://github.com/otterai.png","language":"Python","funding_links":["https://github.com/sponsors/https://github.com/sponsors/CodeXBotz"],"categories":[],"sub_categories":[],"readme":"\n\n\u003ch2 align=\"center\"\u003e\n    ──「 ғɪʟᴇ sʜᴀʀᴇ ᴠ𝟸 」──\n\u003c/h2\u003e\n\u003ctable\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg align=\"centre\" alt=\"count\" src=https://github.com/otterai/otterai/blob/main/pinterestdownloader.com-1741205116.621408.gif\u003e\n\u003cimg align=\"middle\" alt=\"count\" src=\"https://count.getloli.com/get/@:otterai?theme=rule34\"\u003e\n    \n\u003c/table\u003e\n\u003cdetails\u003e\n###\u003csummary\u003e\u003cb\u003e\u003ci\u003e🦄 More Information\u003c/i\u003e\u003c/b\u003e\u003c/summary\u003e\n\n\n**If you need any more modes in repo or If you find out any bugs, mention in [@PythonBotz](https://www.telegram.dog/pythonbotz)**\n\n**Make sure to see [contributing.md](https://github.com/CodeXBotz/File-Sharing-Bot/blob/main/CONTRIBUTING.md) for instructions on contributing to the project!**\n\n\n\n### Features\n- Fully customisable.\n- Customisable welcome \u0026 Forcesub messages.\n- More than one Posts in One Link.\n- Can be deployed on heroku directly.\n\n### Setup\n\n- Add the bot to Database Channel with all permission\n- Add bot to ForceSub channel as Admin with Invite Users via Link Permission if you enabled ForceSub \n\n##\n### Installation\n\n#### Deploy on Koyeb\n\nThe fastest way to deploy the application is to click the **Deploy to Koyeb** button below.\n\n\n[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/deploy?type=git\u0026repository=github.com/otterai/file-share-v2\u0026branch=koyeb\u0026name=filesharingbot)\n\n\n#### Deploy in your VPS\n````bash\ngit clone https://github.com/otterai/file-share-v2\ncd file-share-v2\npip3 install -r requirements.txt\n# \u003cCreate config.py appropriately\u003e\npython3 main.py\n````\n\u003c/details\u003e\n\n### Admin Commands\n\n```\n/start - start the bot or get posts\n\n/batch - create link for more than one posts\n\n/genlink - create link for one post\n\n/users - view bot statistics\n\n/broadcast - broadcast any messages to bot users\n\n/forward - forward any message to bot users \n\n/stats - checking your bot uptime\n\n/restart - Restart your bot uptime \n```\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e\u003cblockquote\u003eExplore Variables Set-up\u003c/blockquote\u003e\u003c/b\u003e\u003c/summary\u003e \n    \n### Variables\n\n* `API_HASH` Your API Hash from my.telegram.org\n* `APP_ID` Your API ID from my.telegram.org\n* `TG_BOT_TOKEN` Your bot token from @BotFather\n* `OWNER_ID` Must enter Your Telegram Id\n* `CHANNEL_ID` Your Channel ID eg:- -100xxxxxxxx\n* `DATABASE_URL` Your mongo db url\n* `DATABASE_NAME` Your mongo db session name\n* `ADMINS` Optional: A space separated list of user_ids of Admins, they can only create links\n* `START_MESSAGE` Optional: start message of bot, use HTML and \u003ca href='https://github.com/codexbotz/File-Sharing-Bot/blob/main/README.md#start_message'\u003efillings\u003c/a\u003e\n* `FORCE_SUB_MESSAGE`Optional:Force sub message of bot, use HTML and Fillings\n* `FORCE_SUB_CHANNEL` Optional: ForceSub Channel ID, leave 0 if you want disable force sub\n* `PICS` Required : Bot Start \u0026 ForceSub Pics \n* `PROTECT_CONTENT` Optional: True if you need to prevent files from forwarding\n\n### EXTRA VARIABLES\n* `CUSTOM_CAPTION` put your Custom caption text if you want Setup Custom Caption, you can use HTML and \u003ca href='https://github.com/otterai/file-share-v2/blob/main/README.md#custom_caption'\u003efillings\u003c/a\u003e for formatting (only for documents)\n* `DISABLE_CHANNEL_BUTTON` Put True to Disable Channel Share Button, Default if False\n* `BOT_STATS_TEXT` put your custom text for stats command, use HTML and \u003ca href='https://github.com/otterai/file-share-v2/blob/main/README.md#custom_stats'\u003efillings\u003c/a\u003e\n* `USER_REPLY_TEXT` put your text to show when user sends any message, use HTML\n\n\n### Fillings\n#### START_MESSAGE | FORCE_SUB_MESSAGE\n\n* `{first}` - User first name\n* `{last}` - User last name\n* `{id}` - User ID\n* `{mention}` - Mention the user\n* `{username}` - Username\n\n#### CUSTOM_CAPTION\n\n* `{filename}` - file name of the Document\n* `{previouscaption}` - Original Caption\n\n#### CUSTOM_STATS\n\n* `{uptime}` - Bot Uptime\n\n\u003c/details\u003e\n\n\n# All Thanks To Our Contributors\n\n\u003ca href=\"https://github.com/otterai/file-share-v2/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=otterai/file-share-v2\" /\u003e\n\u003c/a\u003e\n\n### Licence\n[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](http://www.gnu.org/licenses/gpl-3.0.en.html)  \n\n\n##\n\n   **Star this Repo if you Liked it ⭐⭐⭐**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotterai%2Ffile-share-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotterai%2Ffile-share-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotterai%2Ffile-share-v2/lists"}