File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# HuggingFace Proxy
22
33🤗 一个简洁高效的 HuggingFace 代理服务,基于 Cloudflare Workers。
4- 体验地址:https://hf.rimuru.cc
4+ 体验地址:https://hf.rimuru.work
55
66## ✨ 特性
77
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "build" : " node build.js" ,
88 "dev" : " npm run build && wrangler pages dev ." ,
9- "deploy" : " npm run build && wrangler pages deploy ."
9+ "dev:worker" : " npm run build && wrangler dev --config wrangler.worker.toml" ,
10+ "deploy" : " npm run build && wrangler pages deploy ." ,
11+ "deploy:worker" : " npm run build && wrangler deploy --config wrangler.worker.toml"
1012 },
1113 "devDependencies" : {
1214 "esbuild" : " ^0.24.0" ,
Original file line number Diff line number Diff line change 1+ name = " hf-proxy"
2+ main = " _worker.js"
3+ compatibility_date = " 2025-01-01"
4+
5+ [vars ]
6+ RESTRICT_BROWSER_ACCESS = " true"
You can’t perform that action at this time.
0 commit comments