{"id":19266534,"url":"https://github.com/jigarvarma2k20/Streaming-Link-Gen","last_synced_at":"2025-04-21T19:31:42.070Z","repository":{"id":46998004,"uuid":"407216293","full_name":"jigarvarma2k20/Streaming-Link-Gen","owner":"jigarvarma2k20","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-31T17:50:49.000Z","size":49,"stargazers_count":55,"open_issues_count":0,"forks_count":84,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T05:36:27.454Z","etag":null,"topics":["bot","cloud","google-drive","link-generator","python3","streamer","streaming","upload"],"latest_commit_sha":null,"homepage":"https://github.com/Jigarvarma2005/Video-Player","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/jigarvarma2k20.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-09-16T15:24:12.000Z","updated_at":"2024-01-22T20:56:10.000Z","dependencies_parsed_at":"2024-11-06T16:36:28.920Z","dependency_job_id":"7c5d124b-098f-4564-86ae-679de212eb37","html_url":"https://github.com/jigarvarma2k20/Streaming-Link-Gen","commit_stats":null,"previous_names":["jigarvarma2k20/streaming-link-gen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigarvarma2k20%2FStreaming-Link-Gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigarvarma2k20%2FStreaming-Link-Gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigarvarma2k20%2FStreaming-Link-Gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigarvarma2k20%2FStreaming-Link-Gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jigarvarma2k20","download_url":"https://codeload.github.com/jigarvarma2k20/Streaming-Link-Gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250119928,"owners_count":21378115,"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","cloud","google-drive","link-generator","python3","streamer","streaming","upload"],"created_at":"2024-11-09T20:02:38.631Z","updated_at":"2025-04-21T19:31:41.820Z","avatar_url":"https://github.com/jigarvarma2k20.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# What is this repo about?\nThis is a telegram bot writen in python for genrating streaming links\n\n# Demo BOT LINK:\n\u003ca href=\"https://t.me/StreamingLinkRobot\"\u003e\u003cimg src=\"https://img.shields.io/badge/Telegram-Bot-blue.svg?logo=telegram\"\u003e\u003c/a\u003e\n\n# Features supported:\n- Stream m3u8 links\n- Stream mpd links\n- Stream brightcove video using video id\n- Stream JW Player video using video id\n- Stream Telegram media\n- Stream YouTube video using link\n\n# How to deploy?\nDeploying is pretty much straight forward and is divided into several steps as follows:\n\n### Heroku Deploy:\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Jigarvarma2005/Streaming-Link-Gen)\n\n# How to get token.pickle file (Recommnded)\n\n- Visit the [Google Cloud Console](https://console.developers.google.com/apis/credentials)\n- Go to the OAuth Consent tab, fill it, and save.\n- Go to the Credentials tab and click Create Credentials -\u003e OAuth Client ID\n- Choose Other and Create.\n- Use the download button to download your credentials.\n- Move that file to the root of streaming-link-gen, and rename it to credentials.json\n- Visit [Google API page](https://console.developers.google.com/apis/library)\n- Search for Drive and enable it if it is disabled\n- Finally, run the script to generate token file (token.pickle) for Google Drive:\n```\npip install google-api-python-client google-auth-httplib2 google-auth-oauthlib\npython3 generate_drive_token.py\n```\n\n# Using service accounts for uploading to avoid user rate limit\nFor Service Account to work, you must set USE_SERVICE_ACCOUNTS=\"True\" in config file or environment variables\nMany thanks to [AutoRClone](https://github.com/xyou365/AutoRclone) for the scripts\n**NOTE:** Using service accounts is only recommended while uploading to a team drive.\n## Generating service accounts\nStep 1. Generate service accounts [What is service account](https://cloud.google.com/iam/docs/service-accounts)\n---------------------------------\nLet us create only the service accounts that we need. \n**Warning:** abuse of this feature is not the aim of this project and we do **NOT** recommend that you make a lot of projects, just one project and 100 sa allow you plenty of use, its also possible that over abuse might get your projects banned by google. \n\n```\nNote: 1 service account can copy around 750gb a day, 1 project can make 100 service accounts so that's 75tb a day, for most users this should easily suffice. \n```\n\n`python3 gen_sa_accounts.py --quick-setup 1 --new-only`\n\nA folder named accounts will be created which will contain keys for the service accounts\n\nNOTE: If you have created SAs in past from this script, you can also just re download the keys by running:\n```\npython3 gen_sa_accounts.py --download-keys project_id\n```\n\n### Add all the service accounts to the Team Drive\n- Run:\n```\npython3 add_to_team_drive.py -d SharedTeamDriveSrcID\n```\n\n### Follow on:\n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://github.com/Jigarvarma2005\"\u003e\u003cimg src=\"https://img.shields.io/badge/GitHub-Follow%20on%20GitHub-inactive.svg?logo=github\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://twitter.com/Jigarvarma2005\"\u003e\u003cimg src=\"https://img.shields.io/badge/Twitter-Follow%20on%20Twitter-informational.svg?logo=twitter\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"left\"\u003e\n\u003ca href=\"https://instagram.com/Jigarvarma2005\"\u003e\u003cimg src=\"https://img.shields.io/badge/Instagram-Follow%20on%20Instagram-important.svg?logo=instagram\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n#### Support Group\n- [JV Community](https://t.me/jv_community)\n\n#### Bots Updates Channel\n- [Universal Projects](https://t.me/Universal_Projects)\n\n### Credits\n- [Jigar Varma](https://github.com/jigarvarma2005)\n- [lzzy12](https://github.com/lzzy12)\n- [SpEcHiDe](https://github.com/SpEcHiDe)\n- [Pyrogram](https://github.com/pyrogram/pyrogram)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigarvarma2k20%2FStreaming-Link-Gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjigarvarma2k20%2FStreaming-Link-Gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigarvarma2k20%2FStreaming-Link-Gen/lists"}