这是一个用来更新 fast-down 的 Cloudflare Worker
https://fast-down-update.s121.top/cli/latest
{
"version": "2.2.1",
"assets": [
{ "platform": "linux", "arch": "64bit" },
{ "platform": "linux", "arch": "arm64" },
{ "platform": "macos", "arch": "64bit" },
{ "platform": "macos", "arch": "arm64" },
{ "platform": "windows", "arch": "32bit" },
{ "platform": "windows", "arch": "64bit" },
{ "platform": "windows", "arch": "arm64" }
]
}https://fast-down-update.s121.top/{项目名称}/latest
- {项目名称}
cligui
https://fast-down-update.s121.top/cli/download/latest/linux/64bit
https://fast-down-update.s121.top/{项目名称}/download/{版本}/{系统}/{架构}
- {项目名称}
cligui
- {版本}
latest2.2.1(注意不带v)- ...
- {系统}
linuxmacoswindows
- {架构}
32bit64bitarm64
bun install
bun run devbun run deployFor generating/synchronizing types based on your Worker configuration run:
bun run cf-typegenPass the CloudflareBindings as generics when instantiation Hono:
// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()