Mirror of the sourcecode for my blog, original repo: https://github.com/NobbZ/blog-nobbz-dev
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

MDX 52.3%
Astro 23.5%
TypeScript 6.6%
JavaScript 5.2%
CSS 4.7%
Nix 4.1%
Shell 0.5%
Other 3.1%
946 8 0

Clone this repository

https://tangled.org/nobbz.dev/blog https://tangled.org/did:plc:djqhpvapowkgn7dvrlhbqwr6/blog
git@tangled.org:nobbz.dev/blog git@tangled.org:did:plc:djqhpvapowkgn7dvrlhbqwr6/blog

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

Astro Starter Kit: Minimal#

npm create astro@latest -- --template minimal

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 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
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?#

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