Giter Site home page Giter Site logo

telegraph-image's Introduction

telegraph-Image

Demo

https://img.131213.xyz

测试

https://testimg.131213.xyz/

测试账号:admin

测试密码:admin

开发计划

  • 后台管理
  • 鉴黄
  • 画廊
  • referer、IP黑名单

优点

  1. 无限图片储存数量,你可以上传不限数量的图片

  2. 无需购买服务器,托管于Cloudflare的网络上,当使用量不超过Cloudflare的免费额度时,完全免费

  3. 无需购买域名,可以使用Cloudflare Pages提供的*.pages.dev的免费二级域名,同时也支持绑定自定义域名

  4. 支持图片审查API,可根据需要开启,开启后不良图片将自动屏蔽,不再加载

  5. 支持后台图片管理,日志管理,查看访问前20的Referer、IP、img,可以对上传的图片进行在线预览,添加白名单,黑名单等操作

利用Cloudflare pages部署

  1. 点击Use this template按钮创建一个新的代码库。

  2. 登录到Cloudflare控制台.

  3. 在帐户主页中,选择pages> Create a project > Connect to Git

  4. 选择你创建的项目存储库,在Set up builds and deployments部分中,Framework preset(框架)Next.js即可。

  1. 点击Save and Deploy部署 。

  2. 设置环境变量&开启图片管理功能

  3. 设置兼容性标志,前往后台依次点击设置->函数->兼容性标志->配置生产兼容性标志 填写 nodejs_compat

  1. 前往后台点击部署 找到最新的一次部署点重试部署

环境变量

变量名称
PROXYALLIMG 反向代理所有图片(默认为false)
BASIC_USER <后台管理页面登录用户名称>
BASIC_PASS <后台管理页面登录用户密码>
ModerateContentApiKey <审查图像内容的API key>
RATINGAPI <自建的鉴黄api >
CUSTOM_DOMAIN https://your-custom-domain.com (自定义加速域名)

Star History

Star History Chart

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.