Code Monkey home page Code Monkey logo

githubfile's Introduction

GithubFile

一款基于github仓库实现附件储存的typecho插件

插件逻辑整体调整 授权服务器最近会上去

Test

推荐运行环境

PHP Version:8.0 及其以上

PHP Http Support:Curl or Socket

如何使用?

1.下载插件

2.解压到插件目录,将插件文件夹更名GithubFile

3.启用插件,到设置面板获取Token

4.填入其它插件设置

5.开启伪静态(未开启可导致授权失败)

6.上传附件即可使用插件

如何搭建授权服务器?

1.下载Auth.php

2.放置到网站主目录

3.申请github oauth 获取client_id client_secret

4.打开Auth.php修改相应参数 (https_open 在https可开启)

5.到插件设置修改插件的授权服务器

不可用访问GithubApi

切换GithubAPI为 https://v2.kkpp.cc/

该Api已经失效(使用第三方Api请注意Api安全)

查找错误

1.开启调试模式

2.执行错误操作

3.打开日志记录面板下载日志

例图

反馈

快进来玩 QGroup 加入群聊【雪风的茶楼】

By Mail : [email protected]

By QQ : 946735494

安全性提示

本插件通过第三方Oauth如果你对此方法介意

  1. 可以获取官方personsal key填入token
  2. 搭建自己的授权服务器

项目基于

Mlikiowa/Http

Mlikiowa/GithubApi

githubfile's People

Contributors

mlikiowa avatar yuezhinai 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.