基于 Astro、Tailwind CSS 与 Alpine.js 构建,采用静态站点生成(SSG)
blast — Astro SaaS模板
作者 cjoyau
Blast 是一个基于 Astro 的蓝色主题模板,面向商业、营销、SaaS 与创业公司网站,提供多语言、明暗模式与联系表单等页面结构。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
内置多语言支持、明暗模式与客户端路由
包含 7 个以上页面与 17 个以上区块,覆盖商业与 SaaS 常见页面结构
默认启用 Content Security Policy,并对内联脚本与样式自动进行 sha256 哈希
集成 Basin 联系表单与 Cloudflare Turnstile 垃圾防护,通过环境变量配置
提供 Vitest 单元测试、Prettier 格式化与 TypeScript 配置
模板详细介绍
Blast 是托管在 GitHub 上的 Astro 主题,仓库描述为面向商业、营销、SaaS 与创业公司网站的蓝色主题。模板使用 Astro、Tailwind CSS 与 Alpine.js 构建,采用静态站点生成(SSG),内置多语言支持、明暗模式与客户端路由。项目包含 7 个以上页面与 17 个以上区块,并提供 Content Security Policy 默认启用、内联脚本与样式自动 sha256 哈希等安全相关配置。开发侧包含 Vitest 单元测试、Prettier 格式化与 TypeScript 配置。联系表单依赖 Basin,垃圾防护依赖 Cloudflare Turnstile,两者均需通过环境变量配置。
使用限制方面,模板需要 Node.js 22 或更高版本,并要求使用者具备 Astro、HTML 与 CSS 基础。演示图片、字体、图标等第三方素材的许可需单独核对,代码的 MIT 许可不覆盖这些素材;Basin 与 Cloudflare Turnstile 属于外部服务,可能产生额外费用。仓库未提供关于性能、生产可用性或具体业务功能的进一步说明,本介绍不对此作推断。
适合你的项目吗?
适用场景
- 搭建 SaaS 产品官网,展示功能、定价与联系入口
- 制作商业或营销类落地页,使用现成区块组合页面
- 为创业公司建立多语言企业官网
- 需要明暗模式与响应式布局的品牌展示站点
适合人群
- 具备 Astro、HTML 与 CSS 基础的前端开发者
- 需要快速起步的 SaaS 或创业公司网站项目
- 希望以静态生成方式部署营销站点的团队
- 需要多语言与明暗模式支持的商业网站
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
需要 Node.js 22 或更高版本,并使用 npm 安装依赖
- 2
在项目根目录创建 .env 文件,配置 BASIN_FORM_ID 与 TURNSTILE_SITEKEY
- 3
常用命令包括 npm run dev、npm run build、npm run preview 与 npm run test
- 4
部署方式参考 Astro 官方部署文档
- 5
演示图片、字体、图标等第三方素材需按各自许可单独核对
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中的免费 MIT 版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 使用、修改或分发代码时,保留原作者版权声明和完整 MIT 许可证。
- 允许免费使用、修改及商用,也允许分发代码;分发时仍需随附版权与许可声明。
- 代码按现状提供,作者不承诺担保或承担使用责任。
额外费用与待核对事项
- 使用该模板需要 Node.js 22 或更高版本,低版本环境无法运行。
- 联系表单依赖 Basin 外部服务,需注册账号并配置 BASIN_FORM_ID 环境变量,可能产生额外费用。
- 垃圾防护依赖 Cloudflare Turnstile 外部服务,需配置 TURNSTILE_SITEKEY 环境变量。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Node.js 22 or higher.
README 原文
BASIN_FORM_ID=<your-form-id>
README 原文
https://github.com/cjoyau/blast/blob/main/LICENSEhttps://github.com/cjoyau/blast/blob/main/README.mdTURNSTILE_SITEKEY=<your-sitekey>
README 原文
依据完整 MIT 许可证与仓库 README 核对 · 2026-09-30。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 88 / 100
- 技术栈
- Astro
- 网站类型
- SaaS · 企业官网
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-09-28
- 截图检查日期
- 2026-09-30
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: a621c16f56c9fb1fcece8df25a81c7128f94db09d9550da04fd86b2861886234
2026-09-30T01:05:35.472Z
来源文件 / 仓库# Blast · Blue astro theme Production-ready theme specially designed for Business, Marketing, SaaS and Startup websites. [](https://github.com/cjoyau/blast/actions/workflows/deploy.yml) [](https://sonarcloud.io/summary/new_code?id=cjoyau_blast) [](./LICENSE) [](https://astro.build) [](https://tailwindcss.com) [](https://nodejs.org) ## <img src="public/logo.svg" width="24" height="24" align="top" /> Key Features * **Built with Astro 7, Tailwind CSS v4 & Alpine.js** * **7+ Pages** * **17+ Sections** * **Multi-language** support * **Static site generation** (SSG) optimized * **Content Security Policy** (CSP) enabled by default * **Automatic sha256 hashing** of inline scripts and styles * Clean & Modern Design * Fully Responsive * Dark & Light Mode * Fast & Performant * Super Lightweight * Client Router * **Vitest** Unit Tests * **Prettier** Code Formatter * **Google Fonts** * **Remix Icons** * **Basin** Contact Form * **Turnstile** Spam Protection ## <img src="public/logo.svg" width="24" height="24" align="top" /> Getting Started ### Requirements * Basic knowledge of Astro, HTML and CSS. * Text editor (We recommend Visual Studio Code) * Node.js 22 or higher. ### Environment variables Before you start, make sure to create a `.env` file in the root of your project and add the following environment variables: ``` BASIN_FORM_ID=<your-form-id> ① TURNSTILE_SITEKEY=<your-sitekey> ② ``` 1. Your Basin Form ID. You can find it in your [Basin dashboard](https://usebasin.com/?via=cjoyau). 2. Your Cloudflare Turnstile Site Key. You can find it in your Cloudflare dashboard. ### Commands 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:4321` | | `npm run build` | Check and build your production site to `./dist/` | | `npm run preview` | Preview your build locally, before deploying | | `npm run test` | Starts Vitest unit tests | | `npm run test:coverage` | Run Vitest unit tests with v8 code coverage | | `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | | `npm run astro -- --help` | Get help using the Astro CLI | ## <img src="public/logo.svg" width="24" height="24" align="top" /> Project Structure Inside the project, you’ll see the following folders and files: ``` / 📒 ├── 📂 src/ ① │ ├── 📂 assets/ ② │ │ └── 📂 icons/ ③ │ ├── 📂 components/ ④ │ ├── 📂 i18n/ ⑤ │ ├── 📂 layouts/ ⑥ │ ├── 📂 pages/ ⑦ │ ├── 📂 scripts/ │ │ └── 📄 entrypoint.ts ⑧ │ ├── 📂 styles/ │ │ └── 📄 global.css ⑨ │ └── 📂 tests/ ⑩ ├── 📂 public/ ⑪ ├── 📄 .prettierrc ⑫ ├── 📄 astro.config.mjs ⑬ ├── 📄 package-lock.json ├── 📄 package.json ⑭ ├── 📄 README.md ├── 📄 tsconfig.json ⑮ └── 📄 vitest.config.ts ⑯ ``` 1. Project source code (components, pages, …) 2. Any processed assets (images, svgs, …) 3. Remix icons used as SVG components. 4. Reusable Astro components used to build pages. 5. Internationalization files that contain the translations of the textual content of the site. 6. Astro components that define the UI structure shared by one or more pages. 7. Astro components used to create new pages on your site. Each page is exposed as a route based on its file name. 8. Alpine.js entrypoint. 9. Tailwind configuration file. The theme section is where you define your color palette and fonts. 10. Tests (Vitest unit tests for components, …) 11. Any static assets (images, fonts, icons, …) 12. Prettier configuration file. 13. Astro configuration file. 14. File used by JavaScript package managers to manage your dependencies. It also defines the scripts that are commonly used to run Astro. 15. TypeScript configuration file. 16. Vitest configuration file. ## <img src="public/logo.svg" width="24" height="24" align="top" /> Deployment Ready to build and deploy your site? Follow the [official documentation](https://docs.astro.build/en/guides/deploy/). ## <img src="public/logo.svg" width="24" height="24" align="top" /> License This project is licensed under the terms of the MIT license.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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

astro-landing-page
An Astro + Tailwind CSS Example/Template for Landing Pages
Astro · 企业官网

Tailcast
Dark-themed website template built on Astro and Tailwind CSS
Astro · 企业官网

Positivus
A stunning and versatile Astro theme designed for digital marketing agencies.
Astro · 企业官网

qwind
⭕️ Qwind: A template to make your website using Qwik + Tailwind CSS.
Astro · 工具站

agency-landing-page-Astrojs
A simple agency landing page made with astrojs and tailwindcss
Astro · 企业官网
