Quickly build a free and easy-to-use picture bed in 5 minutes (Picx +github)

foreword


The thing is like this, I also encountered a problem before. When I was writing a blog, I wanted to upload the picture to a certain place. After generating the link, I just used the link to upload the picture. In the end, after searching for a long time, I found that there was no suitable place to upload it, and I couldn't think of other ways since I didn't have enough time. But recently, standing on the shoulders of giants, I found a good way, combining github and Picx, to build a free picture bed, uploading pictures is very easy. The following is a simple introduction to the construction steps

1, Create your own warehouse on github

insert image description here

2, get Generate token

  • Click the address, jump to the current warehouse, click 'Generate new token' to generate Generate token
  • Remember to save it, it will be used later, the token will only be displayed once, if it is lost, it can be regenerated

insert image description here

3. Build Picx

  • Introduction: Picx is a picture bed management tool with CDN acceleration function developed based on GitHub API. It is free, stable, fast and safe~

  • picx: github warehouse address

  • Upload the image address , click to enter and proceed to step 4

4. Picture bed configuration

insert image description here

5. Experience the fun of uploading

insert image description here

You can 我的设置set the image compression method in it, currently there are only three compression methods

  • webP supports most modern browsers
  • mozJPEG is in jpg format, the compatibility is the best
  • avif, the compression ratio is the largest, currently only supports Google Chrome

6,Extra

  • The uploaded link is used in the csdn and my own github md document
  • When uploading pictures, you can choose the corresponding format and rename. Personally, I suggest renaming is also used to develop a good habit of naming.
  • You can enter my github warehouse to view the pictures uploaded through Picx

A good memory is not as good as a bad pen. Taking notes is my joy of learning! ! !

Guess you like

Origin blog.csdn.net/weixin_45701199/article/details/125801816