{"id":13876173,"url":"https://github.com/dan-online/bunnycdn-stream","last_synced_at":"2025-08-18T11:50:01.109Z","repository":{"id":50748190,"uuid":"494189016","full_name":"dan-online/bunnycdn-stream","owner":"dan-online","description":"A simple, lightweight, and easy to use HTTP streaming library for BunnyCDN.","archived":false,"fork":false,"pushed_at":"2025-08-08T17:30:21.000Z","size":17196,"stargazers_count":41,"open_issues_count":7,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-08T17:38:26.257Z","etag":null,"topics":["bunnycdn","bunnycdn-stream","hacktoberfest","nodejs","typescript","video-processing"],"latest_commit_sha":null,"homepage":"https://npmjs.org/package/bunnycdn-stream","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dan-online.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["dan-online"]}},"created_at":"2022-05-19T18:35:55.000Z","updated_at":"2025-06-22T03:30:48.000Z","dependencies_parsed_at":"2023-02-16T21:30:51.111Z","dependency_job_id":"675a9106-6765-4d41-966d-94fdfd16d64c","html_url":"https://github.com/dan-online/bunnycdn-stream","commit_stats":{"total_commits":407,"total_committers":5,"mean_commits":81.4,"dds":0.312039312039312,"last_synced_commit":"170301efd8d45a486cfeef1844d44c5791ec8882"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/dan-online/bunnycdn-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-online%2Fbunnycdn-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-online%2Fbunnycdn-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-online%2Fbunnycdn-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-online%2Fbunnycdn-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dan-online","download_url":"https://codeload.github.com/dan-online/bunnycdn-stream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan-online%2Fbunnycdn-stream/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270988455,"owners_count":24680672,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bunnycdn","bunnycdn-stream","hacktoberfest","nodejs","typescript","video-processing"],"created_at":"2024-08-06T06:01:05.876Z","updated_at":"2025-08-18T11:50:01.058Z","avatar_url":"https://github.com/dan-online.png","language":"TypeScript","funding_links":["https://github.com/sponsors/dan-online"],"categories":["TypeScript","typescript"],"sub_categories":[],"readme":"[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n![Codecov][coverage-shield]\n\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/dan-online/bunnycdn-stream\"\u003e\n    \u003cimg src=\"https://github.com/dan-online/bunnycdn-stream/raw/main/assets/images/bunnycdn-stream.png?raw=true\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eBunnyCDN-Stream\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    A simple, lightweight, and easy to use library for BunnyCDN's stream api.\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/dan-online/bunnycdn-stream/blob/main/docs/classes/BunnyCdnStream-1.md\"\u003eDocumentation\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/dan-online/bunnycdn-stream/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/dan-online/bunnycdn-stream/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\n## About The Project\n\n![Product Name Screen Shot][product-screenshot]\n\nThere are many bunnycdn modules for accessing bunnycdn storage yet none of them provide access to the `stream` endpoint, which requires seperate authentication. Therefore I decided to just write my own in typescript.\n\nThis was harder than you would think, a lot of bunnycdn's documentation is misnamed or just not documented. Therefore I had to experiment a lot but I believe I was able to make this library simple and easy to use.\n\n### Built With\n\n- [Axios](https://axios.com)\n- [Typescript](https://www.typescriptlang.org)\n- [TSup](https://tsup.egoist.dev)\n- [Biome](https://biomejs.dev)\n\n## Getting Started\n\nTo get a local copy up and running follow these simple example steps.\n\n### Install\n\n- npm\n\n  ```sh\n  npm install bunnycdn-stream\n  ```\n\n- yarn\n  ```sh\n  yarn add bunnycdn-stream\n  ```\n\n## Usage\n\n_For more examples, please refer to the [Documentation](https://github.com/dan-online/bunnycdn-stream/blob/main/docs/classes/BunnyCdnStream-1.md)_\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## Testing\n\nThe project is tested with `vitest` and requires you to have a library on your BunnyCDN account to send commands to the Bunny API.\n\n\u003e Warning: all videos will be deleted during testing.\n\n### Keys\n\n```sh\nBUNNY_VIDEO_LIBRARY=xxx BUNNY_API_KEY=xxx npm test\n```\n\nAlso, `IGNORE_PRUNE=1` can be used to keep the testing video at the end of the tests for further manual checking.\n\n\u003c!-- LICENSE --\u003e\n\n## License\n\nDistributed under the MIT License. See [LICENSE](LICENSE) for more information.\n\n## Contact\n\nDanCodes - [@dan-online](https://github.com/dan-online) - dan@dancodes.online\n\nProject Link: [https://github.com/dan-online/bunnycdn-stream](https://github.com/dan-online/bunnycdn-stream)\n\n\u003c!-- ACKNOWLEDGMENTS --\u003e\n\n## Acknowledgments\n\n- [Josh Core](https://github.com/josh-development/core) - For the project layout so I could easily write this module in a day without worrying about typescript issues\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n\n[contributors-shield]: https://img.shields.io/github/contributors/dan-online/bunnycdn-stream.svg?style=for-the-badge\n[contributors-url]: https://github.com/dan-online/bunnycdn-stream/graphs/contributors\n[coverage-shield]: https://img.shields.io/codecov/c/github/dan-online/bunnycdn-stream?token=FAU4GNC5FD\u0026style=for-the-badge\u0026logo=codecov\n[forks-shield]: https://img.shields.io/github/forks/dan-online/bunnycdn-stream.svg?style=for-the-badge\n[forks-url]: https://github.com/dan-online/bunnycdn-stream/network/members\n[stars-shield]: https://img.shields.io/github/stars/dan-online/bunnycdn-stream.svg?style=for-the-badge\n[stars-url]: https://github.com/dan-online/bunnycdn-stream/stargazers\n[issues-shield]: https://img.shields.io/github/issues/dan-online/bunnycdn-stream.svg?style=for-the-badge\n[issues-url]: https://github.com/dan-online/bunnycdn-stream/issues\n[license-shield]: https://img.shields.io/github/license/dan-online/bunnycdn-stream.svg?style=for-the-badge\n[license-url]: https://github.com/dan-online/bunnycdn-stream/blob/master/LICENSE\n[product-screenshot]: https://github.com/dan-online/bunnycdn-stream/raw/main/assets/images/demo.png?raw=true\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan-online%2Fbunnycdn-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdan-online%2Fbunnycdn-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan-online%2Fbunnycdn-stream/lists"}