下载picGO
https://github.com/Molunerfinn/PicGo/releases
则需下载对应的版本:
PicGo-2.4.0-beta.6-arm64.dmg
PicGo-2.4.0-beta.6-x64.dmg
PicGo-2.4.0-beta.6.AppImage
PicGo-Setup-2.4.0-beta.6-ia32.exe
PicGo-Setup-2.4.0-beta.6-x64.exe
PicGo-Setup-2.4.0-beta.6.exe
picgo_2.4.0-beta.6_amd64.snap
macos下需要安装nodejs
使用brew安装
sloot@slootdeMBP ~ % brew install nodejs
Running `brew update --auto-update`...
Warning: No remote 'origin' in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services, skipping update!
Installing from the API is now the default behaviour!
You can save space and time by running:
brew untap homebrew/core
brew untap homebrew/cask
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
limesuite nowplaying-cli scnlib
==> New Casks
bitbox bugdom2 insomnium lyricsfinder nightshade
You have 3 outdated formulae installed.
==> Fetching dependencies for node: c-ares, libnghttp2 and libuv
==> Fetching c-ares
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/c-ares-1.25.0.sonoma.bottle.tar.gz
#################################################################################################################################################################################### 100.0%
==> Fetching libnghttp2
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/libnghttp2-1.59.0.sonoma.bottle.tar.gz
#################################################################################################################################################################################### 100.0%
==> Fetching libuv
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/libuv-1.47.0.sonoma.bottle.tar.gz
#################################################################################################################################################################################### 100.0%
==> Fetching node
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/node-21.6.1.sonoma.bottle.tar.gz
#################################################################################################################################################################################### 100.0%
==> Installing dependencies for node: c-ares, libnghttp2 and libuv
==> Installing node dependency: c-ares
==> Pouring c-ares-1.25.0.sonoma.bottle.tar.gz
🍺 /usr/local/Cellar/c-ares/1.25.0: 156 files, 1016.4KB
==> Installing node dependency: libnghttp2
==> Pouring libnghttp2-1.59.0.sonoma.bottle.tar.gz
🍺 /usr/local/Cellar/libnghttp2/1.59.0: 13 files, 746.9KB
==> Installing node dependency: libuv
==> Pouring libuv-1.47.0.sonoma.bottle.tar.gz
🍺 /usr/local/Cellar/libuv/1.47.0: 19 files, 1MB
==> Installing node
==> Pouring node-21.6.1.sonoma.bottle.tar.gz
🍺 /usr/local/Cellar/node/21.6.1: 2,233 files, 64.5MB
==> Running `brew cleanup node`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
picGO进行安装插件
如图进行插件的安装
如图进行参数配置
tokens 获取
# 使用curl请求接口,获取tokens
curl -X POST \
-H "Content-Type: application/json" \
-d '{"email": "user_email", "password": "password"}' \
https://domain.com/api/v1/tokens
# 返回值
{"status":true,"message":"success","data":{"token":"8|9g3ZXiIoAaVR6Y5xEdKaFtdEyjFQU1x2"}}%
填写后,进行测试正常即可。
配置Typora进行图片上传,如下。
评论