cworld1 / astro-theme-pure

A simple, clean but powerful blog theme build by astro.
https://astro-theme-pure.vercel.app
Apache License 2.0
43 stars 11 forks source link
astro astrojs blog blog-theme

Astro Theme Pure

English | 简体中文

GitHub commit activity GitHub stars vercel status GitHub license

A simple, clean but powerful blog theme build by astro.

image

Introduction / Deployment

Demo | Showcase

For more information, please visit the CWorld Site and Deployment Instructions.

Local development

Environment requirements:

Clone the repository:

git clone https://github.com/cworld1/astro-theme-pure.git

Install dependencies:

cd astro-theme-pure
bun install

[!NOTE] For Bun, if the installation is slow, it is recommended to use a mirror configuration by creating bunfig.toml under the project root directory:

[install]
registry = "<npm mirror site>"

For details about other PM mirror configs, you may need to see their official documents.

Start the development server:

bun dev
# For Windows, Bun has not yet implemented background tasks. So for Bun, use the following command instead:
# bun start

Or build (you may need to use node.js SSR firstly):

bun run build

Preview:

bun preview

Contributions

To spend more time coding and less time fiddling with whitespace, this project uses code conventions and styles to encourage consistency. Code with a consistent style is easier (and less error-prone!) to review, maintain, and understand.

Thanks

License

This project is licensed under the Apache 2.0 License.

Star History Chart