Use code to build a personal cloud gitee + PicGo free map bed

Use code to build a personal cloud gitee + PicGo free map bed

Zero, Preface

  Daily habit of writing notes with Markdown, but the picture is still a problem, especially at times need to upload some blog, if you have a picture with a local re-import. When would have been required to use map bed CSDN or simple book, but there CSDN logo, Jane book is just fine, just worried that one day will set the security chain, we still need a professional.

  Then check some information online, seven cattle cloud can use ready-made, they shoot clouds, passing map bed and so on, but part and there are all kinds of restrictions, but always felt unsafe in a place like this, then you can build your own Tencent cloud with Ali cloud of OSS, but to pay.

  Therefore, the final choice to use gitee build personal map bed and PicGo, the status quo is relatively easier and indeed, storage, speed also meet the requirements. Or, instead of gitee Github is the same, but for some reason, after all, visited sometimes too slow, or even directly off the card, seriously affecting experience.

First, prepare the environment

1. Install Node.js

  Node.js for various plug PicGo the download process, requires version> = 8.

  Enter nodejs official website: https: //nodejs.org/en/download/, download and install directly to the corresponding versions, like Windows, direct the next step, Linux and other platforms can refer to the corresponding manual: Node.js Via Installing Package Penalty for manager | Node.js

20200324181950

2. Install PicGo

  Enter PicGo official website: https: //github.com/Molunerfinn/PicGo/releases, download and install directly

3. Cloud code Jiancang

  Cloud access code official website, create a new warehouse, set the public, designed to store pictures, for example, use this test name: images

Two, PicGo configuration

1. Download plugin

  1. Entering PicGo, select plug-in settings , input gitee , choose to install the second plug ** gitee-uploader 1.1.2 **, as the plug is used to set gitee FIG bed.

    20200324191937

  2. After a successful installation, click the gear-shaped icon in the lower right corner plugin, select uploader - gitee

    20200324192513

2. Plug-in configuration

  1. In this configuration, only you need to configure repo and token two.

    Where the repo is: giteeUsername / repositoryName, such as your gitee account for the user, the storage warehouse picture images, is here to fill user / images

    token is gitee on an individual's personal token, direct fill (see the next step how to generate private token explanation)

    Then click OK

    20200324192757

3. Generate private token

  1. Private token generation, then, first enter the settings in the left side there is a private tokens , click to enter

    20200324193228

  2. Then you can see on the right side there is a + generating a new token , click

    20200324193609

  3. Fill in private token description , such as: PicGo, this is only used to mark, little to do, click on submit

    20200324193636

  4. Enter the account password, click on the verification

    20200324193659

  5. Finally, the private token successfully generated, click on the copy onto the step of token in

    20200324193728

4. Use provided

  1. Enter PicGo , select PicGo set , slide the bottom, select gitee

    20200324194221

  2. Finally, back to the upload area , see top image upload at a selection box for the gitee can be, if not on their own choice about, then you can normally upload pictures to gitee and get outside the chain.

    20200324194435

Third, the use

  Specific use can refer to the official manual: Quick Start | PicGo

  In simple terms, then you can select files using drag PicGo picture and then get outside the chain, you can also upload pictures directly using the clipboard, shortcut keys default is ctrl + shift + P.

  All uploaded images in an album can be seen, but also can rename, delete, copy and other operations.

  Well, personal pictures to this success being built! ! !


Reference article: [1] using the code to build cloud with PicGo Free Map bed - Jane books

     [2] node.js detailed installation step tutorial _JavaScript_ old Ma -CSDN blog

     【3】Releases · Molunerfinn/PicGo

     [4] Quick Start | PicGo

He published 195 original articles · won praise 139 · views 120 000 +

Guess you like

Origin blog.csdn.net/qq_39564555/article/details/105080209