Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

期望支持更多图片平台 & 归档说明 #15

Closed
ruibaby opened this issue Sep 14, 2024 · 3 comments
Closed

期望支持更多图片平台 & 归档说明 #15

ruibaby opened this issue Sep 14, 2024 · 3 comments
Assignees

Comments

@ruibaby
Copy link
Member

ruibaby commented Sep 14, 2024

除了 Unsplash,还有如 https://www.pexels.comhttps://pixabay.com 等版权友好的平台,且都提供了 API,所以期望能够提供支持。

考虑到当前插件已经命名为 plugin-unsplash,所以有两种方案:

  1. 改名当前仓库和插件,但插件 id 不能修改。
  2. 重新基于此仓库的代码创建新的插件,此仓库标记为过时。
@ruibaby ruibaby self-assigned this Sep 15, 2024
@ruibaby
Copy link
Member Author

ruibaby commented Sep 18, 2024

@ruibaby
Copy link
Member Author

ruibaby commented Nov 5, 2024

UPDATE:

目前 https://github.com/halo-sigs/plugin-image-stream 插件已经实现了对 UnsplashPixabayPexels 的集成,基本功能也已经完善(包括选择和下载到本地),且已经内置了各个平台的 API Key,目前的问题是 Unsplash 平台申请生产环境 Key 时要求在插入图片时添加 figure caption(包含作者信息),但目前 Halo 编辑器的图片还不支持 figure,所以之前就没有发布此插件。

后续我将抽时间再测试一下这个插件,然后直接发布,Unsplash 暂时使用 Demo 状态的 API Key,如果使用次数超出限制,用户需要自己申请 API Key。

@ruibaby
Copy link
Member Author

ruibaby commented Nov 6, 2024

Image Stream 已发布,此插件将在未来标记为归档。

https://github.com/halo-sigs/plugin-image-stream

@ruibaby ruibaby pinned this issue Nov 6, 2024
@ruibaby ruibaby changed the title 期望支持更多图片平台 期望支持更多图片平台 & 归档说明 Nov 6, 2024
@ruibaby ruibaby closed this as completed Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant