内置 Astro 原生 i18n 路由,预置法语、德语和英语
astro-swiss-free-starter-theme — Astro 启动器模板
作者 vincentheimann
Astro Swiss 免费版启动主题,基于 Astro,内置 i18n、深色模式与 Starwind UI 组件,采用 MIT 许可。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
使用 Starwind UI 组件库,基于 Tailwind CSS 构建
深色模式支持 localStorage 持久化与系统偏好检测
内容数据以 TypeScript 类型化方式组织,便于维护团队、服务、作品集等信息
提供 AGENTS.md,向 AI 工具说明主题结构与约定
MIT 许可,允许免费使用、修改、商用和分发
模板详细介绍
这是一个基于 Astro 的启动器主题,用于搭建多语言网站。它内置 Astro 原生 i18n 路由,预置法语、德语和英语三种语言,并提供可扩展的架构以便继续添加语言。界面组件来自 Starwind UI,构建在 Tailwind CSS 之上,包含卡片、Hero 等常用区块。主题实现了深色模式,支持用户偏好持久化(localStorage)与系统偏好检测。代码使用 TypeScript 编写,内容数据(团队、服务、作品集)以类型化方式组织在 src/data 目录中,翻译字典位于 src/i18n,页面采用基于文件的路由。项目结构遵循标准 Astro 布局,包含 components、data、i18n、layouts、pages 等目录。仓库提供 AGENTS.md,用于向 AI 工具说明主题结构与约定。免费版本为独立完整版本,MIT 许可允许使用、修改、商用和分发,但演示图片、字体、图标等第三方素材需单独核对许可;资料中提到的付费版本及其功能不包含在本次收录范围内。
适合你的项目吗?
适用场景
- 搭建需要多语言支持的企业官网或产品站点
- 以现成组件和布局快速启动 Astro 项目
- 在深色模式与浅色模式之间切换的展示型网站
- 作为学习 Astro i18n 路由与组件组织的参考项目
适合人群
- 熟悉 Astro 与 Tailwind CSS 的前端开发者
- 需要多语言基础架构的网站项目
- 希望以 MIT 许可自由修改和分发代码的团队
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
克隆仓库后执行 npm install 安装依赖,再运行 npm run dev 启动开发服务器
- 2
默认开发地址为 http://localhost:4321
- 3
添加新语言需参考官方文档中的 Adding Languages 指南
- 4
演示图片、字体、图标等第三方素材需按各自许可单独核对
- 5
资料中提及的付费版本与商业许可不包含在免费版本内
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 付费高级版提供 AI 代理工作区与一键确定性配置,并含商业许可与主版本更新;这些功能不属于免费版本,免费版不包含商业许可。
- 商业许可与主版本更新仅随付费高级版提供,免费版不包含商业许可,商用需自行确认许可范围。
- 项目资料提及可选付费版本或功能;本次仅收录公开免费代码,不包含付费升级。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
The [Premium Version](https://astroswiss.com) ships an agent workspace with a one-command deterministic setup
README 原文
https://github.com/vincentheimann/astro-swiss-free-starter-theme/blob/main/LICENSEhttps://github.com/vincentheimann/astro-swiss-free-starter-theme/blob/main/README.mdplus a commercial license and all updates to your major version included
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 83 / 100
- 技术栈
- Astro
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-09-28
- 截图检查日期
- 2026-10-01
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 755f5448016fa6fe054a714524b9daab187b93b187d7388cfb1ef25e26e68421
2026-10-01T13:41:52.456Z
来源文件 / 仓库# Astro Swiss Free Starter Theme **A professional, multilingual foundation for proper Astro projects.** [](LICENSE) [](CHANGELOG.md) [**🌐 Live Demo**](https://demo.astroswiss.com) | [**📖 Documentation**](https://docs.astroswiss.com) | [**💼 Premium Version**](https://astroswiss.com) --- > [!NOTE] > **Production Ready**: This free version is a complete, standalone product with **Astro 7**, **Tailwind 4**, and **i18n** built-in. It is not a "lite" version with broken features. > > *Want your AI agent to do the work?* The [Premium Version](https://astroswiss.com) ships an agent workspace with a one-command deterministic setup — verified with real setup runs in Claude Code, Cursor and Antigravity, built for any tool that reads AGENTS.md. Describe your company and get your configured site in one conversation — plus a commercial license and all updates to your major version included. **Buy once. Your agent does the rest.** > > This free theme is agent-friendly too: its `AGENTS.md` teaches your AI tool the theme's structure and conventions. ## 🚀 Quick Start Get your site running in less than 2 minutes. ```bash # 1. Clone the repository git clone https://github.com/vincentheimann/astro-swiss-free-starter-theme.git cd astro-swiss-free-starter-theme # 2. Install dependencies npm install # 3. Start development server npm run dev ``` Visit **[http://localhost:4321](http://localhost:4321)** to see your new site. --- ## ✨ Features Built to modern web standards, focusing on performance and developer experience. - **🌍 True Multilingual (i18n)**: Native Astro i18n routing with French, German & English pre-configured. Scalable architecture for adding more languages. - **🎨 Starwind UI System**: A collection of beautiful, accessible components built on **Tailwind CSS v4**. - **⚡ Exceptional Performance**: Fast, lightweight pages. Minimal JavaScript — only where interaction needs it. - **🌓 Dark Mode**: Robust implementation with user preference persistence (localStorage) and system preference detection. - **🛡️ Type-Safe**: Written in TypeScript for a confident development experience. --- ## 📚 Documentation Detailed guides to help you customize and deploy. ### 🏁 User Guides - [**Getting Started**](https://docs.astroswiss.com/getting-started/): The quick setup guide — running in less than 2 minutes. - [**Data & Content**](https://docs.astroswiss.com/guides/data-management/): How to manage your team, portfolio, and services data. - [**Styling**](https://docs.astroswiss.com/guides/styling/): Customizing the design system and branding. - [**Deployment**](https://docs.astroswiss.com/deployment/): Production checklist and deployment guides. ### 🛠️ Developer Resources - [**Adding Languages**](https://docs.astroswiss.com/guides/adding-languages/): Expanding to 3+ languages. - [**Configuration**](https://docs.astroswiss.com/guides/configuration/): Advanced configuration options. --- <details> <summary><strong>📂 Project Structure</strong></summary> We use a standard, intuitive Astro structure: ```text astro-swiss-free-starter-theme/ ├── src/ │ ├── components/ # Starwind UI components (Cards, Heroes, etc.) │ ├── data/ # Type-safe content (Team, Services, Portfolio) │ ├── i18n/ # Translation dictionaries │ ├── layouts/ # Main layouts (Head, Metadata) │ └── pages/ # File-based routing ├── public/ # Static assets └── astro.config.mjs # Astro configuration ``` </details> <details> <summary><strong>📦 Tech Stack</strong></summary> - **Astro 7** - **Tailwind CSS 4** - **Starwind UI** - **TypeScript** - **Embla Carousel** - **Tabler Icons** </details> --- ## 🤝 Support We are committed to maintaining a high-quality open source foundation. - **Documentation**: [docs.astroswiss.com](https://docs.astroswiss.com) - **Issues**: [GitHub Issues](https://github.com/vincentheimann/astro-swiss-free-starter-theme/issues) - **Purchase & licensing questions**: [[email protected]](mailto:[email protected])
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

astrowind
⭕️ AstroWind: A free template using Astro v7 and Tailwind CSS v4. Astro starter theme.
Astro · 博客
accessible-astro-starter
Accessible Astro Starter 是一个以无障碍为核心理念的 Astro 6 启动模板,由 incluud 团队维护。
Astro · 博客

astro-erudite
An opinionated, unstyled static blogging template built with Astro and native CSS.
Astro · 作品集

astro-shopify
astro-shopify 是一个面向开发者的轻量级电商启动模板,用于构建基于 Shopify 的无头店面。
Astro · 电商

brutal
A neobrutalism Astro starter theme
Astro · 启动器

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