xcatliu / Pagic
Licence: mit
A static site generator powered by Deno + React
Stars: ✭ 1,016
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Pagic
Cms.js
Client-Side JavaScript Site Generator
Stars: ✭ 3,016 (+196.85%)
Mutual labels: static-site-generator, markdown
Ox Hugo
A carefully crafted Org exporter back-end for Hugo
Stars: ✭ 591 (-41.83%)
Mutual labels: static-site-generator, markdown
Phenomic
DEPRECATED. Please use Next.js instead.
Stars: ✭ 3,264 (+221.26%)
Mutual labels: static-site-generator, markdown
Docfx
Tools for building and publishing API documentation for .NET projects
Stars: ✭ 2,873 (+182.78%)
Mutual labels: static-site-generator, markdown
Metalsmith
An extremely simple, pluggable static site generator.
Stars: ✭ 7,692 (+657.09%)
Mutual labels: static-site-generator, markdown
X0
Document & develop React components without breaking a sweat
Stars: ✭ 1,706 (+67.91%)
Mutual labels: static-site-generator, markdown
Zola
A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Stars: ✭ 7,823 (+669.98%)
Mutual labels: static-site-generator, markdown
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (-76.87%)
Mutual labels: static-site-generator, markdown
Jbake
Java based open source static site/blog generator for developers & designers.
Stars: ✭ 904 (-11.02%)
Mutual labels: static-site-generator, markdown
Mkdocs
Project documentation with Markdown.
Stars: ✭ 13,346 (+1213.58%)
Mutual labels: static-site-generator, markdown
Verless
A simple and lightweight Static Site Generator.
Stars: ✭ 276 (-72.83%)
Mutual labels: static-site-generator, markdown
Rdoc
⚛️📄🚀 Fast static site generator for React, Just write Markdown file. @react-doc
Stars: ✭ 147 (-85.53%)
Mutual labels: static-site-generator, markdown
Gostatic
Fast static site generator
Stars: ✭ 387 (-61.91%)
Mutual labels: static-site-generator, markdown
Cecil
Your content driven static site generator.
Stars: ✭ 137 (-86.52%)
Mutual labels: static-site-generator, markdown
Solo
🎸 B3log 分布式社区的 Java 博客端节点系统,欢迎加入下一代社区网络。B3log distributed community blog-end node system, welcome to join the next generation community network.
Stars: ✭ 780 (-23.23%)
Mutual labels: static-site-generator, markdown
Nextein
A static site generator with markdown + react for Next.js
Stars: ✭ 825 (-18.8%)
Mutual labels: static-site-generator, markdown
agic
A static site generator powered by Deno + React
简体中文 | Website | Docs | Config | Demos | Themes | Plugins | Blog
Features
Easy to configure
- Convention over configuration
- Single config file
pagic.config.ts
- Intuitive design
Support md and tsx
- Render
md/tsx
to static HTML page - Support React Hooks
- Pre-render to static HTML, run as an SPA once loaded
Themes and plugins
- Official themes default/docs/blog with dark mode
- Combine plugins to build process
- Import third-party themes or plugins through URL
Demos
- Templates: docs
- TypeScript 入门教程 (GitHub)
- 流浪小猫的博客 (GitHub)
- Deno X ranking (GitHub)
- Deno 钻研之术 (GitHub)
- Deno 中文手册 (GitHub)
- JavaScript 20 年 (GitHub)
- ECMAScript+ 面试宝典 (GitHub)
- 自然醒的博客(GitHub)
- Viktor's Docs(GitHub)
- Add my site as a demo 😝
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-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
pagic
Run pagic build --watch --serve
More information
- Visit the official website
- Read the documentation
- Configure your site
- Checkout the theme list and the plugin list
- Read the blog of Pagic
- Join our discord channel
Special thanks
- StrawBerry Icon: A free and open iconic font library for developer and creator
Backers
Contributors
LICENSE
Have fun with Pagic!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].