# plugin-unsplash **Repository Path**: halo-sigs/plugin-unsplash ## Basic Information - **Project Name**: plugin-unsplash - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-12-13 - **Last Updated**: 2023-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # plugin-unsplash Halo 2.0 接入 [Unsplash](https://unsplash.com/) 的插件。 ## 开发环境 ```bash git clone https://github.com/halo-sigs/plugin-unsplash ``` ```bash cd path/to/plugin-unsplash ``` ```bash ./gradlew build ``` 修改 Halo 配置文件: ```yaml halo: plugin: runtime-mode: development classes-directories: - "build/classes" - "build/resources" lib-directories: - "libs" fixedPluginPath: - "/path/to/plugin-unsplash" ``` ## 安装与使用 1. 进入 [Releases](https://github.com/halo-sigs/plugin-unsplash/releases) 下载最新版本的 JAR 文件。 2. 在 Halo 后台的插件管理上传 JAR 文件进行安装。 3. 启动该插件之后,需要在设置中配置 Unsplash 的 Access Key,详情可查阅: 4. 完成 Access Key 配置后,在后台任意位置选择附件的弹框中选择 Unsplash 选项卡,即可使用 Unsplash 的图片。 ## 声明 此插件所提供的内容均来自 [Unsplash](https://unsplash.com/)。 ## 截图 | ![](./screenshots/unsplash00004.png) | ![](./screenshots/unsplash00005.png) | ![](./screenshots/unsplash00002.png) | | ------------------------------------ | ------------------------------------ | ------------------------------------ | | ![](./screenshots/unsplash00003.png) | ![](./screenshots/unsplash00001.png) | ![](./screenshots/unsplash00006.png) |