Skip to content

这是一个用来更新 fast-down 的 Cloudflare Worker

License

fast-down/updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fast-down-updater

cloudflare workers Latest commit (branch) MIT License

这是一个用来更新 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

  • {项目名称}
    • cli
    • gui

下载最新版本

https://fast-down-update.s121.top/cli/download/latest/linux/64bit

https://fast-down-update.s121.top/{项目名称}/download/{版本}/{系统}/{架构}

  • {项目名称}
    • cli
    • gui
  • {版本}
    • latest
    • 2.2.1 (注意不带 v)
    • ...
  • {系统}
    • linux
    • macos
    • windows
  • {架构}
    • 32bit
    • 64bit
    • arm64

开发

bun install
bun run dev
bun run deploy

For generating/synchronizing types based on your Worker configuration run:

bun run cf-typegen

Pass the CloudflareBindings as generics when instantiation Hono:

// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()

About

这是一个用来更新 fast-down 的 Cloudflare Worker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published