Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
b2e329d
fix: 修复部分样式出错,优化twikko在透明模式下的样式
CuteLeaf Feb 14, 2026
9b5db2f
fix: 修改壁纸配置注释说明
CuteLeaf Feb 14, 2026
46cc510
feat: 重构横幅模式和横幅文本显示逻辑,支持文章页面的元信息展示
CuteLeaf Feb 14, 2026
0d049b1
Merge branch 'master' into dev
CuteLeaf Feb 14, 2026
fd256b4
feat: 优化横幅文章页元信息
CuteLeaf Feb 14, 2026
287bb16
feat: 优化移动端横幅样式和动画时长
CuteLeaf Feb 14, 2026
dc7ed87
feat: 优化页面切换逻辑
CuteLeaf Feb 15, 2026
0715fc3
feat: 更新字体配置注释说明
CuteLeaf Feb 15, 2026
a3cb0fb
feat: 优化背景图片渲染逻辑,使用模板避免预加载
CuteLeaf Feb 15, 2026
df2613d
feat: 更新横幅标题翻译为更具体的描述
CuteLeaf Feb 15, 2026
7285676
Merge branch 'dev'
CuteLeaf Feb 15, 2026
f7f1be0
Update README
CuteLeaf Feb 15, 2026
c42e228
feat: 更新版本号至6.6.4
CuteLeaf Feb 15, 2026
ac3a77e
feat: 修改TOCManager类中的方法返回类型,优化标题处理逻辑
CuteLeaf Feb 15, 2026
bb2bd3d
feat: 添加文章页面判断逻辑,优化组件初始隐藏状态设置
CuteLeaf Feb 15, 2026
ad17d72
fix: 优化目录处理逻辑和侧边栏组件初始化逻辑 (#209)
CuteLeaf Feb 15, 2026
3d72d4d
feat: 更新版本号至6.6.5
CuteLeaf Feb 15, 2026
778e8f2
Update README.zh-TW
CuteLeaf Feb 15, 2026
5564031
Merge branch 'dev'
CuteLeaf Feb 15, 2026
19480d7
feat: 调整横幅背景暗层的透明度
CuteLeaf Feb 15, 2026
7fdda12
feat: 添加横幅设置重置功能及默认值检查
CuteLeaf Feb 15, 2026
c35f959
biome format code
CuteLeaf Feb 15, 2026
912afad
feat: 更新回退封面图片路径说明,支持相对路径和公共目录路径
CuteLeaf Feb 16, 2026
b0be2ba
feat: 更新回退封面图片路径说明,支持相对路径和公共目录路径 (#212)
CuteLeaf Feb 16, 2026
3ebea87
build(deps): bump @swup/astro from 1.7.0 to 1.8.0
dependabot[bot] Feb 16, 2026
a3210a7
feat: 添加导航进度条功能
CuteLeaf Feb 16, 2026
82dc0c6
Merge branch 'dev'
CuteLeaf Feb 16, 2026
3bc19c8
build(deps-dev): bump @biomejs/biome from 2.3.15 to 2.4.2
dependabot[bot] Feb 17, 2026
c7d5908
fix: 修复壁纸在切换页面时重新请求问题
CuteLeaf Feb 17, 2026
d455a07
fix: 修复日历组件的文章数据和pagefind切换页面时重新请求问题
CuteLeaf Feb 17, 2026
12a69fd
feat: 更新版本号至6.6.6
CuteLeaf Feb 17, 2026
17a45b3
fix: 修复文章详情页的横幅标题失效,更新版本号至6.6.7
CuteLeaf Feb 17, 2026
b86c228
Merge remote-tracking branch 'origin/dependabot-npm_and_yarn-swup-ast…
CuteLeaf Feb 17, 2026
c70c2e6
feat: 侧边栏布局增强,支持右侧单侧栏和平板端侧栏保留选择
CuteLeaf Feb 18, 2026
7f457e4
style: 优化封面图像的缩放效果
CuteLeaf Feb 18, 2026
d2e5c2a
feat: 添加分类导航栏组件并在主布局中集成
CuteLeaf Feb 19, 2026
4f6676c
feat: 为分类导航栏添加加载动画效果
CuteLeaf Feb 19, 2026
da17669
feat: 添加分类快捷导航开关,支持左右滚动
CuteLeaf Feb 19, 2026
efed84d
feat: 更新版本号至6.6.9
CuteLeaf Feb 19, 2026
bc633e6
fix: 修复日历组件选中高亮失效
CuteLeaf Feb 19, 2026
1009b30
fix: 修复分类快捷导航栏在swup页面切换后不显示的问题
CuteLeaf Feb 19, 2026
e7e23b2
fix: 隐藏全屏透明模式下的额外横幅元素
CuteLeaf Feb 19, 2026
6144e7c
feat: 侧边栏分类组件点击跳转后更新横幅标题, 更新版本号至6.6.11
CuteLeaf Feb 19, 2026
5381382
style: 更新分类栏样式,优化按钮交互体验,添加无障碍标签
CuteLeaf Feb 20, 2026
4944567
fix: 修正.gitignore
CuteLeaf Feb 20, 2026
3b1dd2c
feat: 优化分类列表排序逻辑为从多到少,#223
CuteLeaf Feb 22, 2026
bd634a8
feat: add music manager component and integrate with global state
CuteLeaf Feb 22, 2026
3166370
feat: 更新日历组件,添加滚动条样式并优化文章列表排序逻辑
CuteLeaf Feb 22, 2026
97c9fea
feat: 添加页面宽度配置
CuteLeaf Feb 22, 2026
3e15768
update: 更新版本号至6.6.12
CuteLeaf Feb 22, 2026
1ba2876
fix: 修复纯色模式出现的页面重新渲染
CuteLeaf Feb 22, 2026
0dbbf90
update: 将版本号更新至6.6.13
CuteLeaf Feb 22, 2026
bbe4ab8
fix: 修复随机封面图API多个地址不按顺序轮询回退的问题
CuteLeaf Feb 22, 2026
01d5d31
feat: 文章外部链接在新标签页打开, #205
CuteLeaf Feb 22, 2026
e160d39
style: 优化代码块折叠按钮在透明模式下的可见性
CuteLeaf Feb 22, 2026
c9aeb48
feat(gallery): implement photo gallery feature with album and photo c…
CuteLeaf Feb 24, 2026
785cdc5
update: 将版本号更新至6.7.0
CuteLeaf Feb 24, 2026
db2b1d7
Merge pull request #229 from CuteLeaf/dev
CuteLeaf Feb 24, 2026
a81b3ea
chore: 修改相册配置注释
CuteLeaf Feb 24, 2026
d7fa352
feat(gallery): add route guard for gallery page based on site configu…
CuteLeaf Feb 24, 2026
11739f8
feat(bangumi): 更新番组计划样式
CuteLeaf Feb 24, 2026
c463ea8
feat(friends): 更新友链页面样式
CuteLeaf Feb 24, 2026
340a76b
update: 更新版本号至 6.7.1
CuteLeaf Feb 24, 2026
00469cc
style(friends): 更新友链页面样式和复制功能
CuteLeaf Feb 24, 2026
1f78464
style(sponsor): 更新赞助列表样式
CuteLeaf Feb 24, 2026
8d608d7
feat: 添加全屏透明模式的卡片背景透明度配置
CuteLeaf Feb 24, 2026
dcc96af
update: 将版本号更新至 6.7.2
CuteLeaf Feb 24, 2026
0cf8a31
build(deps): bump the patch-updates group across 1 directory with 11 …
dependabot[bot] Feb 24, 2026
c61914a
refactor: 移除文章网格布局列数限制改成自适应网格列数布局
CuteLeaf Feb 24, 2026
8d79a3e
Merge pull request #228 from CuteLeaf/dependabot-npm_and_yarn-patch-u…
CuteLeaf Feb 24, 2026
2552bcb
Merge pull request #216 from CuteLeaf/dependabot-npm_and_yarn-biomejs…
CuteLeaf Feb 24, 2026
d0bab8b
build(deps): bump svelte from 5.50.3 to 5.51.3
dependabot[bot] Feb 24, 2026
926e177
Merge pull request #218 from CuteLeaf/dependabot-npm_and_yarn-svelte-…
CuteLeaf Feb 24, 2026
52b3af4
fix: 修复页面存在多个h1标题
CuteLeaf Feb 25, 2026
c6f1298
feat(media): 为图片组件统一添加防盗链处理功能
jacksen168sub Feb 25, 2026
2e417ca
feat: 添加文章加密保护功能, #230
CuteLeaf Feb 25, 2026
7071d76
feat: 添加文章密码保护功能和密码提示
CuteLeaf Feb 25, 2026
2b253fc
refactor(common): fix for biome check
jacksen168sub Feb 25, 2026
564f8de
fix: 修复防盗链处理功能部分问题
CuteLeaf Feb 25, 2026
1341878
Merge pull request #234 from jacksen168sub/feat/image-referrer-policy
CuteLeaf Feb 25, 2026
0e38edb
update: 更新版本号至6.7.3
CuteLeaf Feb 25, 2026
3e43ac3
fix: 加密文章解密后重新绑定灯箱
CuteLeaf Feb 25, 2026
823529a
feat: 添加 Mermaid 图表的 pan-zoom 控制栏和全屏功能
CuteLeaf Feb 25, 2026
aeaf77e
chore: 删除多余的加密示例文章
CuteLeaf Feb 25, 2026
f2a922c
fix: 修复部分场景切换页面无法平滑滚动回顶部
CuteLeaf Feb 25, 2026
8484aee
fix: 修复 mermaid-render-script.js 的 biome lint 问题
CuteLeaf Feb 25, 2026
d8c57e2
update: 更新版本号至 6.7.4
CuteLeaf Feb 25, 2026
ef67dfa
style: 更新赞助页面的样式,使用 card-base 统一全屏透明模式下的外观
CuteLeaf Feb 25, 2026
e0b4f37
style: 更新 FloatingButton 组件,使用 card-base 统一全屏透明模式下的外观
CuteLeaf Feb 25, 2026
5310696
feat: 为加密文章添加标识
CuteLeaf Feb 26, 2026
934a89b
update: 将版本号更新至 6.7.5
CuteLeaf Feb 26, 2026
5885581
chore: 恢复默认侧边栏位置配置为双侧边栏
CuteLeaf Feb 26, 2026
c4850fc
feat: 添加文章推荐组件(相关文章 +随机文章)
CuteLeaf Feb 27, 2026
7faef0a
feat: 更新推荐文章图标为推荐符号
CuteLeaf Feb 27, 2026
da6e5f7
feat: 更新文章导航链接,添加首页链接作为后备
CuteLeaf Feb 27, 2026
626aacb
update: 将版本号更新至 6.7.6
CuteLeaf Feb 27, 2026
61e7e8d
fix: 修复移动端无法关闭广告
CuteLeaf Feb 27, 2026
26735cd
fix: 避免页面存在多个h1
CuteLeaf Feb 27, 2026
28635a9
feat: 添加响应式图片画廊功能,支持使用 [grid] 标签展示多张图片并排,#237
CuteLeaf Mar 1, 2026
98054b7
feat: 添加随机排序功能至友链配置
CuteLeaf Mar 1, 2026
e8cf023
update: 将版本号更新至 6.7.7
CuteLeaf Mar 1, 2026
95de8b4
biome format code
CuteLeaf Mar 1, 2026
fa0d67a
feat(config): 添加Bangumi条目类型排序功能
jacksen168sub Mar 1, 2026
26d3080
Merge pull request #239 from jacksen168sub/feat/bangumi-category-sorting
CuteLeaf Mar 1, 2026
015d7bf
feat: 添加语言徽章插件配置开关
CuteLeaf Mar 2, 2026
7e2c6e6
Merge branch 'master' of https://github.com/CuteLeaf/Firefly
CuteLeaf Mar 2, 2026
489459a
build: 优化构建配置
CuteLeaf Mar 2, 2026
c0b6ed7
fix: 修复bangumi会一次性加载全部封面
CuteLeaf Mar 2, 2026
c2bb80c
style: 优化bangumi封面标签显示数量
CuteLeaf Mar 3, 2026
cfb2e38
feat: add emoji configuration to waline comment system
xyamzwqwq Mar 4, 2026
229f133
Merge pull request #242 from xyamzwqwq/feat/waline-config-emoji
CuteLeaf Mar 5, 2026
b2c0fa1
feat: 添加卡片风格跟随主题色相配置
CuteLeaf Mar 5, 2026
5e51fba
Merge branch 'master' of https://github.com/CuteLeaf/Firefly
CuteLeaf Mar 5, 2026
e0d21d6
biome format code
CuteLeaf Mar 5, 2026
f70b1f4
feat: 添加快速跳转至评论区按钮
CuteLeaf Mar 5, 2026
174c693
update: 更新版本号至6.7.8
CuteLeaf Mar 5, 2026
d579e02
style: 优化动画过渡效果的位移参数
CuteLeaf Mar 5, 2026
9e56ee9
fix: 日历小部件无文章时隐藏列表区域,避免底部留白
CuteLeaf Mar 5, 2026
cd992f2
update: 版本号更新至6.7.9
CuteLeaf Mar 5, 2026
64c91ba
feat: 新增菜单对齐配置并优化布局交互
CuteLeaf Mar 6, 2026
04b611f
feat: 新增透明模式设置面板, 完善透明模式显示设置与交互体验
CuteLeaf Mar 6, 2026
3778d61
update: 版本号更新至6.7.10
CuteLeaf Mar 6, 2026
a96500c
fix: 优化评论按钮在无评论区时的显示逻辑
CuteLeaf Mar 7, 2026
20f613b
refactor: 移除首页文章字数元数据
CuteLeaf Mar 8, 2026
2e1bd62
feat: 表格横向拖拽滚动功能及相关样式
CuteLeaf Mar 11, 2026
202db22
feat: 优化表格,适配透明模式
CuteLeaf Mar 11, 2026
9b0ba82
feat: 更新Twikoo更新至1.7.3
CuteLeaf Mar 12, 2026
65399f2
update: 更新版本至6.7.11
CuteLeaf Mar 12, 2026
fa39249
fix: 保持twikoo管理面板为原生默认样式
CuteLeaf Mar 12, 2026
57e4a27
update: 将版本号更新至6.7.12
CuteLeaf Mar 12, 2026
23ae192
build(deps): bump the patch-updates group across 1 directory with 13 …
dependabot[bot] Mar 13, 2026
6b91041
Merge pull request #250 from CuteLeaf/dependabot-npm_and_yarn-patch-u…
CuteLeaf Mar 13, 2026
9a3ff76
feat: 优化动态侧边栏
CuteLeaf Mar 14, 2026
0590a7e
style: 去掉侧边栏 sticky 偏移相关的过渡效果
CuteLeaf Mar 14, 2026
ebccf67
style: 目录相关样式优化
CuteLeaf Mar 14, 2026
e62c299
update: 将版本号更新至6.7.13
CuteLeaf Mar 14, 2026
8b23a4c
Merge branch 'master' of https://github.com/CuteLeaf/Firefly
CuteLeaf Mar 14, 2026
71c1120
fix: 修复 semifull 模式在跨页回顶时导航栏闪烁
CuteLeaf Mar 15, 2026
2d21e64
feat(analytics): Add 51LA Analytics Component Support (#249)
jacksen168sub Mar 15, 2026
5eba488
feat: 更新51la统计配置结构
CuteLeaf Mar 15, 2026
cdbdcac
feat(analytics): 添加 Umami 统计配置和组件支持
CuteLeaf Mar 15, 2026
d6fb994
fix: 修复 La51Analytics 组件中的匿名函数定义
CuteLeaf Mar 15, 2026
51ff195
chore: 更新版本号至 6.7.14
CuteLeaf Mar 15, 2026
65fec59
feat(navbar): 添加导航栏固定在顶部始终可见功能及相关样式调整
CuteLeaf Mar 15, 2026
5e0dcb0
feat(sidebar): 优化侧边栏
CuteLeaf Mar 15, 2026
41f3cba
chore: 更新版本号至 6.7.15
CuteLeaf Mar 15, 2026
1608045
feat: 优化响应式布局
CuteLeaf Mar 16, 2026
3250961
feat(friends): 添加友链页面开关及评论功能开关
CuteLeaf Mar 16, 2026
4580772
feat(sponsor): 赞助页面增加评论系统及开关
CuteLeaf Mar 16, 2026
a0c4adf
Update README
CuteLeaf Mar 16, 2026
835803c
chore: 更新版本号至 6.7.16
CuteLeaf Mar 16, 2026
602fcaf
fix: 移除搜索结果摘要的标签
CuteLeaf Mar 16, 2026
390a03a
feat: upgrade to astro v6 (#256)
CuteLeaf Mar 17, 2026
4461e61
feat: 将 Node.js 版本更新至 22
CuteLeaf Mar 17, 2026
b1b3d38
fix: 默认关闭 Rust 编译器配置以防止部分平台构建失败
CuteLeaf Mar 17, 2026
57b3e07
chore: 更新版本号至 6.8.1
CuteLeaf Mar 17, 2026
1cf9c05
build(deps): bump the patch-updates group across 1 directory with 7 u…
dependabot[bot] Mar 19, 2026
8296ebb
feat: 更新Twikoo至1.7.4
CuteLeaf Mar 20, 2026
36848fd
Merge branch 'master' of https://github.com/CuteLeaf/Firefly
CuteLeaf Mar 20, 2026
6c40725
feat: 优化移动端布局和布局切换逻辑
CuteLeaf Mar 21, 2026
1419243
feat: 更新部分信息
CuteLeaf Mar 21, 2026
0eb5457
feat: 更新分类栏逻辑以支持首页分页显示
CuteLeaf Mar 21, 2026
e4bb82f
chore: 更新版本号至6.8.2
CuteLeaf Mar 21, 2026
098a497
feat: 调整移动端列表模式下的按钮显示逻辑
CuteLeaf Mar 21, 2026
f5045d9
feat: 更新版本号至6.8.3,并优化移动端列表和网格模式下的样式
CuteLeaf Mar 21, 2026
17ddbbe
feat: 调整描述文本的行数限制,优化列表和网格模式下的显示效果
CuteLeaf Mar 21, 2026
07a50c5
feat: 优化网格模式的摘要行数
CuteLeaf Mar 21, 2026
c99fb87
chore: 更新版本号至6.8.4
CuteLeaf Mar 21, 2026
64275be
chore: 规范文件名
CuteLeaf Mar 21, 2026
57cab45
feat(bangumi): 支持通过 hash 定位 Bangumi Tab (#268)
Hakuin123 Mar 22, 2026
34a0d82
build(deps): bump the patch-updates group with 4 updates (#260)
dependabot[bot] Mar 22, 2026
8220fd6
feat: 优化页面滚动逻辑,移动端不使用平滑滚动,避免闪烁问题
CuteLeaf Mar 23, 2026
9538a80
Merge branch 'master' of https://github.com/CuteLeaf/Firefly
CuteLeaf Mar 23, 2026
398c7a3
fix: 修复在特定场景下导致导航栏变透明
CuteLeaf Mar 24, 2026
98e90da
fix: 优化页面切换期间的滚动处理,避免闪烁问题
CuteLeaf Mar 24, 2026
82c4414
feat: 优化waves
CuteLeaf Mar 24, 2026
7796dca
refactor: 优化waves
CuteLeaf Mar 24, 2026
5200e71
chore: 更新版本号至6.8.5
CuteLeaf Mar 24, 2026
f68c1d5
feat: 调整标题的字体大小
CuteLeaf Mar 25, 2026
eb837e8
feat: 增加文章列表标签开关,优化布局
CuteLeaf Mar 25, 2026
7f1bfd2
feat: 添加横幅轮播功能及相关设置
CuteLeaf Mar 25, 2026
9b3de30
chore: 更新版本号至6.8.6
CuteLeaf Mar 25, 2026
b374b5b
fix: 修复横幅轮播一个小问题
CuteLeaf Mar 25, 2026
b790291
chore: 更新版本号至6.8.7
CuteLeaf Mar 25, 2026
062dc05
feat: 添加文章简介行数配置
CuteLeaf Mar 26, 2026
7753402
feat: 优化导航栏
CuteLeaf Mar 26, 2026
1b484dd
chore: 更新版本号至6.8.8
CuteLeaf Mar 26, 2026
7566c0c
feat: 优化分类快捷导航
CuteLeaf Mar 26, 2026
cd29f73
feat: 修改代码块折叠配置的国际化文本
CuteLeaf Mar 26, 2026
13a4278
chore: 更新版本号至6.8.9
CuteLeaf Mar 26, 2026
f5d4afc
fix: 距今修改時間 將考慮距離當下時間,而非距離編譯時間 (#275)
vincent97198 Mar 27, 2026
83dca90
fix: 修复文章详情页不显示标签
CuteLeaf Mar 27, 2026
9b4110b
feat: 优化分类导航渲染逻辑,仅在首页、首页分页和归档页进行服务端渲染 (#277)
Teadrink521 Mar 29, 2026
df0b2a4
chore: 更新版本号至6.8.10
CuteLeaf Mar 29, 2026
40b2257
fix: 修复日历当天日期在最后一行时底部边框被裁切的问题 (#278)
Guigumua Mar 30, 2026
682e160
fix: 改善画廊和番剧部分响应式
CuteLeaf Apr 2, 2026
260f26b
fix: 修复快捷分类导航在特定场景下Swup切换后不显示的问题
CuteLeaf Apr 2, 2026
135e274
fix: 优化CategoryBar在Swup导航中的显示逻辑
CuteLeaf Apr 3, 2026
b7b0a83
feat: 增强ArchivePanel
CuteLeaf Apr 3, 2026
cb8a039
chore: 更新版本号至6.8.11
CuteLeaf Apr 3, 2026
7a27950
feat: 优化CategoryBar
CuteLeaf Apr 4, 2026
ee39e72
build(deps): bump the patch-updates group across 1 directory with 8 u…
dependabot[bot] Apr 10, 2026
d3cdf5b
feat(analytics): 为 Umami Analytics 添加出站点击追踪、性能、回放功能 (#283)
Hakuin123 Apr 12, 2026
9311127
:bug: fix(bangumi): fix mobile overflow for bangumi tab navigation (#…
LovesAsuna Apr 12, 2026
715184b
:bug: fix(layout): fix table scroll (#287)
LovesAsuna Apr 12, 2026
8ad57da
Merge branch 'master' of https://github.com/CuteLeaf/Firefly
CuteLeaf Apr 12, 2026
de80fd9
fix: 使用可选链操作符优化配置检查
CuteLeaf Apr 12, 2026
c28b840
fix: 修复相册页链接未处理 base 路 #281
CuteLeaf Apr 12, 2026
a4ceaf6
fix: 切换页面导致自定义的卡片透明度失效 #288
CuteLeaf Apr 12, 2026
ea03297
fix: 修复代码块渲染 ANSI 转义序列时无法渲染背景色 #282
CuteLeaf Apr 12, 2026
31a9ad4
feat: 修改横幅导航栏透明模式默认为半透明
CuteLeaf Apr 12, 2026
2fac820
chore: 更新版本号至6.9.0
CuteLeaf Apr 12, 2026
a7a99af
fix: 修复全屏透明模式壁纸出现不正常的轮播
CuteLeaf Apr 12, 2026
5ff3831
feat: 优化透明设置滑轨
CuteLeaf Apr 12, 2026
b5142fa
fix: 修复文章详情页分类轻高亮不自动滚动
CuteLeaf Apr 12, 2026
22643c7
chore: 更新版本号至6.9.1
CuteLeaf Apr 12, 2026
2ae55c4
:bug: feat(license): url overflow (#293)
LovesAsuna Apr 15, 2026
defb155
fix: 修复特定配置情况下壁纸模式在前台切换后侧边栏透明状态异常
CuteLeaf Apr 15, 2026
49f52c5
fix: 将图标组件的类属性更新为内联样式以修复切换页面导致导航栏图标消失 #290
CuteLeaf Apr 15, 2026
101bebe
fix: 修复Spine看板娘部分问题 #292
CuteLeaf Apr 15, 2026
83c73d0
chore: 更新版本号至6.9.2
CuteLeaf Apr 15, 2026
b797052
build(deps): bump the patch-updates group across 1 directory with 5 u…
dependabot[bot] Apr 15, 2026
3e0c419
build(deps): bump node-html-parser from 7.0.2 to 7.1.0 (#252)
dependabot[bot] Apr 15, 2026
30b6747
build(deps-dev): bump @tailwindcss/vite from 4.1.18 to 4.2.2 (#261)
dependabot[bot] Apr 15, 2026
e5ed37a
build(deps-dev): bump tailwindcss from 4.1.18 to 4.2.2 (#262)
dependabot[bot] Apr 15, 2026
686702a
build(deps): bump satori from 0.19.2 to 0.26.0 (#272)
dependabot[bot] Apr 15, 2026
75fe91f
build(deps): bump the patch-updates group across 1 directory with 4 u…
dependabot[bot] Apr 15, 2026
df29222
feat(category-bar): add deferred scrolling behavior for mobile and ba…
CuteLeaf Apr 15, 2026
9c19406
chore: 更新版本号至6.9.3
CuteLeaf Apr 15, 2026
a7a7ac0
fix: 将移动端导航栏图标组件的类属性更新为内联样式
CuteLeaf Apr 15, 2026
42b21ab
fix: 优化跳过锚点链接处理的条件判断
CuteLeaf Apr 16, 2026
7257686
build(deps): bump pagefind from 1.4.0 to 1.5.2 (#297)
dependabot[bot] Apr 16, 2026
5621b62
build(deps): bump svelte from 5.53.11 to 5.55.4 (#298)
dependabot[bot] Apr 16, 2026
3b4d672
build(deps): bump @iconify-json/material-symbols (#296)
dependabot[bot] Apr 16, 2026
ef43aa1
build(deps): bump overlayscrollbars from 2.14.0 to 2.15.1 (#299)
dependabot[bot] Apr 16, 2026
eb0c05e
fix(markdown): add overflow-wrap to prevent mobile link overflow (#300)
LovesAsuna Apr 16, 2026
5a75705
fix(banner): prevent title overflow on mobile with responsive font-s…
LovesAsuna Apr 18, 2026
86ee6a8
feat(widget-layout): add useExpandedButtonSpacing prop and update but…
CuteLeaf Apr 21, 2026
c3de67b
Merge branch 'master' of https://github.com/CuteLeaf/Firefly
CuteLeaf Apr 22, 2026
5c5a931
feat: 默认关闭横幅轮播
CuteLeaf Apr 22, 2026
639e1cc
build(deps): bump the patch-updates group across 1 directory with 6 u…
dependabot[bot] Apr 22, 2026
67945fd
feat(markdown): support plantuml (#304)
LovesAsuna Apr 22, 2026
c6e85ae
feat(plantuml): 添加 PlantUML 图表示例文章
CuteLeaf Apr 22, 2026
7ea7658
style(music-player): normalize tailwind var classes
CuteLeaf Apr 22, 2026
7081c97
chore: 更新版本号至 6.9.4
CuteLeaf Apr 22, 2026
4dd6533
build(deps): bump the patch-updates group with 2 updates (#308)
dependabot[bot] Apr 23, 2026
9456835
build(deps): bump the patch-updates group with 4 updates (#310)
dependabot[bot] Apr 24, 2026
b8760b5
style(markdown): 添加滚动边距以保持哈希锚导航在固定导航栏下可见 #312
CuteLeaf Apr 24, 2026
41f38f0
fix: 增加开发环境下的事件监听器最大数量
CuteLeaf Apr 24, 2026
678f25d
fix: 修复文章内锚点被固定导航栏遮挡 #315
CuteLeaf Apr 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ko_fi: cuteleaf

# 爱发电(推荐国内用户)
custom: ['https://afdian.com/a/cuteleaf']
custom: ['https://ifdian.net/a/cuteleaf']
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ yarn.lock
# ide
.idea
*.iml
.claude

# docs
Docs-Firefly/
Firefly-docs/

cache/
package/
Expand Down
296 changes: 296 additions & 0 deletions README.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@

<img src="./docs/images/1131.png" width = "350" height = "500" alt="Firefly" align=right />

<div align="center">

# Firefly
> A Fresh and Beautiful Astro Static Blog Theme Template
>
> ![Node.js >= 22](https://img.shields.io/badge/node.js-%3E%3D22-brightgreen)
![pnpm >= 9](https://img.shields.io/badge/pnpm-%3E%3D9-blue)
![Astro](https://img.shields.io/badge/Astro-6.1.5-orange)
![TypeScript](https://img.shields.io/badge/TypeScript-5.9.2-blue)
>
> [![Stars](https://img.shields.io/github/stars/CuteLeaf/Firefly?style=social)](https://github.com/CuteLeaf/Firefly/stargazers)
[![Forks](https://img.shields.io/github/forks/CuteLeaf/Firefly?style=social)](https://github.com/CuteLeaf/Firefly/network/members)
[![Issues](https://img.shields.io/github/issues/CuteLeaf/Firefly)](https://github.com/CuteLeaf/Firefly/issues)
>
> [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Z8Z41NQALY)
>
> **QQ交流群:[1087127207](https://qm.qq.com/q/ZGsFa8qX2G)**
>
> ![GitHub License](https://img.shields.io/github/license/CuteLeaf/Firefly)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/CuteLeaf/Firefly)
[![Afdian Sponsor](https://img.shields.io/badge/Afdian-Sponsor%20Author-ff69b4.svg)](https://ifdian.net/a/cuteleaf)
</div>


---
📖 README:
**[简体中文](README.md)** | **[繁體中文](docs/README.zh-TW.md)** | **[English](README.en.md)** | **[日本語](docs/README.ja.md)** | **[Русский](docs/README.ru.md)**

🚀 Quick Guide:
[**🖥️Live Demo**](https://firefly.cuteleaf.cn/) /
[**📝Documentation**](https://docs-firefly.cuteleaf.cn/) /
[**🍀My Blog**](https://blog.cuteleaf.cn)

⚡ Static Site Generation: Ultra-fast loading speed and SEO optimization based on Astro

🎨 Modern Design: Clean and beautiful interface with customizable theme colors

📱 Mobile-Friendly: Perfect responsive experience with mobile-specific optimizations

🔧 Highly Configurable: Most features can be customized through configuration files

<img alt="firefly" src="./docs/images/1.webp" />
<img alt="Lighthouse" src="./docs/images/Lighthouse.png" />

>[!TIP]
>
>Firefly is a fresh, beautiful, and modern personal blog theme template based on the Astro framework and the Fuwari template, designed for tech enthusiasts and content creators. It integrates a modern web tech stack, offering rich feature modules and a highly customizable interface so you can easily build a professional and visually appealing personal blog.
>
>In terms of key layouts, Firefly innovatively adds dual sidebars, an article grid (multi-column) layout, and a masonry layout.
>
>It also adds widgets such as site statistics, calendar, table of contents, music player, and quick category navigation, making both the sidebar and the overall page layout richer.
>
>At the same time, it also adds components such as share posters, related post recommendations, and random posts, making article pages more content-rich.
>
>**If you reference or use the component designs and related code above from Firefly, please credit Firefly.**
>
>Firefly also preserves the original fuwari layout, which can be freely switched in the configuration file according to your preferences.
>
>**For more layout configurations and demos, please see: [Firefly Layout System Details](https://firefly.cuteleaf.cn/posts/firefly-layout-system/)**
>
>Firefly supports i18n multilingual UI, but except for Simplified Chinese, other languages are AI-translated. If you find any errors, feel free to submit a [Pull Request](https://github.com/CuteLeaf/Firefly/pulls) to help improve them.

## ✨ Features

### Core Features

- [x] **Astro + Tailwind CSS** - Ultra-fast static site generation based on modern tech stack
- [x] **Smooth Animations** - Swup page transition animations for silky smooth browsing experience
- [x] **Responsive Design** - Perfect adaptation for desktop, tablet and mobile devices
- [x] **Multi-language Support** - i18n internationalization ui, supports Simplified Chinese, Traditional Chinese, English, Japanese, Russian
- [x] **Full-text Search** - Client-side search based on Pagefind, supports article content indexing.

### Personalization
- [x] **Dynamic Sidebar** - Supports single sidebar, dual sidebar configuration
- [x] **Article Layout** - Supports list (single column) and grid (multi-column/masonry) layout
- [x] **Font Management** - Custom font support with rich font selector
- [x] **Footer Configuration** - HTML content injection, fully customizable
- [x] **Light/Dark Mode** - Supports light/dark/system three modes
- [x] **Navbar Customization** - Logo, title, links fully customizable
- [x] **Wallpaper Mode Switching** - Banner wallpaper, fullscreen wallpaper, solid background
- [x] **Theme Color Customization** - 360° hue adjustment


If you have useful features and optimizations, please submit a [Pull Request](https://github.com/CuteLeaf/Firefly/pulls)

## 🚀 Quick Start

### Requirements

- Node.js ≥ 22
- pnpm ≥ 9

### Local Development

1. **Clone the repository:**
```bash
git clone https://github.com/Cuteleaf/Firefly.git
cd Firefly
```

**First [Fork](https://github.com/CuteLeaf/Firefly/fork) to your own repository then clone (recommended). Don't forget to Star before Fork!**

```bash
git clone https://github.com/you-github-name/Firefly.git
cd Firefly
```
3. **Install dependencies:**
```bash
# Install pnpm if not installed
npm install -g pnpm

# Install project dependencies
pnpm install
```

4. **Configure blog:**
- Edit configuration files in `src/config/` directory to customize blog settings

5. **Start development server:**
```bash
pnpm dev
```
Blog will be available at `http://localhost:4321`

### Platform Hosting Deployment
- **Refer to the [official guide](https://docs.astro.build/en/guides/deploy/) to deploy your blog to Vercel, Netlify, Cloudflare Pages, EdgeOne Pages, etc.**
- **Vercel**, **Netlify** and other major platforms auto-deploy, automatically selecting the appropriate adapter based on the environment.

Framework Preset: `Astro`

Root Directory: `./`

Output Directory: `dist`

Build Command: `pnpm run build`

Install Command: `pnpm install`

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/CuteLeaf/Firefly&project-name=Firefly&repository-name=Firefly)
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/CuteLeaf/Firefly)

## 📖 Configuration

> 📚 **Detailed Configuration Documentation**: Check [Firefly Documentation](https://docs-firefly.cuteleaf.cn/) for complete configuration guide

### Setting Website Language

To set the default language for your blog, edit the `src/config/siteConfig.ts` file:

```typescript
// Define site language
const SITE_LANG = "zh_CN";
```

**Supported language codes:**
- `zh_CN` - Simplified Chinese
- `zh_TW` - Traditional Chinese
- `en` - English
- `ja` - Japanese
- `ru` - Russian

### Configuration File Structure

```
src/
├── config/
│ ├── index.ts # Configuration index file
│ ├── siteConfig.ts # Site basic configuration
│ ├── backgroundWallpaper.ts # Background wallpaper configuration
│ ├── profileConfig.ts # User profile configuration
│ ├── commentConfig.ts # Comment system configuration
│ ├── announcementConfig.ts # Announcement configuration
│ ├── licenseConfig.ts # License configuration
│ ├── footerConfig.ts # Footer configuration
│ ├── FooterConfig.html # Footer HTML content
│ ├── expressiveCodeConfig.ts # Code highlighting configuration
│ ├── sakuraConfig.ts # Sakura effect configuration
│ ├── fontConfig.ts # Font configuration
│ ├── sidebarConfig.ts # Sidebar layout configuration
│ ├── navBarConfig.ts # Navbar configuration
│ ├── musicConfig.ts # Music player configuration
│ ├── pioConfig.ts # Mascot configuration
│ ├── adConfig.ts # Ad configuration
│ ├── friendsConfig.ts # Friend links configuration
│ ├── galleryConfig.ts # Gallery configuration
│ ├── sponsorConfig.ts # Sponsor configuration
│ └── coverImageConfig.ts # Article cover image configuration
```


## ⚙️ Article Frontmatter

```yaml
---
title: My First Blog Post
published: 2023-09-09
description: This is the first post of my new Astro blog.
image: ./cover.jpg # Or use "api" to enable random cover images
tags: [Foo, Bar]
category: Front-end
draft: false
lang: zh-CN # Only set when article language differs from site language in `siteConfig.ts`
pinned: false # Pin article
comment: true # Enable comments
---
```

## 📖 Markdown Extensions

In addition to the default [GitHub Flavored Markdown](https://github.github.com/gfm/) support in Astro, there are some additional Markdown features:

- Admonitions - Supports configuration for GitHub, Obsidian, and VitePress themes ([Preview and Usage](https://firefly.cuteleaf.cn/posts/markdown-extended/))
- GitHub Repository Cards ([Preview and Usage](https://firefly.cuteleaf.cn/posts/markdown-extended/))
- Enhanced Code Blocks based on Expressive Code ([Preview](http://firefly.cuteleaf.cn/posts/code-examples/) / [Documentation](https://expressive-code.com/))

## 🧞 Commands

All commands need to be executed in the project root directory:

| Command | Action |
|:---------------------------|:----------------------------------------------------|
| `pnpm install` | Install dependencies |
| `pnpm dev` | Start local development server at `localhost:4321` |
| `pnpm build` | Build site to `./dist/` |
| `pnpm preview` | Preview built site locally |
| `pnpm check` | Check for errors in code |
| `pnpm format` | Format your code using Biome |
| `pnpm new-post <filename>` | Create new article |
| `pnpm astro ...` | Execute `astro add`, `astro check` and other commands |
| `pnpm astro --help` | Display Astro CLI help |

## 🙏 Acknowledgments

Special thanks to [saicaca](https://github.com/saicaca) for developing the [fuwari](https://github.com/saicaca/fuwari) template, which Firefly is based on for secondary development.

The copyright of Firefly-related image assets belongs to [miHoYo](https://www.mihoyo.com/), the developer of the game ["Honkai: Star Rail"](https://sr.mihoyo.com/).

### Tech Stack

- [Astro](https://astro.build)
- [Tailwind CSS](https://tailwindcss.com)
- [Iconify](https://iconify.design)

### Inspiration Projects

- [fuwari](https://github.com/saicaca/fuwari)
- [hexo-theme-shoka](https://github.com/amehime/hexo-theme-shoka)
- [astro-koharu](https://github.com/cosZone/astro-koharu)
- [Mizuki](https://github.com/matsuzaka-yuki/Mizuki)

### Other References
- Blogger `霞葉` [Bangumi Collection](https://kasuha.com/posts/fuwari-enhance-ep2/) page component
- Bilibili creator `公公的日常` Q-version [Firefly Mascot Spine Model](https://www.bilibili.com/video/BV1fuVzzdE5y)

## 📝 License

This project is licensed under the [MIT license](https://mit-license.org/). See the [LICENSE](./LICENSE) file for details.

Originally forked from [saicaca/fuwari](https://github.com/saicaca/fuwari). Thanks to the original author for their contributions.

**Copyright Notice:**
- Copyright (c) 2024 [saicaca](https://github.com/saicaca) - [fuwari](https://github.com/saicaca/fuwari)
- Copyright (c) 2025 [CuteLeaf](https://github.com/CuteLeaf) - [Firefly](https://github.com/CuteLeaf/Firefly)

Under the MIT license, you are free to use, modify, and distribute the code, but you must retain the above copyright notice.

## 🍀 Contributors

Thanks to the following contributors for their contributions to this project. If you have any questions or suggestions, please submit an [Issue](https://github.com/CuteLeaf/Firefly/issues) or [Pull Request](https://github.com/CuteLeaf/Firefly/pulls).

><a href="https://github.com/CuteLeaf/Firefly/graphs/contributors">
> <img src="https://contrib.rocks/image?repo=CuteLeaf/Firefly" />
></a>

Thanks to the following contributors for their contributions to the original project [fuwari](https://github.com/saicaca/fuwari), which laid the foundation for this project.

><a href="https://github.com/saicaca/fuwari/graphs/contributors">
> <img src="https://contrib.rocks/image?repo=saicaca/fuwari" />
></a>

## ⭐ Star History

[![Star History Chart](https://api.star-history.com/svg?repos=CuteLeaf/Firefly&type=Date)](https://star-history.com/#CuteLeaf/Firefly&Date)


<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->
Loading