English | 简体中文
Cloudflare Workers
❤ cors
Support cross-domain request
Convert HTTP to HTTPS
Interface
Host/{URL}https://cors.zme.ink/{URL}
Demo
- https://cors.zme.ink/https://api.github.com
- https://cors.zme.ink/http://nginx.org/download/nginx-1.16.1.tar.gz
// Copy to the console and run
var $url = "http://wthrcdn.etouch.cn/weather_mini?citykey=101040100";
fetch("https://cors.zme.ink/" + $url).then(x => x.text()).then(console.log)❤ raw
Browse the contents of the GitHub repository directly, replacing raw.githubusercontent.com
Handle Content-Type output by svg, js, css
Interface
Host/{name}/{repos}/{branch}/{path}- Replace
githubusercontent.comwithzme.ink
Demo
- https://raw.githubusercontent.com/netnr/static/master/favicon.svg
- https://raw.zme.ink/netnr/static/master/favicon.svg
Install
- clone the project and enter the subdirectory (representing a worker)
- Edit
index.jsandwrangler.toml(configuration key) wrangler configconfigure mailbox and keywrangler buildbuildwrangler publishrelease- Detailed documentation: https://developers.cloudflare.com/workers/quickstart
Price
| CPU | Daily request | Burst rate | Script size |
|---|---|---|---|
| 10ms | 100,000 | 1000 requests in 10 minutes | 1M after compression |
Details: https://developers.cloudflare.com/workers/about/limits/
Source
Notice
The amount can't hold up, please use your account to build the service if you use a lot, thank you! ! !
If you don’t want to trouble, maybe you can sponsor I upgrade to a paid user $5/month 10 million requests, please note from cfw
