https://github.com/tencentedgeone/edgefunctions-examples
This repository contains examples demonstrating various use cases and capabilities of EdgeOne Edge Functions.
https://github.com/tencentedgeone/edgefunctions-examples
ab-testing cdn edge-functions edgeone geolocation m3u8-videos redirects security serverless
Last synced: 26 days ago
JSON representation
This repository contains examples demonstrating various use cases and capabilities of EdgeOne Edge Functions.
- Host: GitHub
- URL: https://github.com/tencentedgeone/edgefunctions-examples
- Owner: TencentEdgeOne
- Created: 2024-09-04T07:47:24.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T03:58:46.000Z (7 months ago)
- Last Synced: 2024-09-18T06:33:20.417Z (7 months ago)
- Topics: ab-testing, cdn, edge-functions, edgeone, geolocation, m3u8-videos, redirects, security, serverless
- Language: JavaScript
- Homepage: https://edgeone.ai/developer/examples
- Size: 3.26 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
Tencent EdgeOne | Edge Functions
π Fast | π Secure | βοΈ Serverless | π« Innovative
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.
Features β’
Get Started β’
Documentation β’
Examples β’
Contribute β’
License---
![]()
## Features
### π Lightning Fast Acceleration
- 3200+ Global CDN PoP
- 200Tbps Global Network Bandwidth
- 100+ Custom CDN Abilities
- L4/L7 Intelligent Acceleration### π‘οΈ Dependable Protection
- 15 Tbps Global Bandwidth for DDoS Mitigation
- 3 Seconds Time-To-Mitigation Against DDoS Attacks
- 20+ Customizable Security Features
- Minute-level Data Statistical Analysis### π» Extremely Flexible Serverless
- Programmable in Edge
- Adaptive images in Edge
- Application in Edge### π₯ Advanced Media Experience
- 99.5% Upload Success Rate
- 89% Bitrate Reduced
- <1s Transcoding Time## Get Started
Detailed instructions can be found in our [Getting Started](https://edgeone.ai/document/53373?product=edgedeveloperplatform).
## Examples
This 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.
Some of the classic examples include:
- [M3U8 Rewrite and Authentication](./m3u8-rewrite-authentication): Demonstrates how to rewrite M3U8 files and implement authentication for streaming content.
- [Geolocation-based Blocking](./geolocation-based-blocking): Shows how to implement country-level access restrictions based on geographical location.
- [URL Authentication](./url-authentication): Illustrates how to implement URL authentication using timestamps and MD5 hashing.
- [Adaptive WebP Images](./adaptive-webp): Showcases how to dynamically serve WebP images to supported browsers for improved performance.Feel free to explore these examples and use them as a starting point for your own Edge Functions!
For more examples, see [Examples](https://edgeone.ai/developer/examples).
## Documentation
Detailed documentation can be found in our [Documentation](https://edgeone.ai/document/53372).
## Contribute
We welcome all forms of contributions! Please check our Contribution Guidelines for more information.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
---