Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chengzhongxue/plugin-douban
豆瓣插件
https://github.com/chengzhongxue/plugin-douban
Last synced: about 1 month ago
JSON representation
豆瓣插件
- Host: GitHub
- URL: https://github.com/chengzhongxue/plugin-douban
- Owner: chengzhongxue
- License: gpl-3.0
- Created: 2024-01-31T08:34:52.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-27T15:12:30.000Z (about 2 months ago)
- Last Synced: 2024-10-27T17:30:55.087Z (about 2 months ago)
- Language: TypeScript
- Size: 247 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-halo - plugin-douban - Halo 2.0 的豆瓣插件,可以为主题提供豆瓣数据及 `/douban` 页面路由。 (Halo 2.0 / 插件)
README
# plugin-douban
* 豆瓣管理插件, 支持在 Console 进行管理以及为主题端提供 `/douban` 页面路由。
* 提供从豆瓣爬取到的数据
* 内置模板,无需主题支持,但也可以通过主题自定义模板。## 致谢
该插件是从[WP-Douban](https://fatesinger.com/101005)插件进行重构的。对贡献者表示感谢。## 使用方式
* 在应用市场下载并启用。
* 启用插件之后会在 Console 的左侧添加一个`豆瓣`的菜单项,点击即可进入`豆瓣`管理页面。## 📃文档
https://docs.kunkunyu.com/docs/plugin-douban## 开发环境
```bash
git clone [email protected]:chengzhongxue/plugin-douban.git# 或者当你 fork 之后
git clone [email protected]:{your_github_id}/plugin-douban.git
``````bash
cd path/to/plugin-douban
``````bash
# macOS / Linux
./gradlew pnpmInstall# Windows
./gradlew.bat pnpmInstall
``````bash
# macOS / Linux
./gradlew haloServer# Windows
./gradlew.bat haloServer
``````bash
# macOS / Linux
./gradlew build# Windows
./gradlew.bat build
```修改 Halo 配置文件:
```yaml
halo:
plugin:
runtime-mode: development
classes-directories:
- "build/classes"
- "build/resources"
lib-directories:
- "libs"
fixedPluginPath:
- "/path/to/plugin-douban"
```