{"id":23982267,"url":"https://github.com/schachte/cloudflare-stream-downloader","last_synced_at":"2025-04-14T05:52:36.752Z","repository":{"id":185366004,"uuid":"672150590","full_name":"Schachte/cloudflare-stream-downloader","owner":"Schachte","description":"Download tool for Cloudflare Stream","archived":false,"fork":false,"pushed_at":"2025-01-06T16:36:46.000Z","size":3885,"stargazers_count":46,"open_issues_count":2,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T19:50:35.058Z","etag":null,"topics":["cloudflare","cloudflare-stream","cloudflare-streams","m3u8-downloader","stream"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Schachte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-29T04:58:35.000Z","updated_at":"2025-03-27T09:50:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"35dbd612-dd6d-435f-b822-485a10f6b29f","html_url":"https://github.com/Schachte/cloudflare-stream-downloader","commit_stats":null,"previous_names":["schachte/cloudflare-stream-downloader"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schachte%2Fcloudflare-stream-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schachte%2Fcloudflare-stream-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schachte%2Fcloudflare-stream-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schachte%2Fcloudflare-stream-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Schachte","download_url":"https://codeload.github.com/Schachte/cloudflare-stream-downloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830389,"owners_count":21168272,"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":["cloudflare","cloudflare-stream","cloudflare-streams","m3u8-downloader","stream"],"created_at":"2025-01-07T11:13:38.027Z","updated_at":"2025-04-14T05:52:36.730Z","avatar_url":"https://github.com/Schachte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ☁️ Cloudflare Stream Video Downloader\n\nUtility to download MP4 videos and individual [MPEG-TS](https://en.wikipedia.org/wiki/MPEG_transport_stream) segments for varying resolutions off a [Cloudflare Stream](https://developers.cloudflare.com/stream/) HLS manifest URL.\n\n## Supports\n- ✅ Download video and segments\n- ✅ List available resolutions \u0026 manifests\n- ✅ Upload support\n- ✅ Count number of segments\n\n## Installation\n```\ngo install github.com/Schachte/cloudflare-stream-downloader@master\n```\n\n### Troubleshooting\n\n- Make sure you have Go installed on your system - [download here](https://go.dev/doc/install)\n- Make sure you `GOPATH` and `GOBIN` values are set correctly\n\nExample:\n```\nGOPATH=$HOME/Documents/go\nGOBIN=$GOPATH/bin\nPATH=$PATH:$GOBIN\ngo install github.com/Schachte/cloudflare-stream-downloader@master\n\ncloudflare-stream-downloader \u003cHLS MANIFEST URL\u003e\n```\n\n## Usage\n```sh\ncloudflare-stream-downloader --manifestUrl \u003cHLS_MANIFEST_URL\u003e --output  \u003cabsolute path to output folder\u003e\n\n#If an output path is not provided then it will be saved to the directory where the binary is executed\n```\n\nFor building the binary, see section below on `Builds \u0026 Releases` or [download latest release here.](https://github.com/Schachte/cloudflare-stream-downloader/releases)\n\nYou can grab the HLS manifest from the Cloudflare Dash as shown in the image below:\n\n![](./assets/dashboard.png)\n\nIn case you wish to download an embedded video on a different site and you don't have the access to the Cloudflare Dash, get to the frame's source code, find the poster url in the following format `https://customer-\u003cCODE\u003e.cloudflarestream.com/\u003cUID\u003e/thumbnails/thumbnail.jpg` and replace `thumbnail/thumbnanil.jpg` with `manifest/video.m3u8`. Example URL: `https://customer-f33zs165nr7gyfy4.cloudflarestream.com/6b9e68b07dfee8cc2d116e4c51d6a957/manifest/video.m3u8`\n\n## Example Output\n```\ncloudflare-stream-downloader --manifestUrl https://.../manifest/video.m3u8 --outputPath \u003cabsolute path to output folder\u003e\n\nUse the arrow keys to navigate: ↓ ↑ → ←\n? Cloudflare Stream Downloader::\n  ▸ Download video and segments\n    List available resolutions\n    Count number of segments\n    🚫 Exit\n\n✔ Download video and segments\n📋 Listing all available resolutions for video UID: f92743594bb2d9471c8ef80b9437c1ff\n\n0) 766x360\n1) 510x240\n2) 🚫 Exit\n\n📼 Select resolution: 0\n🌱 Beginning download for [766x360]\n10% complete\n20% complete\n30% complete\n40% complete\n50% complete\n60% complete\n70% complete\n80% complete\n90% complete\nComplete!\n---------------------------------------------\nVideo output:\n./f92743594bb2d9471c8ef80b9437c1ff/766x360/f92743594bb2d9471c8ef80b9437c1ff.mp4\n\nSegments output:\n./f92743594bb2d9471c8ef80b9437c1ff/766x360/segments/\n\nPlayback:\nffplay ./f92743594bb2d9471c8ef80b9437c1ff/766x360/f92743594bb2d9471c8ef80b9437c1ff.mp4\n---------------------------------------------\n```\n\n## Builds \u0026 Releases\n\n### Releases \n\n[Download latest release here.](https://github.com/Schachte/cloudflare-stream-downloader/releases)\n\nor \n\nYou can also run the latest builds for all operating systems by running: `make all`. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschachte%2Fcloudflare-stream-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschachte%2Fcloudflare-stream-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschachte%2Fcloudflare-stream-downloader/lists"}