Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以增加自建服务器版本吗 #46

Open
Calle-99 opened this issue Jun 30, 2023 · 2 comments
Open

可以增加自建服务器版本吗 #46

Calle-99 opened this issue Jun 30, 2023 · 2 comments

Comments

@Calle-99
Copy link

也是上传到tg,但是管理功能不占用cf的kv存储空间

@cf-pages
Copy link
Owner

cf-pages commented Jul 6, 2023

如果需要在自己的服务器上部署可以考虑下面的方式:

首先需要在服务器上安装node.js和npm,具体步骤可参考node.js官网https://nodejs.org/

  1. git clone https://github.com/cf-pages/Telegraph-Image 将代码克隆到服务器上
  2. cd Telegraph-Image
  3. npm install wrangler 安装Cloudflare Worker CLI
  4. 运行wrangler pages dev ./ --kv "img_url" --port 8080 --binding BASIC_USER=admin --binding BASIC_PASS=123 --persist-to ./data --log-level none
  5. 可以根据自身需要使用nginx或类似程序配置反向代理和https

@1513788736
Copy link

没有批量上传的功能吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants