Astro 与 Tailwind CSS 组合,页面以 Astro 组件为主,React 已预装
astro-tech-blog — Astro 博客模板
作者 nicdun
基于 Astro 与 Tailwind CSS 的个人技术博客模板,内置 React 集成、RSS、站点地图与 Markdown 支持,并预配置 Vercel 部署。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持 Markdown 写作,并通过 rehype-pretty-code 提供代码语法高亮
内置 RSS 订阅与站点地图,便于内容分发和搜索引擎收录
预配置 Vercel 部署与 Vercel Web Analytics
提供桌面端与移动端首页及文章内页的实际截图预览
模板详细介绍
这是一个面向个人技术博客的 Astro 模板,采用 Tailwind CSS 实现简洁克制的排版,仓库中预装了 React 集成,但页面本身以 Astro 组件为主,可按需替换为其他前端框架。内容以 Markdown 撰写,配合 rehype-pretty-code 提供代码语法高亮,适合发布带代码片段的文章。模板内置 RSS 订阅与站点地图,并预配置了 Vercel 部署和 Vercel Web Analytics。
项目结构遵循 Astro 约定:页面放在 src/pages/,组件放在 src/components/,静态资源放在 public/。常用命令包括 npm run dev 启动本地开发服务器、npm run build 生成生产站点、npm run preview 本地预览构建结果。
需要注意,模板本身不包含内容管理后台或数据库,文章以文件形式维护;演示中的图片、字体、图标等第三方素材需单独核对其许可,Vercel 等外部服务也可能产生费用。
适合你的项目吗?
适用场景
- 搭建个人技术博客,发布带代码示例的 Markdown 文章
- 需要 RSS 订阅和站点地图的静态内容站点
- 希望以 Astro 为主、同时保留 React 组件能力的项目
- 计划部署到 Vercel 并需要基础访问统计的博客
适合人群
- 习惯用 Markdown 写作、自行管理内容文件的开发者
- 希望以静态站点方式发布技术文章的个人博主
- 需要 RSS 与站点地图等基础 SEO 能力的博客项目
- 接受以文件而非后台管理内容的 Astro 使用者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在项目根目录执行 npm install 安装依赖
- 2
使用 npm run dev 启动本地开发服务器,默认地址为 localhost:3000
- 3
使用 npm run build 生成生产站点到 ./dist/,再用 npm run preview 本地预览
- 4
文章以 Markdown 文件形式放在 src/pages/ 下,按文件名生成路由
- 5
演示图片、字体、图标等第三方素材需单独核对许可,Vercel 等外部服务可能另行收费
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 模板预配置了 Vercel 部署与 Vercel Web Analytics,使用这些功能需要 Vercel 账号,且 Vercel 的托管与分析服务可能产生费用或受其服务条款约束。
- README 中的 Buy Me A Coffee 链接仅为自愿捐赠,不构成使用限制,也不影响模板的免费使用。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
preconfigured Vercel deployment & web analytics
README 原文
https://github.com/nicdun/astro-tech-blog/blob/main/LICENSEhttps://github.com/nicdun/astro-tech-blog/blob/main/README.mdBuying me a coffee!
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 96 / 100
- 技术栈
- Astro · React
- 网站类型
- 博客
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-09-27
- 截图检查日期
- 2026-10-01
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: d266e6eaee2917dd7d7d2cfc5d883a1b8d5c3afe4a330478743f7a698c733b5a
2026-10-01T14:06:27.347Z
来源文件 / 仓库# Astro & Tailwind CSS Starter Kit ## 🔥 Features Explore the Astro.js Personal Blog Template – a sleek and feature-rich platform for your personal blog: - **Astro.js v5 Powered**: Dynamic and efficient JavaScript-driven experience. - **Tailwind CSS Integration**: Ensures a stylish and responsive design. - **RSS Feed Support**: Keeps your audience updated effortlessly. - **Markdown Compatibility**: Streamlines content creation with easy formatting. - **Syntax Highlighting**: Enhances code snippet readability for tech enthusiasts. - **SEO-Optimized**: Includes a sitemap for optimal search engine visibility. - **Vercel Deployment:** preconfigured Vercel deployment & web analytics. - **Framework of your choice:** 100% Astro.js only template - choose your JS Framework (react preinstalled) Unlock a seamless blend of aesthetics and functionality to share your unique voice with the world. ## 💻 Showcase  ## 📦 Template Integrations - @astrojs/tailwind - https://docs.astro.build/en/guides/integrations-guide/tailwind/ - @astrojs/react - https://docs.astro.build/en/guides/integrations-guide/react/ - @astrojs/sitemap - https://docs.astro.build/en/guides/integrations-guide/sitemap/ - @astrojs/rss - https://docs.astro.build/en/guides/rss/ - @vercel/analytics - https://vercel.com/docs/analytics/ - rehype-pretty-code - https://rehype-pretty-code.netlify.app/ ## 🏛️ Template Structure Inside of your Astro project, you'll see the following folders and files: ``` / ├── public/ ├── src/ │ └── pages/ │ └── index.astro └── package.json ``` Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. Any static assets, like images, can be placed in the `public/` directory. ## 🚀 Getting started All commands are run from the root of the project, from a terminal: | Command | Action | | :--------------------- | :----------------------------------------------- | | `npm install` | Installs dependencies | | `npm run dev` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | | `npm run preview` | Preview your build locally, before deploying | | `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | | `npm run astro --help` | Get help using the Astro CLI | ## ❤️ Helping out If you find that something isn't working right then I'm always happy to hear it to improve this starter! You can contribute in many ways and forms. Let me know by either: 1. [Filing an issue](https://github.com/nicdun/astro-tech-blog/issues) 2. [Submitting a pull request](https://github.com/nicdun/astro-tech-blog/pulls) 3. [Starting a discussion](https://github.com/nicdun/astro-tech-blog/discussions) 4. [Buying me a coffee!](https://www.buymeacoffee.com/nicdun) [](https://www.buymeacoffee.com/nicdun) ## ☕ Thank you! A big thank you to the creators of the awesome Astro static site generator and to all using this starter to make the web a bit more accessible for all people around the world :)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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