Skip to content
Starlight Docs

Astro + Starlight + comment system

Building steps of this site, with Astro with Starlight integration.
A record so I know what I have done and can be a reference for any future projects.

  1. manually install Astro, cause the GFW block the automatic cli.
    Use pnpm can be much quick for the good caching.
    https://docs.astro.build/en/install/manual/

  2. practice with the blog tutorial
    https://docs.astro.build/en/tutorial/0-introduction/

  3. manually setup the Starlight integration for Astro.
    https://starlight.astro.build/manual-setup/

That’s it.

Step by steps:
mkdir demo.880176.com
cd demo.880176.com
pnpm init # get package.json
pnpm install astro # get pnpm-lock.yaml file and node_modules folder
revise package.json:

  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro build",
    "preview": "astro preview"
  },

feelback
https://www.feelback.dev/blog/feelback-saas-launch-architecture/

twikoo
https://twikoo.js.org/