Skip to content
 
 

Repository files navigation

plugin-image-stream

接入主流的图片资源平台,支持从图片平台选择、转存图片,目前支持:

Screenshot

此插件基于 plugin-unsplash,主要用于支持更多平台,详情见 halo-sigs/plugin-unsplash#15

特性

  • 支持从 Unsplash、Pixabay、Pexels 选择或者转存图片到本地。
  • 已内置各个平台的 API Key,开箱即用,也可以配置自己申请的 API Key。

使用

  1. 应用市场Releases 中下载并安装此插件。
  2. 启动之后,在附件选择弹窗中会添加 Image Stream 选项卡。

配置 API Key

插件已内置各平台的 API Key,开箱即用。如果内置 Key 失效或需要使用自己的 Key,可按以下步骤配置:

  1. 进入 Halo 后台 -> 插件 -> Image Stream -> 设置
  2. 在对应平台的 Access Key / API Key 栏点击 Secret 输入框,创建一个新的 Secret
  3. 填写 Key 和 Value:
平台 Key Value 申请地址
Unsplash unsplashApiKey 你的 Access Key https://unsplash.com/developers
Pexels pexelsApiKey 你的 API Key https://www.pexels.com/api
Pixabay pixabayApiKey 你的 API Key https://pixabay.com/zh/service/about/api
  1. 保存设置即可生效

声明

此插件所提供的内容来自:

开发环境

git clone https://github.com/halo-sigs/plugin-image-stream
cd path/to/plugin-image-stream
./gradlew haloServer

About

接入主流的图片资源平台,支持从图片平台选择、转存图片

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages