{"id":26990207,"url":"https://github.com/tencentedgeone/edgefunctions-examples","last_synced_at":"2025-04-03T21:33:33.030Z","repository":{"id":255452779,"uuid":"852087210","full_name":"TencentEdgeOne/edgefunctions-examples","owner":"TencentEdgeOne","description":"This repository contains examples demonstrating various use cases and capabilities of EdgeOne Edge Functions.","archived":false,"fork":false,"pushed_at":"2024-09-18T03:58:46.000Z","size":3417,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-18T06:33:20.417Z","etag":null,"topics":["ab-testing","cdn","edge-functions","edgeone","geolocation","m3u8-videos","redirects","security","serverless"],"latest_commit_sha":null,"homepage":"https://edgeone.ai/developer/examples","language":"JavaScript","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/TencentEdgeOne.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":"2024-09-04T07:47:24.000Z","updated_at":"2024-09-18T03:58:50.000Z","dependencies_parsed_at":"2024-09-14T19:15:37.505Z","dependency_job_id":null,"html_url":"https://github.com/TencentEdgeOne/edgefunctions-examples","commit_stats":null,"previous_names":["tencentedgeone/edgefunctions-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fedgefunctions-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fedgefunctions-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fedgefunctions-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TencentEdgeOne%2Fedgefunctions-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TencentEdgeOne","download_url":"https://codeload.github.com/TencentEdgeOne/edgefunctions-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247084872,"owners_count":20881111,"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":["ab-testing","cdn","edge-functions","edgeone","geolocation","m3u8-videos","redirects","security","serverless"],"created_at":"2025-04-03T21:33:32.474Z","updated_at":"2025-04-03T21:33:33.025Z","avatar_url":"https://github.com/TencentEdgeOne.png","language":"JavaScript","readme":"\u003cdiv align=\"left\"\u003e\n  Language:\n  \u003ca title=\"English\" href=\"#readme\"\u003eEnglish\u003c/a\u003e\n  \u003ca title=\"中文\" href=\"./README_zh-CN.md\"\u003e中文\u003c/a\u003e\n\u003c/div\u003e\n\n---\n\n\u003ca id=\"readme\"\u003e\u003c/a\u003e\n\n\u003ch1 align=\"center\"\u003eTencent EdgeOne | \u003ca href=\"https://edgeone.ai/products/function\" rel=\"nofollow\"\u003eEdge Functions\u003c/a\u003e\u003c/h1\u003e\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e 🚀 Fast | 🔑 Secure | ☁️ Serverless | 💫 Innovative\u003c/b\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  EdgeOne Edge Functions is a serverless compute platform that allows you to run JavaScript code at the edge, close to your users. This repository contains examples demonstrating various use cases and capabilities of EdgeOne Edge Functions.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#get-started\"\u003eGet Started\u003c/a\u003e •\n  \u003ca href=\"#documentation\"\u003eDocumentation\u003c/a\u003e •\n  \u003ca href=\"#examples\"\u003eExamples\u003c/a\u003e •\n  \u003ca href=\"#contribute\"\u003eContribute\u003c/a\u003e •\n  \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ckbd\u003e\u003cimg src=\"assets/images/edgeone-functions-cover.png\" alt=\"EdgeOne Edge Functions Mockup\" title=\"EdgeOne Edge Functions\"/\u003e\u003c/kbd\u003e\n\u003c/p\u003e\n\n\n## Features\n\n### 🚀 Lightning Fast Acceleration\n\n- 3200+ Global CDN PoP\n- 200Tbps Global Network Bandwidth\n- 100+ Custom CDN Abilities\n- L4/L7 Intelligent Acceleration\n\n### 🛡️ Dependable Protection\n\n- 15 Tbps Global Bandwidth for DDoS Mitigation\n- 3 Seconds Time-To-Mitigation Against DDoS Attacks\n- 20+ Customizable Security Features\n- Minute-level Data Statistical Analysis\n\n### 💻 Extremely Flexible Serverless\n\n- Programmable in Edge\n- Adaptive images in Edge\n- Application in Edge\n\n### 🎥 Advanced Media Experience\n\n- 99.5% Upload Success Rate\n- 89% Bitrate Reduced\n- \u003c1s Transcoding Time\n\n## Get Started\n\nDetailed instructions can be found in our  [Getting Started](https://edgeone.ai/document/53373?product=edgedeveloperplatform).\n\n## Examples\n\nThis repository contains various examples demonstrating the capabilities of EdgeOne Edge Functions. Each example is contained in its own directory with a README explaining its purpose and usage.\n\nSome of the classic examples include:\n\n- [M3U8 Rewrite and Authentication](./m3u8-rewrite-authentication): Demonstrates how to rewrite M3U8 files and implement authentication for streaming content.\n- [Geolocation-based Blocking](./geolocation-based-blocking): Shows how to implement country-level access restrictions based on geographical location.\n- [URL Authentication](./url-authentication): Illustrates how to implement URL authentication using timestamps and MD5 hashing.\n- [Adaptive WebP Images](./adaptive-webp): Showcases how to dynamically serve WebP images to supported browsers for improved performance.\n\nFeel free to explore these examples and use them as a starting point for your own Edge Functions!\n\nFor more examples, see [Examples](https://edgeone.ai/developer/examples).\n\n## Documentation\n\nDetailed documentation can be found in our [Documentation](https://edgeone.ai/document/53372).\n\n## Contribute\n\nWe welcome all forms of contributions! Please check our Contribution Guidelines for more information.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n---\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftencentedgeone%2Fedgefunctions-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftencentedgeone%2Fedgefunctions-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftencentedgeone%2Fedgefunctions-examples/lists"}