github image hosting

This is a plugin that uses github as a image hosting.

Precondition

Github as a image hosting, you need to have two operations, create a git repository and get the github developer token.

If you don't know github, please ask for Google help.

git repository

Create a Git repository https://github.com/new

github

For example, I create a gitnote-images, which is used later in the name.

github

Get github developer token

Generate github developer token https://github.com/settings/tokens/new

Click Generate new token to generate token

github

Only need repo permission, no other options.

github

This token will only appear once, please click Copy to save it.

This token will only appear once, if you forget, you can regenerate it.
This token is very important, don't divulge it, don't divulge it, don't divulge it.

github

setting

After the premise work is ready, just click on the github plugin Setup in the My Plugin and fill in the relevant information in the popup box.

github

repo: Github repository full name bucket: Stored root folder name token: developer token

Successful upload

Once the upload is successful via the github plugin, a commit will be generated on github.

github

Show in notes

The insertion method is automatically selected according to different types of notes.

github