forked from KaOS/website
KaOS GNU/Linux distribution official website, built atop Astro.js
- JavaScript 41.8%
- Astro 23.2%
- XSLT 20.9%
- MDX 7.1%
- TypeScript 4%
- Other 3%
| public | Nov ISO release | |
| src | correction niri.md | |
| .gitignore | start adding new astro based website | |
| astro.config.mjs | adding a niri doc, under desktop heading | |
| LICENSE | Initial commit | |
| package-lock.json | adding a niri doc, under desktop heading | |
| package.json | adding a niri doc, under desktop heading | |
| README.md | start adding new astro based website | |
| tailwind.config.mjs | start adding new astro based website | |
| tsconfig.json | start adding new astro based website | |
KaOS Astro based website
Features:
- ✅ 99/100 Lighthouse performance
- ✅ SEO-friendly with canonical URLs and OpenGraph data
- ✅ Sitemap support
- ✅ RSS Feed support
- ✅ Markdown & MDX support
🚀 Project Structure
├── public/
├── src/
│ ├── components/
│ ├── content/
│ ├── layouts/
│ └── pages/
│ └── styles/
│ └── utils/
├── astro.config.mjs
├── README.md
├── package.json
└── tsconfig.json
🧞 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 |
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 |
👀 Want to learn more?
Check out Astro documentation.