使用 Astro 与 UnoCSS 构建的多语言静态博客主题,是 Retypeset 的深度定制衍生版本
astro-theme-pianpker — Astro 博客模板
作者 DRAG0NM
基于 Astro 与 UnoCSS 的多语言静态博客主题,以安静阅读、克制留白与和纸暖色排版为设计取向,是 Retypeset 的深度定制衍生版本。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持简体中文、繁体中文、英文、法文、日文与俄文六种语言内容
提供明暗主题与 Astro ClientRouter 视图过渡,并采用本地字体加载
支持 Markdown、MDX、KaTeX、Mermaid、目录与代码复制
包含图片说明、图库、缩放与外部媒体嵌入,以及 SEO、Sitemap、RSS、Atom 与 Open Graph 图片
评论适配 Giscus、Twikoo 与 Waline,默认关闭
模板详细介绍
Pianpker(落纸之间)是一个以阅读为中心的多语言静态博客主题,使用 Astro 与 UnoCSS 构建,是 Retypeset 的深度定制衍生版本。设计上以侘寂、幽玄、物哀与「间」为编辑原则:内容可以复杂,呈现保持简单;留白是刻意的停顿;朱红只用于交互与印章式强调;卡片、阴影、玻璃效果与高饱和渐变不参与视觉层级。
功能方面,主题支持简体中文、繁体中文、英文、法文、日文与俄文内容,提供明暗主题与 Astro ClientRouter 视图过渡,多语言排版与本地字体加载,Markdown、MDX、KaTeX、Mermaid、目录与代码复制,图片说明、图库、缩放与外部媒体嵌入,以及 SEO、Sitemap、RSS、Atom 与 Open Graph 图片。评论适配 Giscus、Twikoo 与 Waline,默认关闭。
内容组织上,每篇文章的所有翻译放在以英文标题命名的同一文件夹内,各语言文件共享同一个 abbrlink,以保持公开 URL 与语言切换关系稳定。可通过 pnpm new-post 命令创建首个语言文件并生成 abbrlink,再用其他支持的语言运行以添加翻译。
使用前需注意:运行环境要求 Node.js 22.12.0 或更高版本、pnpm 10.33.0;主题为静态输出,已按 Cloudflare Pages 部署准备,构建命令为 pnpm build,输出目录为 dist,也可部署到 Astro 部署指南支持的其他平台。修改路由、过渡、字体加载或 Markdown 插件前,建议先阅读仓库内的 Theme Guide。仓库采用 MIT 许可,但演示图片、字体、图标等第三方素材需按各自许可单独核对。
适合你的项目吗?
适用场景
- 需要以安静阅读和克制排版为取向的个人博客
- 需要同时维护简体中文、繁体中文、英文、法文、日文与俄文内容的站点
- 希望在静态输出中直接使用 KaTeX 公式、Mermaid 图表与代码复制的技术写作
- 需要图片说明、图库、缩放与外部媒体嵌入的长文或图文内容
- 计划部署到 Cloudflare Pages 或其他 Astro 支持的静态托管平台
适合人群
- 偏好留白、和纸暖色与墨色层级等日式克制美学的博客作者
- 需要多语言文章共享同一 abbrlink 以保持 URL 与语言切换稳定的站点维护者
- 使用 Node.js 22.12.0 或更高版本与 pnpm 10.33.0 的开发者
- 接受评论默认关闭、可按需接入 Giscus、Twikoo 或 Waline 的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
运行环境要求 Node.js 22.12.0 或更高版本,以及 pnpm 10.33.0。
- 2
可通过 GitHub 模板生成仓库或直接克隆,然后执行 corepack enable、pnpm install --frozen-lockfile 与 pnpm dev,开发服务器默认在 http://localhost:4321/ 启动。
- 3
站点标识、语言、主题、SEO、评论与页脚链接在 src/config.ts 配置;文章、关于页面、图标与字体分别位于 src/content/posts/、src/content/about/、public/icons/ 与 public/fonts/。
- 4
每篇文章的所有翻译放在以英文标题命名的同一文件夹内并共享同一 abbrlink,可用 pnpm new-post 命令创建首个语言文件并生成 abbrlink。
- 5
发布前可运行 pnpm lint、pnpm astro check、pnpm build 与 pnpm preview 进行本地检查;Cloudflare Pages 部署使用构建命令 pnpm build、输出目录 dist。
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
https://github.com/DRAG0NM/astro-theme-pianpker/blob/main/LICENSEhttps://github.com/DRAG0NM/astro-theme-pianpker/blob/main/README.mdPermission is hereby granted, free of charge
许可证原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 83 / 100
- 技术栈
- Astro
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-07-20
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 2315af856809a784e10adcf3c1634bdc766800cbcdac20ddd5753ee29f3e3e3c
2026-10-02T20:59:03.779Z
来源文件 / 仓库# Pianpker · 落纸之间 > 字落有间,读来无距。 > > Less, between the lines. <picture> <source media="(max-width: 640px)" srcset="assets/images/v1/pianpker-zh-mobile.webp"> <img alt="Pianpker preview" src="assets/images/v1/pianpker-zh-desktop.webp"> </picture> [English](README.md) | [简体中文](assets/docs/README.zh.md) | [繁體中文](assets/docs/README.zh-tw.md) | [日本語](assets/docs/README.ja.md) | [Français](assets/docs/README.fr.md) | [Русский](assets/docs/README.ru.md) Pianpker is an independently maintained, multilingual static blog theme built with [Astro](https://astro.build/) and [UnoCSS](https://unocss.dev/). It is a deeply customized derivative of [Retypeset](https://github.com/radishzzz/astro-theme-retypeset), shaped around quiet reading, deliberate whitespace, warm paper tones, layered ink colors, and restrained vermilion accents. Pianpker(落纸之间)是一个以阅读为中心的多语言静态博客主题。它用克制的留白、和纸暖色、墨色层级与少量朱红,建立安静、清晰且可长期阅读的数字排版体验。 ## Features - Astro 6 and UnoCSS - Simplified Chinese, Traditional Chinese, English, French, Japanese, and Russian content - Light and dark themes with Astro ClientRouter and view transitions - Refined multilingual typography and local font loading - Markdown, MDX, KaTeX, Mermaid, table of contents, and code copy - Image captions, galleries, zoom, and external media embeds - SEO, Sitemap, RSS, Atom, and Open Graph images - Responsive layout and theme-aware printing - Giscus, Twikoo, and Waline adapters, with comments disabled by default ## Design Pianpker treats wabi-sabi, yūgen, mono no aware, and *ma* as editorial principles rather than decorative motifs: - content may be complex; its presentation should remain simple; - whitespace is an intentional pause, not an empty area to fill; - vermilion is reserved for interaction and seal-like emphasis; - cards, shadows, glass effects, and saturated gradients do not define the visual hierarchy; - every visible element, animation, and value should have a reason to exist. ## Getting Started Use [this repository as a template](https://github.com/DRAG0NM/astro-theme-pianpker/generate), or clone it directly: ```bash git clone https://github.com/DRAG0NM/astro-theme-pianpker.git cd astro-theme-pianpker corepack enable pnpm install --frozen-lockfile pnpm dev ``` Requirements: - Node.js `22.12.0` or later - pnpm `10.33.0` Open `http://localhost:4321/` after the development server starts. ## Configuration | Path | Purpose | | --- | --- | | [`src/config.ts`](src/config.ts) | Site identity, languages, theme, SEO, comments, and footer links | | [`src/content/posts/`](src/content/posts/) | Posts grouped by category and English article title | | [`src/content/about/`](src/content/about/) | Localized About pages | | [`public/icons/`](public/icons/) | Favicon and Open Graph logo | | [`public/fonts/`](public/fonts/) | Local fonts and font subsets | Start with the [Theme Guide](src/content/posts/guides/Theme%20Guide/Theme%20Guide-en.md) before changing routing, transitions, font loading, or Markdown plugins. ## Content Organization Keep every translation of an article in one folder named after its English title. The localized files must share the same `abbrlink`, which keeps their public URL and language-switching relationship stable: ```text src/content/posts/articles/Quiet Summer Night/ ├─ quiet-summer-night-zh.md ├─ quiet-summer-night-zh-tw.md ├─ quiet-summer-night-en.md ├─ quiet-summer-night-fr.md ├─ quiet-summer-night-ja.md └─ quiet-summer-night-ru.md ``` Create the first localized file with: ```bash pnpm new-post "Quiet Summer Night" zh articles ``` The command creates the English-title folder, assigns the selected language, and generates a stable `abbrlink`. Run it again with another supported language to add a translation, then replace the generated frontmatter title with the localized display title. Local article images may remain in `src/content/posts/_images/`; use a relative path matching the article folder depth. ## Verification Run the complete local check before publishing: ```bash pnpm lint pnpm astro check pnpm build pnpm preview ``` ## Deployment Pianpker is prepared for static deployment on [Cloudflare Pages](https://pages.cloudflare.com/): | Setting | Value | | --- | --- | | Build command | `pnpm build` | | Output directory | `dist` | | Node.js | `22.12.0` or later | | Package manager | pnpm `10.33.0` | The same static output can also be deployed to other platforms supported by the [Astro deployment guides](https://docs.astro.build/en/guides/deploy/). ## Acknowledgements Pianpker is an independently customized derivative of [Retypeset](https://github.com/radishzzz/astro-theme-retypeset) by [radishzz](https://github.com/radishzzz). Retypeset provided the original Astro architecture, content model, routing, typography foundation, and component system. The original copyright and permission notice are retained in [`LICENSE`](LICENSE). A concise record of the derivative work and Pianpker-specific changes is available in [`NOTICE.md`](NOTICE.md). Upstream inspiration and components include: - [Typography](https://github.com/moeyua/astro-theme-typography) - [Fuwari](https://github.com/saicaca/fuwari) - [Redefine](https://github.com/EvanNotFound/hexo-theme-redefine) - [AstroPaper](https://github.com/satnaing/astro-paper) - [heti](https://github.com/sivan/heti) - [EarlySummerSerif](https://github.com/GuiWonder/EarlySummerSerif) ## License This repository retains the original [MIT License](LICENSE): ```text Copyright (c) 2025 radishzz ``` Pianpker-specific modifications are maintained by [Drag0nM](https://github.com/DRAG0NM). The original MIT copyright and permission notice must remain with copies or substantial portions of the software.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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 · 作品集
