以工具栏、文件浏览器、滚动视口、状态栏与浮动窗口构成终端/TUI 式界面
vitepress-theme-terminal — VitePress 博客模板
作者 iXORTech
vitepress-theme-terminal 是一个以终端/TUI 会话为视觉语言的 VitePress 博客主题,包含工具栏、文件浏览器、状态栏与浮动窗口等界面元素。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
单一 mainColor 派生全部悬停、边框、暗色与选中色调,中性色与语法色分别取自 IBM Carbon 与 Oxocarbon
深色、浅色与阅读用 paper 模式三种配色,选择会被持久化
博客功能覆盖日期、标签、分类、归档、系列、封面、作者署名、许可卡片与 Waline 评论及阅读量
客户端语言切换不产生 /<lang>/ URL 段,可本地化界面文案与按语言区分的正文块
模板详细介绍
该主题以「现代终端会话」作为整体界面隐喻:顶部工具栏带导航子菜单与溢出抽屉,左侧是 NeoVim 风格的文件浏览器,底部为实时状态栏(状态标签、面包屑、阅读进度、时钟、设置),并配有浮动工具窗口。设计语言参考模态文本编辑器,强调面板秩序与键盘操作,渲染出的界面中不含第三方品牌标识。
配色方面,只需设置 mainColor,悬停、边框、暗色与选中色调均由其派生;中性色取自 IBM Carbon,语法配色取自 Oxocarbon。提供深色(默认)、浅色与面向阅读的 paper 模式(同时用于打印),选择会被持久化。
博客能力包括日期、标签、分类、归档、系列、封面图、作者署名、许可卡片,以及 Waline 评论与阅读量。Markdown 支持代码块卡片与复制、八种 callout、LaTeX(MathML)与 Typst 数学、引言块、图片灯箱与 Swiper 图集,以及 markdown-it 扩展(脚注、定义列表、缩写、上下标、插入、标记、emoji)。导航侧提供自动发现的资源管理器(可配合源内 explorer.json 元数据)、可调整并持久化的浏览器/目录宽度、标题锚点复制链接、查找面板(/)与无后缀 URL。
国际化采用客户端语言切换,URL 中不出现 /<lang>/ 段,可本地化 frontmatter 标题、分类标签、界面文案乃至按语言区分的正文(::: lang 块),内置英文与简体中文。移动端被作为一等目标,各组件均有适配,包括资源管理器抽屉。字体使用 IBM Plex Sans/Serif/Mono/Math、Font Awesome 与仅符号的 Nerd Font,均通过样式表加载,不依赖 npm 字体包。
主题以整个仓库形式分发:VitePress 站点,主题位于 .vitepress/theme/,src/ 内是覆盖全部功能的演示站点。仓库要求 Node.js 20 LTS 或更新版本,使用 pnpm 作为包管理器,git 可选(文章「更新日期」来自 git)。文档位于 docs/,其中设计记录 docs/design/ 仅存于仓库、不发布到站点。
适合你的项目吗?
适用场景
- 搭建以终端界面为视觉风格的博客或个人站点
- 需要标签、分类、归档、系列与评论等完整博客结构的写作站点
- 面向中英双语读者、希望语言切换不改变 URL 结构的站点
- 希望用单一主色统一整套界面色调、减少逐项调色的项目
适合人群
- 使用 VitePress 并希望替换为终端风格主题的开发者
- 需要内置博客分类、系列与评论能力的个人站点作者
- 需要中英双语内容与客户端语言切换的站点维护者
- 接受以克隆整个仓库作为起点的使用者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
主题以仓库形式分发,需 git clone --recurse-submodules 获取演示友链数据,随后 pnpm install
- 2
运行命令为 pnpm dev、pnpm build、pnpm preview,开发服务器默认在 http://localhost:5173
- 3
环境要求 Node.js 20 LTS 或更新版本,包管理器使用 pnpm,git 为可选(用于文章更新日期)
- 4
站点身份、mainColor、作者与许可、工具栏导航与页脚在 .vitepress/config.mts 中配置
- 5
文章内容许可(默认 CC BY-NC-SA 4.0)是独立的 themeConfig 选项,需站点所有者自行设定
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 评论与阅读量功能依赖 Waline 评论服务,需自行部署或接入 Waline 服务端并配置相应地址,属于外部服务依赖。
- 主题默认对文章内容套用 CC BY-NC-SA 4.0 许可,该许可禁止商业性使用;站点所有者需自行设定或更换内容许可。
- 演示友链数据通过 git 子模块获取,需使用 --recurse-submodules 克隆;否则友链页面仅显示手写条目。
- 文章的“更新日期”依赖 git 仓库信息,未使用 git 时该日期不可用。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Waline comments & view counts
README 原文
The *content* license the theme applies to articles — CC BY-NC-SA 4.0 by default
README 原文
`--recurse-submodules` pulls the demo friend-links data
README 原文
https://github.com/iXORTech/vitepress-theme-terminal/blob/main/LICENSEhttps://github.com/iXORTech/vitepress-theme-terminal/blob/main/README.mdgit | any | Optional — the "Updated" date on articles comes from git
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 80 / 100
- 技术栈
- VitePress
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-08-07
- 截图检查日期
- 2026-10-01
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 VitePress。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 6724cfe123c5c75510d784f83c88deca6922d2c7f8c28dfcb17c20c4f54996c4
2026-10-01T03:58:30.965Z
来源文件 / 仓库# VitePress Theme Terminal **English** · [简体中文](README_zh-Hans.md)  A custom [VitePress](https://vitepress.dev) theme for blogs and personal sites that presents itself as a modern terminal/TUI session: a tool bar, a file explorer, a scrolling viewport, a status bar, and floating utility windows. The design language is inspired by modal text editors — panel discipline, keyboard-centric utilities, and editor chrome — with no third-party branding in the rendered UI. ## Features - **TUI shell** — tool bar with nav submenus and an overflow drawer, a NeoVim-style file explorer, a live status bar (state chip, breadcrumb, reading progress, clock, settings), and floating windows. - **One color configures everything** — set `mainColor`; every hover, border, dim, and selection tone is *derived* from it. IBM Carbon supplies the neutral palette, Oxocarbon the syntax colors. - **Three color modes** — dark (default), light, and a reader-optimized paper mode that is also used for printing. The choice is persisted. - **Blogging** — posts with dates, tags, categories, archives, series, cover images, author byline, license card, and Waline comments & view counts. - **Rich Markdown** — code-block cards with copy, eight callout types, LaTeX (MathML) and Typst math, pull quotes, image lightbox and Swiper galleries, plus the markdown-it extension suite (footnotes, deflists, abbr, sub/sup, ins, mark, emoji). - **Navigation** — auto-discovered explorer with source-local `explorer.json` metadata, resizable and persisted explorer/TOC, heading anchors with copy-link, a find palette (`/`), and clean, suffix-free URLs. - **Internationalization** — client-side language switching with **no `/<lang>/` URL segment**: localized frontmatter titles, taxonomy labels, UI strings, and even per-language page bodies (`::: lang` blocks). English and Simplified Chinese ship built in. - **Mobile is first-class** — every component adapts, including an explorer drawer. - **Typography** — IBM Plex Sans/Serif/Mono/Math, Font Awesome, and a symbols-only Nerd Font, all loaded via stylesheets (no npm font packages). ## Requirements | Tool | Version | Notes | | --- | --- | --- | | Node.js | 20 LTS or newer | What VitePress 2 expects | | pnpm | any current release | The package manager this repo uses | | git | any | Optional — the "Updated" date on articles comes from git | ## Quick start The theme ships **as this repository**: a VitePress site whose theme lives in `.vitepress/theme/`, with a demo site in `src/` that exercises every feature. ```sh git clone --recurse-submodules https://github.com/iXORTech/vitepress-theme-terminal.git my-site cd my-site pnpm install pnpm dev # dev server with hot reload, http://localhost:5173 pnpm build # production build into .vitepress/dist pnpm preview # serve the built site locally ``` `--recurse-submodules` pulls the demo friend-links data; without it the friends page simply shows its hand-authored entries. Then make it yours in `.vitepress/config.mts` — site identity, `mainColor`, author & license, tool-bar nav, and footer. The step-by-step version, including how to clear out the demo content, is in [`docs/guide/getting-started.md`](docs/guide/getting-started.md). ## Repository layout ``` .vitepress/config.mts site + theme configuration — the file you edit most .vitepress/theme/ the theme implementation (components, styles, composables) src/ site content (VitePress `srcDir`) — the demo site docs/ documentation home (the only place a document is edited) src/docs/ generated copy of the published docs (git-ignored) AGENTS.md instructions for AI coding agents .agent/ task board and per-file context cache ``` ## Documentation Everything lives in [`docs/`](docs/index.md). The user-facing part is also published on the built site at `/docs/`. | Document | Contents | | --- | --- | | [Getting Started](docs/guide/getting-started.md) | Requirements, install, running the site, the five edits that make it yours | | [Writing Content](docs/guide/writing-content.md) | Page types, frontmatter, code blocks, callouts, math, images, Vue in Markdown | | [Blogging](docs/guide/blogging.md) | Posts, tags & categories, listing pages, series, covers, end-of-article cards | | [Navigation](docs/guide/navigation.md) | Tool bar, explorer, TOC, find palette, status bar, keyboard shortcuts | | [Internationalization](docs/guide/internationalization.md) | Language switching, localizable text, `::: lang` bodies, adding a language | | [Customization](docs/guide/customization.md) | Colors and modes, fonts and icons, styling rules, custom views and slots | | [Deployment](docs/guide/deployment.md) | Build & preview, hosting, subpath deploys, CI checkout, pre-launch checklist | | [`themeConfig` reference](docs/configuration/theme-config.md) · [Frontmatter reference](docs/configuration/frontmatter.md) | Every option, with type, default, and example | The binding design records under [`docs/design/`](docs/design/) are repository-only — they are decision records for contributors and coding agents, and are deliberately not published on the site. ## Contributing Read [`AGENTS.md`](AGENTS.md) first: it is the single source of the workflow rules, engineering conventions, and session protocol for this repository — for humans and AI agents alike. In short: every requirement becomes a task in [`.agent/plan.md`](.agent/plan.md) before implementation, design decisions are changed in `docs/design/` before code, styling is SCSS-only, UI strings go through the locale system, and mobile is not optional. ## License [MIT](LICENSE) © 2026 iXOR Technology. That covers the theme itself. The *content* license the theme applies to articles — CC BY-NC-SA 4.0 by default — is a separate `themeConfig` option for site owners to set for their own writing.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

sugar-blog
✍️📚我写博客的地方🤪🤪🤪记录随笔与学习笔记,仓库包含:博客内容,博客主题、博客模板、vitepress离线全文搜索插件、VitePress RSS 支持插件,图片预览插件;a blog theme use vi…
VitePress · 博客

vitepress-nav-template
基于 VitePress 的个人前端导航页面模板
VitePress · 博客

vitepress-blog-pure
a vitepress theme for blog, demo ↓
VitePress · 博客

vitepress-blog-starter
Vitepress Blog Starter Template
VitePress · 博客

vitepress-theme-trigger
Blog theme for VitePress with Tailwind CSS. 為建立部落格而生的 VitePress 主題
VitePress · 博客

KiwiBlog
一个分享日常的博客,这个平台上可以找到很多有趣的博客内容 🥝
VitePress · 博客
