I need tools to help me manage my images and get them online for my blog. I will use OneDrive as a free map bed.

PicGo: a tool for quickly uploading images and getting image URL links

research

After some research, PicGo doesn’t actually offer storage, but rather native software that works with blogging tools, supports most of its own formats, and supports plug-ins. I found out that he has an Amazon S3 plugin that supports the Amazon S3 format. Search for S3 and you’ll get it.

Amazon S3 is both a product and a standard. Mainstream storage products we use, such as Ali Cloud OSS, Huawei OSS and MiniO, all support S3 standards. This means that when I have the tool to replace my storage, my future file migration is zero cost.

Why use S3

Read AWS S3

AWS S3 stands for Simple Storage Service. Why do you name it that way? It:

  1. A unified interface, REST/SOAP, is provided to uniformly access any data
  2. For S3, the data stored in it is the object name (key) and the data (value).
  3. Unlimited, single file up to 5TB
  4. High speed. Each bucket can receive 3500 PUT/COPY/POST/DELETE or 5500 GET/HEAD requests per second
  5. Have version and permission control ability
  6. Ability to manage data life cycle

To put it simply, S3 is more of a standard, with which we can seamlessly switch to other S3 services, and currently most storage services support S3!

How do I set up S3 storage services

From: minio

Build high-performance cloud native data machine learning, big data analysis, mass storage infrastructure MinIO supports a variety of application data workloads in China: Alibaba, Tencent, Baidu, China Unicom, Huawei, China Mobile and so on more than 9000 enterprises are also using MinIO products

You can use Minio to build high-performance storage services.

Install PicGo

PicGo is open source and can be found on GitHub. Click here to download the app.

This is an application that you can install and click open to run. It provides programs for Windows, Linux, and MacOS.

Configuration PoweredBy. Cloud

PicGo is an S3 plugin and needs an S3 support service. When we don’t want to spend extra money, we can use free storage like OneDrive. Poweredby. Cloud provides the services we need.

Registered PoweredBy. Cloud

From: Turn your GoogleDrive and OneDrive into a map bed for free

1. Open poweredby. Cloud and register. Registering is very simple, just provide an email address to receive mail, and the login address will be sent to you. 2. Find the login address in your email and click the login address to log in to Poweredby. Cloud. 3. Add a site, such as demo.stdcdn.com, to the console of Poweredby. Cloud, and select GoogleDrive or OneDrive as the storage space. Poweredby. Cloud will create a demo.stdcdn.com folder on your web disk.

The following is a screenshot of the registered site. The site Name will be used later

Create Developer key (S3)

Click the Developer option -> Create Access Key button -> Enter any Key name (remarks only)

Configure PicGo S3

Configure key S3 parameters. After the key is created, access_key and secret_access_key are displayed, and two key values are left

// Here are two key parameters
// Fixed value,endpoint custom node
endpoint_url='https://stdcdn.com'
// bucket,bucketName this is your SiteName.
bucket="mixley"
Copy the code

Test the image uploading effect

We used PicGo to test the upload effect, which will eventually show up in our OneDrive.

PicGo is used in Typora

In Typora, upload pictures can be configured in the image, and upload can verify the image upload option operation.

This article is published by OpenWrite!