Git Product home page Git Product logo

cf-proxy's Introduction

cf-proxy

管理发布多个 cloudflare workers 的仓库

使用方法

要求:

  • pnpm
  • nodejs >= 16.13.0
# clone this repo
git clone https://github.com/aliuq/cf-proxy.git

命令 new

创建新的 worker

pnpm run new [worker name]

options:

  • --name/-n:worker 名称
  • --date/-d: yyyy-mm-dd 格式的日期,用于确定使用哪个版本的 Workers 运行时,默认为当前日期
  • --dest/-o: worker 生成目录,默认为 ./workers

命令 exec

管理 worker

pnpm run exec [worker name] [command] [params] [args]

options:

  • --config/-c: 配置文件路径
  • --env/-e: 环境变量文件路径
  • --help/-h: 帮助信息
  • --version/-v: 版本信息
  • --params:固定参数
  • --workers-root: worker 生成目录,默认为 ./workers
  • --unbuild: 使用 unbuild 编译 worker,默认为 true
  • --push: 是否推送到 github,默认为 false
  • --[Name]: 额外的 wrangler 命令参数

License

MIT

cf-proxy's People

Contributors

aliuq avatar axiaoan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cf-proxy's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.