A static-site generator built to power my website and blog. Kuro is highly opinionated in it's file structure and layout.
- GitHub flavored markdown rendering
- Hot reloading in watch mode
- Uses the the-monospace-web theme by owickstrom (with some variations)
git clone https://github.com/mashybasker/kuro
cd kuro
chmod +x install.sh
./install.shkuro is installed to ~/.local/bin by default.
# Create a new project
kuro init mysite
# Build and serve the site
# Visit the site on localhost:3000
kuro serveTo incrementally build the site in watch mode with hot-reload, use the command:
kuro serve --watchTo check for available commands, run kuro help
kuro 0.1.0
USAGE:
kuro <COMMAND> [OPTIONS]
COMMANDS:
init [PATH] Create a new site (default: current directory)
build [PATH] Build the site (default: current directory)
serve [PATH] Serve the site locally (default: current directory)
new <NAME> Create a new page
OPTIONS:
--post Create as a blog post (used with `new`)
-h, --help Print this help message
EXAMPLES:
kuro init Create a new site in the current directory
kuro init my-site Create a new site in ./my-site
kuro build Build the site
kuro new about Create a new page called 'about'
kuro new my-post --post Create a new blog post
mysite/
├── content/ # source files for the site
├── dist/ # built site from the source markdown files
├── kuro.yml # config file for the project
├── static/ # static assets (eg. theme files)
└── templates/ # template html filesEdit kuro.yml to configure navbar links and social links in the footer.
name: "My site"
author: "Your name"
description: "New Kuro Website"
url: "http://localhost:3000"
# the links will be displayed in the footer
socials:
- label: github
url: https://github.com/<profile>
# the links will be displayed in the nav bar
pages:
- label: about
path: /about