Giter Club home page Giter Club logo

build-picture-bed-tool's Introduction

PicGo + GitHub to build a personal picture bed tool

1. GitHub repository settings

流程:新建 public 仓库 -> 创建 token -> 复制 token 备用

1.1 New repository

点击 git 主页右上角的 + 创建 New repository

填写仓库信息,例如我就创建了一个 MyNotesImg 的仓库。这里注意,仓库得设置为 Public 因为后面通过客户端访问算是外部访问,因此无法访问 Private ,这样的话图片传上来之后只能存储不能显示。所以要设置为 Public

Create_repository

1.2 Create token and copy and save

此时仓库已经建立,点击右上角头像,然后进入设置;

Settings

在页面最下找到 Developer settings,点击进入;

Developer_settrings

创建 token;

create_new_token

填写 Note,设置 Expiration,勾选复选框 repo ,接着到页面底部 Generate token 就完成了;

token_settings

然后复制生成一串字符 token,这个 token 只出现一次,所以要保存一下

token

2. PicGo client configuration

2.1 Download & install

PicGo git地址:PicGo

2.2 configuration

PicGo_Github_setting

  • 仓库名 即你的仓库名
  • 分支名 默认 master
  • Token 就是刚刚复制的那一串字符
  • 存储路径 这个可以填也可以不填,填了的话图片就上传到 git 中 data 这个文件夹
  • 域名

然后点确定就可以了。

然后关于上传的快捷键设置。默认的是 Mac 按键,推荐改成 Ctrl + alt +c(当然也可以不改)。

PicGo_hot_key

2.3 PicGo rename plugin

rename_plugin

我的插件重命名格式配置: {origin}({y}-{m}-{d}-{h}-{i}-{s})

my_plugin_config

具体配置 可参考 picgo-plugin-rename-file

3. My picgo settings

Details can be found at data.json

4. Typora uses PicGo to upload pictures

偏好设置 -> 图像 -> 上传服务设定 上传服务选择 "PicGo(app)",选择 PicGo 安装路径

typora_setting

build-picture-bed-tool's People

Contributors

loongzhu avatar

Stargazers

 avatar

Watchers

 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.