Skip to content

Repository files navigation

Cheatsheets

Quick-reference cheatsheets, built with Astro Starlight and served as static files by nginx in Docker.

Run

docker compose up -d --build      # build + start on http://localhost:8702
docker compose down               # stop

The site is served on port 8702.

Develop locally (hot reload)

npm install
npm run dev        # http://localhost:4321

Add a cheatsheet

  1. Create src/content/docs/<slug>.md with frontmatter (title required, description optional):
    ---
    title: "My Tool"
    description: "My Tool cheatsheet"
    ---
  2. Add it to the sidebar in astro.config.mjs.
  3. (Optional) Add a <Card> to src/content/docs/index.mdx.

Project layout

Path Purpose
src/content/docs/ Cheatsheet content (Markdown / MDX)
astro.config.mjs Site config + sidebar
Dockerfile Multi-stage: Node build → nginx runtime
nginx.conf nginx server, listens on 8702

License

MIT © UHERE PTE. LTD.

About

Quick-reference cheatsheets site built with Astro Starlight. Markdown content compiles to static HTML, served by nginx in a multi-stage Docker image on port 8702. No backend or app code — just content plus site config. Includes cheatsheets for Docker, Cloud Run, systemctl, TypeScript, and git credentials.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages