基于 Astro 的静态博客模板,上游为 Twilight 主题
Blog (Chen017) — Astro 博客模板
作者 Chen017
基于 Astro 与上游主题 Twilight 改造的个人博客模板,加入音乐卡片、媒体懒加载等自定义功能,采用 MIT 许可。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
新增音乐卡片,支持高斯模糊、取色、歌词滚动动画与自定义播放条
为 markdown 与 MDX 中的图片、视频、iframe 集成自动懒加载
相对上游移除了翻译与主题切换,并将 Friend 改名为 Link
采用 MIT 许可,可免费使用、修改、商用与分发该版本代码
模板详细介绍
这是一个用 Astro 构建的静态博客模板,基于上游主题 Twilight 修改而来,作者在原有基础上做了若干调整并加入个人化功能,仓库以 MIT 许可发布,附带在线演示与上游文档链接。
相对上游的改动包括:新增音乐卡片,具备高斯模糊、取色、歌词滚动动画、歌曲封面与可自定义播放条;移除翻译与主题切换;将 Friend 改名为 Link;优化 Skill Cards;为 markdown 与 MDX 中的图片、视频和 iframe 集成自动懒加载。
配置方式沿用上游文档:在 twilight.config.yaml 中设置博客选项,在 .env 中配置 CMS 与 Umami 统计,站点内容放在 src/content 目录。项目使用 pnpm 管理依赖,提供 dev、build、preview、check 以及 new-post 等命令,其中 lint 与 format 命令在 README 中已被划掉,说明不再使用。
需要注意:模板的界面风格、具体页面结构等资料未详细说明,实际效果以演示站点为准;README 未给出依赖版本号,也未说明生产环境部署方式。
适合你的项目吗?
适用场景
- 搭建个人技术或生活博客站点
- 在 Astro 项目中参考音乐卡片与媒体懒加载的实现方式
- 以 Twilight 主题为基础做二次定制开发
适合人群
- 希望使用 Astro 构建静态博客的个人开发者
- 需要音乐卡片或媒体懒加载等博客增强功能的用户
- 计划在现有主题上做个性化修改的开发者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
克隆仓库后使用 pnpm install 安装依赖,开发时运行 pnpm dev
- 2
在 twilight.config.yaml 中配置博客设置,在 .env 中配置 CMS 与 Umami 统计
- 3
站点内容放在 src/content 目录,可用 pnpm new-post <filename> 新建文章
- 4
README 中 lint 与 format 命令已被划掉,不再作为可用命令
- 5
演示图片、字体、图标等第三方素材需按各自许可单独核对
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 启用 CMS 功能需在 .env 中配置,可能依赖外部 CMS 服务或凭据,属于项目特定的外部服务要求。
- 启用 Umami 统计需在 .env 中配置,需自行部署或接入外部 Umami 服务,属于项目特定的外部服务要求。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
[Support CMS functionality](https://docs.twilight.spr-aachen.com/en/config/cms) inside `.env`
README 原文
https://github.com/Chen017/Blog/blob/main/LICENSEhttps://github.com/Chen017/Blog/blob/main/README.md[Support Umami analytics](https://docs.twilight.spr-aachen.com/en/config/analytics) inside `.env`
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-12。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 80 / 100
- 技术栈
- Astro
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-09-22
- 截图检查日期
- 2026-10-12
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: [email protected] · 2026-10-13
查看当时使用的来源资料
SHA-256: fa25905fa919c73836061f9808dd1676a019bb285f53988d4076739f15918b5a
2026-10-12T22:41:36.375Z
来源文件 / 仓库# Blog A CMS integrated static blog template built with Astro framework and based on [Upstream](https://github.com/Spr-Aachen/Twilight) [**🖥️ Live Demo**](https://www.etalib.space) [**📝 Documentation**](https://docs.twilight.spr-aachen.com/en) ## ✨ Features Based on upstream, I have added some modifications and new features: 1. **Music card** Feature **Gaussian blur**, **color picking**, **lyric scrolling vivid animation**, **song covers**, **customizable playback bars**. See the specific effects on [demo](https://www.etalib.space/about/)  2. Remove translation and theme 3. Change `Friend` to `Link` 4. Optimize the Skill Cards 5. Media lazy loading Integrated automated lazy loading for images, videos, and iframes across markdown and MDX. ## 💻 Configuration 1. **Clone the repository:** ```bash git clone cd Blog ``` 2. **Install dependencies:** ```bash # Install pnpm if not already installed npm install -g pnpm pnpm install ``` 3. **Configure your blog:** - [Customize blog settings](https://docs.twilight.spr-aachen.com/en/config/core) inside `twilight.config.yaml` - [Support CMS functionality](https://docs.twilight.spr-aachen.com/en/config/cms) inside `.env` - [Support Umami analytics](https://docs.twilight.spr-aachen.com/en/config/analytics) inside `.env` - [Manage site content](https://docs.twilight.spr-aachen.com/en/config/content) inside `src/content` 4. **Start the development server:** ```bash pnpm dev ``` ## ⚡ Commands | Command | Action | |:----------------------------|:------------------------------| | ~~`pnpm lint`~~ | ~~Check and fix code issues~~ | | ~~`pnpm format`~~ | ~~Format code with Biome~~ | | `pnpm check` | Run Astro error checking | | `pnpm dev` | Start local dev server | | `pnpm build` | Build site to `./dist/` | | `pnpm preview` | Preview build locally | | `pnpm astro ...` | Run Astro CLI commands | | `pnpm new-post <filename>` | Create a new blog post | ## 🙏 Acknowledgements [Upstream](https://github.com/Spr-Aachen/Twilight)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

astrowind
⭕️ AstroWind: A free template using Astro v7 and Tailwind CSS v4. Astro starter theme.
Astro · 博客

astro-paper
A minimal, accessible and SEO-friendly Astro blog theme.
Astro · 博客

fuwari
✨A static blog template built with Astro.
Astro · 博客

Firefly
Firefly 是一款基于 Astro 的静态博客主题,由 CuteLeaf 在 saicaca 的 Fuwari 模板基础上二次开发,主打清新美观的视觉风格。
Astro · 博客

astro-theme-cactus
A simple Astro theme. Use it to create your blog or website.
Astro · 作品集

astrofy
Astrofy is a free and open-source template for your Personal Portfolio Website built with Astro and TailwindCS…
Astro · 作品集
