Giter VIP home page Giter VIP logo

image's Introduction

创建一个Git仓库

image-20220901140211284

安装Picgo,安装githubPlus插件

image-20220901140448030

获取一个token

以此打开 Settings -> Developer settings -> Personal access tokens,最后点击 generate new token

image-20220901140650141

image-20220901140825005

点击生成最终会得到一个token

token 生成,注意它只会显示一次,所以你最好把它复制下来到你的备忘录存好,方便下次使用,否则下次有需要重新新建;

配置Picgo

image-20220901141132429

按照图片参考配置即可,

repo:仓库名

branch:分支名

token:刚刚获取到的token

path:默认留空即可

customUrl:自定义域名,这个需要获取cdn,留空容易被墙。

获取cdn域名

当前使用的cdn是:

https://cdn.staticaly.com/gh/用户名/仓库名/分支名

可以通过油猴中的Github加速插件或增强插件来获取可靠的cdn

随便进入一个我们上传到Github中的文件

image-20220901141955215

image-20220901142149775

选择一个可以正常显示文件的线路。根据其链接格式解析即可。

https://raw.iqiq.io/1eexk/Image/master/image-20220901140211284.png)

这个链接就可以解析为:

https://raw.iqiq.io/用户名/仓库名/分支/图片名)

这样我们Picogo中的自定义链接就可以填:

https://raw.iqiq.io/用户名/仓库名/分支

配合Typroa使用

文件->偏好设置

image-20220901142456593

image's People

Contributors

1eexk 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.