Random-Api/README.md
wood chen 782adaf8eb # Please enter the commit message for your changes. Lines starting
# 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"
#
2024-01-16 21:49:13 +08:00

41 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Random-Api 随机文件API
**请给个star谢谢**
## 完整说明请查看:
[https://random-api.woodchen.ink](https://random-api.woodchen.ink)
> 我的博客说明:[https://woodchen.ink/archives/1705367469203](https://woodchen.ink/archives/1705367469203)
使用cloudflare worker配合github网页发布功能实现获取path与csv_path关系`url.csv` 文件中给出的链接来实现一个随机文件
不仅可以放图片,还能放文本文件,视频,等等
## 感谢
大部分图片来自网络分享的API
以下不分先后:
* https://t.mwm.moe/
## 自行部署
1. cloudflare 新建一个worker把 worker.js文件的代码粘贴进去保存可以修改为自己的链接
2. 访问即可
## 赞赏
如果对这个项目对你有帮助,欢迎打赏,支持微信和支付宝,请留言和备注项目,我会在我的博客上写出,感谢。
### 微信
![1705312445316.png](https://cdn-img-r2.czl.net/2024/01/15/65a501199193b.png)
### 支付宝
![1705312348956.png](https://cdn-img-r2.czl.net/2024/01/15/65a50089b4b92.png)