Code Monkey home page Code Monkey logo

cloudflare-workers-download-proxy's Introduction

Cloudflare-Workers-Download-Proxy

使用Cloudflare Workers代理/连接/加速您的下载任务。

部署方法

  1. 复制程序代码:Cloudflare-Workers-Download-Proxy.js,替换您原来的Worker中的内容,无需进行任何修改。
  2. 如果您位于**大陆,请为Worker绑定您自己的域名。由于workers.dev域名在**大陆的网络环境中无法访问,因此需要使用其他域名。

网页界面

当您访问您的网页时,将显示一个带有输入框和按钮的页面。按照以下步骤操作:

  1. 在输入框中输入要下载的文件链接。
  2. 若点击下载按钮,将会自动将您跳转下载。
  3. 若点击获取下载链接,则会在网页上输出代理后的下载链接。

终端使用

最初创建这个程序时,并没有考虑到添加网页界面,只是为了让国内服务器能够连接到GitHub。因此,如果您在没有图形化界面的终端中使用,可以尝试使用以下链接格式:域名/download?url=下载链接

注意事项

  • 确保提供的链接是有效的,并且指向可下载的文件。
  • 下载链接应包含完整的URL,包括协议(例如 http://https://)。
  • 此示例仅用于研究和学习目的,并且无法安全地处理大型或未知的文件。

关于作者

我的博客:https://blog.968968.xyz

cloudflare-workers-download-proxy's People

Contributors

zyz0323 avatar

Stargazers

Jaya avatar gaodeng520 avatar 马乞 avatar

Watchers

 avatar

cloudflare-workers-download-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.