Nowadays, many people are accustomed to storing their documents online, especially some bloggers and cross-border e-commerce sellers. They need to store a large number of pictures online, and then they can directly reference these when writing blogs or uploading product listings. Regarding image files on cloud disks, although some major manufacturers also provide many cloud disks, such as Baidu, etc., the cloud disks they provide are only used as simple file storage functions. If we write a blog, we need to quote the files on this cloud disk. When uploading image files, effective links cannot be generated for direct reference. Similarly, when cross-border e-commerce companies upload product details pages, such as Amazon product listings, they cannot directly use image files saved on these cloud disks. If they need to directly reference and save Image files on the cloud disk need to use the object cloud storage function. Then the problem arises. Although many major manufacturers provide object cloud storage functions, they are basically charged. Although there are also free quotas, there are also restrictions of this kind. The conditions are basically the same for all major manufacturers. For example, Amazon's object cloud storage has 5G free quota, but it is only free for one year and will be gone when it expires. Moreover, the policy does not seem to be very clear and the control is not good. In the credit card The money may be deducted from you. Of course, some small factories also provide free drawing beds without too many restrictions. But after all, they are small factories, which always makes people feel uneasy and unsafe, because one day these small factories If the factory shuts down, the pictures you uploaded will be gone, and a lot of your previous work will have to be done over again, which is not worth the loss.
In view of this, why don't we build our own picture bed, which is free, safe, and has almost no limit on storage space. It can not only upload pictures, but also upload and save files, and the uploaded pictures can be used immediately. This solves the problem. Our big question, this is what I recommend to you today: how to use PicGo+Github to build a free image bed and free object cloud storage.
What is PicGo?
PicGo is a tool for quickly uploading images and obtaining image URL links.
What is Github?
GitHub is an online software source code hosting service platform. It is the world's largest code hosting website and open source community, and is a Microsoft company.
Why use PicGo+Github?
1. Because it is open source, it is free and very friendly to novice entrepreneurs with insufficient funds.
2. A company owned by Microsoft and backed by Microsoft, it is safe and reliable.
1. Register a Github account
To store files on Github, you must first have an account.
Open the URL: https://github.com/ and click Sign up
Enter your email and follow the prompts.
2. Create a new Github warehouse
Log in to the Github website and click New in the upper left corner
Enter the warehouse 名称 in the pop-up interface, and then click Create repository (the default selection here is Public , which is the public warehouse)
Click Create
After the warehouse is successfully created, you will see the following content
3. Generate token
Click on the avatar in the upper right corner and select Settings
Find Developer settings in the left tab
Find Personal acess token->Tokens (classic) and click Generate new token (classic)
Set the following three places:
1. Note (description of token)
2. Expiration (token validity period, choose not to expire or choose on demand)
3. repo (give permission to token)
After the settings are completed, go to the bottom of the page and click Generate token
At this point, the token is generated. We copy it first and use it later in the PicGo software configuration.
Note: The generated token will only be displayed once. When we leave this interface, we cannot view it again, so we must save it to avoid losses caused by loss and forgetfulness.
4. Download and installation of PicGo (Windows system environment)
Open the download address: PicGo 2.3.0
Select the 2.3.0 stable version and click to download the installation package.
Double-click the downloaded installation package to enter the graphical installation interface and click Next.
Select the installation location and click Install.
After the installation is complete, click Finish and PicGo will automatically run.
5. PicGo configuration
Run PicGo, the interface is as follows:
Click on the image bed settings to select the GitHub image bed, follow the prompts to set up, and click OK after the settings are completed!
Set the warehouse name: your username/toupianku
Set branch name: main
Set Token: Paste the previously generated token here
Specify the storage path: By default, it will be uploaded to the root directory. The specified directory should end with /. For example, if I want to upload pictures to the img directory, then the storage path should be set to img/
Set a custom domain name: Just ignore it
Click the upload area and change the image upload image bed to GitHub image bed
Next, we upload a photo to test whether the configuration is successful. Select "Click to upload" in the upload area and select the image or file to upload.
When the blue progress bar runs out, our image will be uploaded successfully.
After the upload is successful, PicGo will automatically copy the link of the image to the pasteboard, and we can directly paste the link where needed.
At the same time, we can also view it in the photo album, because there will be a record after the upload is successful. Here we can also copy the link of the picture, modify the link of the picture, and delete the picture.
All the pictures in this article refer to the self-built free image bed link. At this point, using PicGo + Github to build a free image bed is completed. Similarly, this image bed can also be used as a cloud disk. In this way, will it save us money at the same time? , and also greatly facilitates our daily work? Of course, if you are a wealthy person and don't mind the trouble, just use the object cloud storage of a big manufacturer. As long as the money is available, anything can be solved. This method is only suitable for novices with limited funds.