Memospot landing page and documentation.
- Astro - Static site generator
- Starlight - Astro documentation framework
- MDX - Markdown with embedded JSX components
- Tailwind CSS - Utility-first CSS framework
- Bun - JavaScript runtime and package manager
- Biome - Linter and code formatter
- dprint - Code formatting
In this project, you'll see the following folders and files:
.
├── public/ (Static assets like favicons and robots.txt)
├── src/
│ ├── assets/ (Images and other media)
│ ├── components/ (Astro components used across the site)
│ ├── content/
│ │ └── docs/ (Mdx files for documentation)
│ ├── styles/ (CSS styles)
│ └── content.config.ts (Controls how content is loaded and displayed)
├── astro.config.mjs (Astro configuration. Contains the sidebar links.)
└── justfile (Task runner file with common commands)brew install \
oven-sh/bun/bun \
dprint \
biome \
just \
jqAll 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 the production site to ./dist/ |
bun preview |
Preview the build locally, before deploying |
bun astro ... |
Run CLI commands like astro add, astro check |
bun astro -- --help |
Get help using the Astro CLI |
For consistency with the parent project, a justfile is also provided with similar commands. Run just on the project directory to see a list of available tasks.
Contributions are welcome! Please read the contribution guide for extra details.