{"id":13492241,"url":"https://github.com/vasusen-code/SaveRestrictedContentBot","last_synced_at":"2025-03-28T09:34:07.755Z","repository":{"id":37474918,"uuid":"452141555","full_name":"vasusen-code/SaveRestrictedContentBot","owner":"vasusen-code","description":"Stable telegram bot to save Restricted content with custom thumbnail support.","archived":false,"fork":false,"pushed_at":"2024-07-23T13:40:11.000Z","size":534,"stargazers_count":1744,"open_issues_count":87,"forks_count":2904,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-03-27T02:04:47.506Z","etag":null,"topics":["bot","clone","content","forward","restricted","save","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vasusen-code.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":"2022-01-26T04:36:35.000Z","updated_at":"2025-03-26T15:47:18.000Z","dependencies_parsed_at":"2023-10-11T00:58:51.407Z","dependency_job_id":"287cbf3e-113d-4e74-9fcd-942d1eb11a95","html_url":"https://github.com/vasusen-code/SaveRestrictedContentBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasusen-code%2FSaveRestrictedContentBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasusen-code%2FSaveRestrictedContentBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasusen-code%2FSaveRestrictedContentBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasusen-code%2FSaveRestrictedContentBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vasusen-code","download_url":"https://codeload.github.com/vasusen-code/SaveRestrictedContentBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246004418,"owners_count":20708213,"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":["bot","clone","content","forward","restricted","save","telegram","telegram-bot"],"created_at":"2024-07-31T19:01:04.312Z","updated_at":"2025-03-28T09:34:07.731Z","avatar_url":"https://github.com/vasusen-code.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003e\n  \u003cb\u003eSave restricted content Bot\u003c/b\u003e\n\u003c/h1\u003e \n\nContact: [Telegram](https://t.me/MaheshChauhan)\n\nA stable telegram bot to get restricted messages with custom thumbnail support , made by Mahesh Chauhan. \n\n- works for both public and private chats\n- Custom thumbnail support for Pvt medias\n- supports text and webpage media messages\n- Faster speed\n- Forcesubscribe available\n- To save from bots send link in this format : `t.me/b/bot_username/message_id` (use plus messenger for message_id)\n- `/batch` - (For owner only) Use this command to save upto 100 files from a pvt or public restricted channel at once.\n- `/cancel` -  Use this to stop batch\n- Time delay is added to avoid FloodWait and keep user account safe. \n  \n# Variables\n\n- `API_ID`\n- `API_HASH`\n- `SESSION`\n- `BOT_TOKEN` \n- `AUTH` - Owner user id\n- `FORCESUB` - Public channel username without '@'. Don't forget to add bot in channel as administrator. \n\n# Get API \u0026 PYROGRAM string session from:\n \nAPI: [API scrapper Bot](https://t.me/USETGSBOT) or [Telegram.org](https://my.telegram.org/auth)\n\nPYROGRAM SESSION: [SessionGen Bot](https://t.me/SessionStringGeneratorRobot) or [![Run on Repl.it](https://replit.com/badge/github/vasusen-code/saverestrictedcontentbot)](https://replit.com/@levinalab/Session-Generator#main.py)\n\nBOT TOKEN: @Botfather on telegram\n\n# Deploy\n\nDeploy on `VPS`\n\nEasy Method:\n\n- Intall docker-compose\n- Fill in the variables in docker-compose.yml file using your favorite text editor or nano \n- Start the container \n\n```\nsudo apt install docker-compose -y\nnano docker-compose.yml\nsudo docker-compose up --build\n```\n\nThe hard Way:\n\n- Fill vars in your fork in [this](https://github.com/vasusen-code/SaveRestrictedContentBot/blob/master/main/__init__.py) file as shown in this [picture](https://t.me/MaheshChauhan/36)\n- enter all the below commands\n\n```\nsudo apt update\nsudo apt install ffmpeg git python3-pip\ngit clone your_repo_link\ncd saverestrictedcontentbot \npip3 install -r requirements.txt\npython3 -m main\n```\n\n- if you want bot to be running in background then enter `screen -S srcb` before `python3 -m main` \n- after `python3 -m main`, click ctrl+A, ctrl+D\n- if you want to stop bot, then enter `screen -r srcb` and to kill screen enter `screen -S srcb -X quit`.\n\nDeploy your bot on `Render`\n\nTutorial - [Click here](https://telegra.ph/SRCB-on-Render-05-17)\n\nDeploy your bot on `heroku`\n\n» Method - 1:\n- Star the repo, and fork it in desktop mode\n- Go to settings of your forked repo\n- Rename your repo by any other name\n- Click on  [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n \n» Method - 2:\n- Star the repo, and fork it in desktop mode\n- create app in heroku\n- go to settings of app›› config vars›› add all variables\n- add buildpacks\n- connect to github and deploy\n- turn on dynos\n  \nBuildpacks for manual deploy:\n\n- `heroku/python`\n- `https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git`\n\nDeploy your bot on `Okteto` [Useless]\n  \nTutorial for okteto - [click here](https://telegra.ph/Okteto-Deploy-04-01)\n\n[![Develop on Okteto](https://okteto.com/develop-okteto.svg)](https://cloud.okteto.com)\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasusen-code%2FSaveRestrictedContentBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvasusen-code%2FSaveRestrictedContentBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasusen-code%2FSaveRestrictedContentBot/lists"}