GithubHelp home page GithubHelp logo

iupdatable / telegraph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 0-rtt/telegraph

0.0 0.0 0.0 54 KB

基于telegraph的图床,图片大于5MB自动压缩

Home Page: https://е.eu.org

PHP 28.26% HTML 71.74%

telegraph's Introduction

⚠️需要网络能够访问telegraph

⚠️图片上传后无法删除

特点

图片储存在telegraph

支持上传大于5MB的图片

支持将图片链接保存在本地

使用方法

docker

更新请删除容器重新拉取镜像

docker pull baipiaoo/telegraph:latest

docker run -p 8080:80 -d --restart=always baipiaoo/telegraph

nginx 反代配置
    location / {
        proxy_pass http://localhost:8080;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

服务器

安装nginx+php

下载源码,将文件上传到网站目录,访问域名即可!

使用自己的反代域名

修改api/api.php文件第54行为你的反代域名

$domains = ['img.199881.xyz','img.188000.xyz','pic.dig77.com','pic.51.yt','img.selipoi.top','image.misdazzling.cn'];

$domains = ['改为你的反代域名'];

nginx 配置
location /file {
            proxy_pass https://telegra.ph/file;
}

Star History

Star History Chart

telegraph's People

Contributors

0-rtt avatar

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.