https://github.com/mlikiowa/githubfile
A Typecho image hosting plugin based on Github
https://github.com/mlikiowa/githubfile
blog php typecho
Last synced: 9 months ago
JSON representation
A Typecho image hosting plugin based on Github
- Host: GitHub
- URL: https://github.com/mlikiowa/githubfile
- Owner: MliKiowa
- License: mpl-2.0
- Created: 2020-03-14T03:50:49.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T04:43:43.000Z (over 2 years ago)
- Last Synced: 2023-11-05T05:23:48.707Z (over 2 years ago)
- Topics: blog, php, typecho
- Language: PHP
- Homepage: https://nanaeo.cn
- Size: 455 KB
- Stars: 100
- Watchers: 1
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# GithubFile
Language:
**`简体中文`**
[`English`](https://github.com/Mlikiowa/GithubFile/blob/main/ReadmeEn.md)
[](https://github.com/MliKiowa/GithubFile/actions/workflows/php.yml)
[](https://github.com/MliKiowa/GithubFile/blob/master/LICENSE)
[](https://github.com/MliKiowa/GithubFile/issues)
[](https://github.com/MliKiowa/GithubFile/network)
[](https://github.com/MliKiowa/GithubFile/stargazers)
# 警告
该项目失修 可能不再维护 如果确实需要可以联系mail
Hi I am Mlikiowa,this project is about to be unmanned for maintenance.So you can contact me by mail
# 介绍
利用Github进行储存使用第三方代理服务提供图片访问的Typecho插件
# 使用方法
1.下载插件 在 Typecho/usr/plugin 目录解压
2.解压出的目录更名*GithubFile*
3.启用插件 并按规则填写配置
4.上传文件 查看相应github的库中是否提交文件 如果能够看见安装完成
# 教程
## 友情提供
如果有人写了可以找我贴在这里
## 插件提示
1. 插件推荐仅修改镜像代理和用户token与用户名 其它的改的时候需要极度注意。
# 版本日志
## Ver 1.4.0
- [x] 整体性能与稳定性优化
- [x] 代码可读性优化和注释加入
- [ ] 支持文件图片压缩功能
- [ ] 优化多图上传丢失问题
- [ ] 调试系统重新设计
- [ ] 更新功能全新上线
## Ver 1.3.9
- [x] 兼容最新版Typecho
- [x] 修复少量问题
## Ver 1.3.8
- [x] 自定义上传路径
## Ver 1.3.4
- [x] 修改默认图片加速源
## Ver 1.3.3
1.重构插件
## Ver 1.3.2
1.兼容最新版Typecho 1.2 和 PHP7
## Ver 1.2
1.更新为Token认证(支持personal token 或者 oauth token)
## Ver 1.1
### 已更新
1.支持了basic认证方式
2.使用typecho内置http方式替代
## 计划中
1.支持personal token方式认证
2.优化日志整体包括安全性问题
3.对用户配置验证
# 推荐运行环境
PHP Version:7.2 及其以上
PHP Need Support:Curl or Socket
# 安全性须知
插件代码为公开开源
认证过程基于token
Typecho<->Plugin<->Github
# 图片代理源(图片镜像)
1.自建代理
2.第三方代理