Article directory
1. PicGo download
Download address: https://molunerfinn.com/PicGo/
Try to download stable versions
2. Configure Github
1. Create a new warehouse to store pictures
2. Generate a token for picGo to access github
. Fill in Note and check repo.
Note that the generated token will only be displayed here once, so remember to save it separately.
3. Configure PicGo
- Warehouse name: [github username]/[name of the newly created warehouse in the first step]
- Branch: Default master, starting from 2020.10.01, the default branch name of github is changed to main
- Set token: the previously created token
- Specify storage path: You can fill it in or leave it blank. If filled in, the image will be stored in the img folder.
- Set a custom domain name: https://cdn.jsdelivr.net/gh/[github user name]/[warehouse name]@main. Note that the branch here must be filled in @main, otherwise the master branch will be used by default. Now the default branch name created by github is main. If it is not specified, pictures will not be uploaded.
Replenish:
Originally, the custom domain name of github should be: https://raw.githubusercontent.com/[username]/[warehouse name],
but it is accessed in this way.
4. PicGo integrates Typora
4.1 picGo listening port settings
Ports in Typro:
5. Test
After the upload is successful, you can see the image in the warehouse: