Static Site Generator CLI
Build static sites from Markdown. Zero config.
Blog. Docs. Portfolio. Deploy anywhere.
Quick Start
bash
npm install -g @lxgicstudios/sitegen
bash
# Create new site sitegen init my-blog # Build site sitegen build # Dev server with hot reload sitegen dev
Templates
| Template | Best For |
|---|---|
blog | Personal blog |
docs | Documentation |
portfolio | Personal site |
minimal | Bare bones |
Commands
bash
# Init with template sitegen init my-site --template docs # Add new post sitegen new post "My First Post" # Add new page sitegen new page about # Build for production sitegen build --minify # Preview production build sitegen serve # Deploy to Netlify sitegen deploy netlify # Deploy to Vercel sitegen deploy vercel
Directory Structure
code
my-site/ ├── content/ │ ├── posts/ │ └── pages/ ├── templates/ ├── static/ └── site.config.js
Features
- •Markdown with frontmatter
- •Syntax highlighting
- •Auto-generated sitemap
- •RSS feed
- •SEO meta tags
- •Fast builds
- •Zero JavaScript by default
Config Example
js
// site.config.js
module.exports = {
title: 'My Blog',
description: 'A blog about stuff',
url: 'https://myblog.com',
author: 'Your Name'
}
When to Use This
- •Personal blogs
- •Documentation sites
- •Landing pages
- •Portfolios
- •Project sites
Built by LXGIC Studios