No description
  • Astro 40.8%
  • TypeScript 40%
  • CSS 11.7%
  • JavaScript 5.2%
  • Nix 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Zuzanna Żołnierowicz a0b647e129
All checks were successful
/ build (push) Successful in 1m31s
/ deploy (push) Successful in 53s
add alias for npm run
2026-10-09 13:07:24 +02:00
.forgejo/workflows add deploy to Cloudflare Pages 2026-10-06 15:45:56 +02:00
.vscode "Initial commit from Astro" 2026-10-05 16:31:50 +02:00
public add deploy to Cloudflare Pages 2026-10-06 15:45:56 +02:00
src add cool dots on the bg 2026-10-09 12:52:55 +02:00
.gitignore add devenv 2026-10-08 12:12:05 +02:00
.prettierrc "Initial commit from Astro" 2026-10-05 16:31:50 +02:00
astro.config.mjs reorganize 2026-10-08 13:27:17 +02:00
devenv.lock add devenv 2026-10-08 12:12:05 +02:00
devenv.nix add alias for npm run 2026-10-09 13:07:24 +02:00
devenv.yaml add devenv 2026-10-08 12:12:05 +02:00
eslint.config.ts "Initial commit from Astro" 2026-10-05 16:31:50 +02:00
package-lock.json extract to components 2026-10-06 17:31:55 +02:00
package.json extract to components 2026-10-06 17:31:55 +02:00
README.md "Initial commit from Astro" 2026-10-05 16:31:50 +02:00
tsconfig.json reorganize sections and experiences 2026-10-06 14:01:51 +02:00

Astro Starter Kit: Minimal

bun create astro@latest -- --template minimal

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

🚀 Project 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.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
bun install Installs dependencies
bun dev Starts local dev server at localhost:4321
bun build Build your production site to ./dist/
bun preview Preview your build locally, before deploying
bun astro ... Run CLI commands like astro add, astro check
bun astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.