Home

Awesome

<h1 align="center"> <a href="https://pagic.org"> <img alt="P" src="./pagic.org/assets/pagic_logo.png" width="64" align="center" />agic </a> </h1> <h3 align="center"> A static site generator powered by Deno + React </h3> <p align="center"> <a href="https://pagic.org/zh-CN/">简体中文</a> | <a href="https://pagic.org">Website</a> | <a href="https://pagic.org/docs/introduction.html">Docs</a> | <a href="https://pagic.org/docs/config.html">Config</a> | <a href="#demos">Demos</a> | <a href="https://pagic.org/themes/">Themes</a> | <a href="https://pagic.org/plugins/">Plugins</a> | <a href="https://pagic.org/blog/">Blog</a> </p> <p align="center"> <a href="https://deno.land"> <img src="https://img.shields.io/badge/Deno-1.34.1-brightgreen.svg?logo=deno" alt="deno" /> </a> <a href="https://pagic.org"> <img src="https://img.shields.io/badge/Pagic-v1.6.3-orange.svg" alt="pagic" /> </a> <a href="https://discord.gg/vn3VvdUycW"> <img src="https://img.shields.io/discord/785366263823335424" alt="discord" /> </a> <a href="https://github.com/xcatliu/pagic/actions"> <img src="https://github.com/xcatliu/pagic/workflows/ci/badge.svg" alt="ci" /> </a> </p>

Features

Easy to configure

Support md and tsx

Themes and plugins

Demos

Get started

Installation

# Install deno https://deno.land/#installation
curl -fsSL https://deno.land/x/install/install.sh | sh
# Install Pagic
deno install --unstable --allow-read --allow-write --allow-net --allow-env --allow-run --name=pagic https://deno.land/x/pagic/mod.ts

Initialize the project

To use pagic to build a static website, the project must include at least one pagic.config.ts config file and one md/tsx page file:

site/
├── pagic.config.ts
└── README.md

You can create the above site project by running the following command:

mkdir site && cd site && echo "export default {};" > pagic.config.ts && echo "# Hello world" > README.md

Run pagic

pagic build --watch --serve

More information

Special thanks

Backers

Backers

Contributors

Contributors

LICENSE

MIT


Have fun with Pagic!