back to home

HCLonely / hexo-bilibili-bangumi

hexo 番剧页面插件,可选数据源:Bilibili, Bangumi

View on GitHub
546 stars
32 forks
7 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing HCLonely/hexo-bilibili-bangumi in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/HCLonely/hexo-bilibili-bangumi)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

hexo-bilibili-bangumi 💡 介绍 为 Hexo 博客添加追番/追剧页面。 • ✨ 支持多个数据源(哔哩哔哩、Bangumi、AniList、Simkl) • 🎨 支持自定义样式 • 🚀 支持图片懒加载 • 📊 支持进度展示 • 🔄 支持数据自动更新 • 📱 响应式设计 • 🖼️ 支持图片镜像缓存 • 📄 支持手动添加数据 效果预览 📦 安装 ⚙️ 配置 基础配置 将以下配置写入站点的配置文件 中(不是主题的配置文件): 详细配置 详细参数说明 基础参数 | 参数名 | 类型 | 默认值 | 说明 | |-------|------|--------|------| | enable | boolean | false | 是否启用该功能 | | source | string | 'bili' | 数据源选择。 : 哔哩哔哩源, : Bgm Api源(api.bgm.tv), : Bangumi源(bangumi.tv), : Bangumi源(bgm.tv), : AniList源, : Simkl源 | | path | string | 'bangumis/index.html' | 生成页面的路径 | | vmid | string/number | - | 用户Id。如何获取 | | title | string | '追番列表' | 页面标题 | | quote | string | '生命不息,追番不止!' | 页面顶部的引言,支持HTML | 显示控制 | 参数名 | 类型 | 默认值 | 说明 | |-------|------|--------|------| | show | number | 1 | 初始显示的内容类型:0=想看,1=在看,2=看过 | | lazyload | boolean | true | 是否启用图片懒加载,可避免首次加载时间过长 | | srcValue | string | '\_\_image\_\_' | 设置封面图的默认src值, 为封面链接, 为loading图片链接 | | metaColor | string | - | meta信息的字体颜色,支持CSS颜色值(如'#FFFFFF') | | color | string | - | 简介文字的字体颜色 | | swup | boolean | false | 是否启用swup兼容,需要主题支持 | 图片处理 | 参数名 | 类型 | 默认值 | 说明 | |-------|------|--------|------| | webp | boolean | true | 是否使用webp格式图片(仅支持哔哩哔哩源,可大幅减小图片体积) | | coverMirror | string | - | 封面图片镜像服务地址,用于解决防盗链、跨域等问题(图片镜像服务) | 进度显示 | 参数名 | 类型 | 默认值 | 说明 | |-------|------|--------|------| | progress | boolean | true | 是否显示数据获取进度条 | | progressBar | boolean | true | 是否在追番页面显示观看进度条(仅支持bili和bgmv0源) | 数据处理 | 参数名 | 类型 | 默认值 | 说明 | |-------|------|--------|------| | pagination | boolean | false | 是否启用分页优化,建议番剧数量较多时启用 | | order | string | - | 排序方式:score=评分升序,-score=评分降序 ,其他=默认顺序| | extraOrder | number | - | 手动添加数据的显示顺序:1=优先显示,其他=默认顺序 | | showMyComment | boolean | false | 是否显示个人评论(仅支持bgm、anilist源) | 代理设置 | 参数名 | 类型 | 默认值 | 说明 | |-------|------|--------|------| | proxy.host | string | - | 代理服务器地址 | | proxy.port | number | - | 代理服务器端口 | 扩展选项 | 参数名 | 类型 | 默认值 | 说明 | |-------|------|--------|------| | extra_options | object | - | 扩展配置,会被注入到Hexo的page变量中 | | bgmInfoApi | string | 'bgmApi' | Bangumi信息源: : Bangumi Api, : Bangumi-Subject | 图片镜像服务 当遇到图片加载失败(403错误)或加载缓慢时,可以配置 使用镜像服务: 推荐的镜像服务地址: 🚀 使用方法 更新数据 在生成或部署博客之前,需要更新追番/追剧数据: 删除数据 📝 手动添加数据 在 目录下创建 (追番)或 (追剧): 可用数组名: • : 想看 • : 在看 • : 看过 🔍 获取用户 ID 哔哩哔哩 UID • 登录 哔哩哔哩 • 访问 个人空间 • 网址最后的数字即为 UID • **注意:** 需要将追番列表设为公开 Bangumi 用户名 • 登录 Bangumi • 打开控制台 (Ctrl + Shift + J) • 输入: Bangumi 用户 ID • 登录 Bangumi • 打开控制台 (Ctrl + Shift + J) • 输入: AniList ID • 登录 AniList • 打开控制台 (Ctrl + Shift + J) • 输入: Simkl Token • 登录 Simkl • 创建一个App: https://simkl.com/settings/developer/new/ • 和 随便填, 填写 • 创建App后记住 和 • 打开 ,注意把 改成你的 • 授权后会跳转到 ,记住 • 打开 ,找到右侧的 并点击。修改如下 • 修改后点击右下角的 按钮,然后拉到最下面,右下角找到 ,记住 • 填入 , 替换为App的 , 替换为上一步得到的 🎨 主题适配 • Fork 本项目并克隆到本地 • 安装依赖: • 在 添加主题样式文件 • 运行 • 提交 PR 📄 开源协议 Apache License 2.0