Built with Astro for a fast, modern static site.
/
├── public/
│ ├── napistu_logo_on_black.png
│ └── CNAME
├── src/
│ ├── components/
│ │ ├── ChatSideBar.astro
│ │ ├── Header.astro
│ │ └── PackageCard.astro
│ ├── layouts/
│ │ └── BaseLayout.astro
│ └── pages/
│ └── index.astro
├── .github/
│ └── workflows/
│ └── deploy.yml
├── astro.config.mjs
└── package.json
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 |
This site automatically deploys to GitHub Pages via GitHub Actions when you push to main.
- Colors: Edit CSS variables in
src/layouts/BaseLayout.astro - Content: Edit sections in
src/pages/index.astro - Components: Add/modify in
src/components/ - Logo: Replace
public/napistu_logo_on_black.png
To add a new package:
<PackageCard
name="package-name"
url="https://github.com/napistu/package-name"
description="Package description"
badges={[
"https://badge-url.svg"
]}
/>npm install
npm run devThen open http://localhost:4321 in your browser.