Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Roozenlz/plugin-bilibili-bangumi
Halo 2.0 追番插件
https://github.com/Roozenlz/plugin-bilibili-bangumi
bangumi bilibili halo plugin roozen
Last synced: about 1 month ago
JSON representation
Halo 2.0 追番插件
- Host: GitHub
- URL: https://github.com/Roozenlz/plugin-bilibili-bangumi
- Owner: Roozenlz
- License: mit
- Created: 2023-07-22T10:36:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-31T08:49:47.000Z (over 1 year ago)
- Last Synced: 2024-08-02T06:17:33.848Z (4 months ago)
- Topics: bangumi, bilibili, halo, plugin, roozen
- Language: Java
- Homepage: https://roozen.top
- Size: 915 KB
- Stars: 25
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-halo - plugin-bilibili-bangumi - Halo 2.0 的追番插件,可以为主题提供追番数据及 `/bangumis` 页面路由 (Halo 2.0 / 插件)
README
Halo 2.0 追番插件
Halo 2.0 的追番插件,支持在 Console 进行管理以及为主题端提供 `/bangumis` 页面路由。
> 本插件目前仅有[halo-theme-hao](https://github.com/liuzhihang/halo-theme-hao)主题支持
## 使用方式
1. 下载,目前提供以下下载方式:
- GitHub Releases:访问 [Releases](https://github.com/Roozenlz/plugin-bilibili-bangumi/releases) 下载 Assets 中的 JAR 文件。
- Halo 应用市场:暂无
2. 安装,插件安装和更新方式可参考:
3. 安装完成之后,访问 Console 左侧的**插件**菜单项打开**追番插件基本设置界面**,填写你的**bilibiliID**。
![](assets/biliID.png)
4. 前台访问地址为 `/bangumis`,需要注意的是,此插件需要**主题提供模板**(**bangumis.html**)才能访问 `/bangumis`。> 注意,请打开以下开关!!!
![](assets/public.png)本插件后续将支持**豆瓣源**,以及**自定义**追番信息(用于补充平台中没有的追番数据),开源不易,喜欢请给个**star**,这是对我最大的鼓励!
## 开发环境
```bash
git clone [email protected]:halo-sigs/plugin-links.git# 或者当你 fork 之后
git clone [email protected]:{your_github_id}/plugin-links.git
``````bash
cd path/to/plugin-links
``````bash
# macOS / Linux
./gradlew pnpmInstall# Windows
./gradlew.bat pnpmInstall
``````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-links"
```./gradlew.bat clean build -x test
./gradlew.bat build && curl -u admin:admin -X PUT http://localhost:8090/apis/api.console.halo.run/v1alpha1/plugins/plugin-bilibili-bangumi/reload