mirror of
https://github.com/woodchen-ink/Random-Api.git
synced 2025-07-18 14:02:03 +08:00
# with '#' will be ignored, and an empty message aborts the commit. # # On branch main # # Initial commit # # Changes to be committed: # new file: README.md # new file: index.html # new file: index.md # new file: url.json # new file: url/pic/all.csv # new file: url/pic/fjht.csv # new file: url/pic/whitebackground.csv # new file: url/video/all.csv # new file: "worker 302\350\267\263\350\275\254.js" # new file: "worker \344\270\215\350\267\263\350\275\254.js" #
1.7 KiB
1.7 KiB
Random-Api 随机文件API
github地址: https://github.com/woodchen-ink/Random-Api
使用cloudflare worker配合github网页发布功能,实现获取path与csv_path关系,从 url.csv
文件中给出的链接来实现一个随机文件
不仅可以放图片,还能放文本文件,视频,等等
接口
感谢
大部分图片来自网络分享的API
以下不分先后:
自行部署
- cloudflare 新建一个worker,把 worker.js文件的代码粘贴进去,保存(可以修改为自己的链接)
- 访问即可
赞赏
如果对这个项目对你有帮助,欢迎打赏,支持微信和支付宝,请留言和备注项目,我会在我的博客上写出,感谢。