Skip to content

Instantly share code, notes, and snippets.

@BlueSkyXN
BlueSkyXN / 3001imgbed.js
Last active September 8, 2024 17:24
3001imgbed.js
// Giithub @BlueSkyXN
// Code https://gist.github.com/BlueSkyXN/cf009388660348915be2166f6080e02d
// 仅供学习CloudFlare Worker开发使用,违规使用后果自负
// License @GPLv3
// 目前该地址经过实验不需要认证,不需要UA、Cookie、Content-Type、Authorization: Bearer等信息,直接上传都行
// 思路来源 https://tencentsb.xyz/md/ 和出处(需要登录或者用谷歌爬虫UA/快照访问) https://jike.info/topic/22192/
// 参考资料 https://www.freebuf.com/articles/system/227532.html
// 参考资料 https://github.com/yuolvv/Poor_image_upload
@BlueSkyXN
BlueSkyXN / 58imgbed.js
Last active September 24, 2023 08:03
58imgbed
// Github @BlueSkyXN
// Code https://gist.github.com/BlueSkyXN/0be89e736cd2fe0418f77c034538c502
// 仅供学习CloudFlare Worker开发使用,违规使用后果自负
// License @GPLv3
// 记得修改98行左右的域名/URL为你的Worker的API节点,注意58图床会删图,只能临时、短期学习使用
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
@noobnooc
noobnooc / cloudflare-worker-proxy.js
Last active October 20, 2025 04:09
cloudflare-worker-proxy
// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.