Kondo is a simple and opinionated Static Site Generator designed to embrace minimalism. By prioritizing only the essentials, it pushes back against the complexity and bloat of modern websites, offering everything you need—and nothing you don’t—to create a clean and focused blog.
Before you start, ensure that you have Ruby and Bundler installed on your system.
- Clone or download the Kondo repository to your local machine.
- Run
bundle install
to install the necessary gems. - Set up commands:
- run
chmod +x bin/kondo
to make kondo scripts executable - run
./bin/kondo build
to build your site,./bin/kondo serve
to serve the site, etc. - (Optional but recommended) Add to your path to make commands global with
export PATH="$PATH:/path/to/your/kondo-project/bin"
and then runningsource ~/.bash_profile
(orsource ~/.zshrc
if you're using zsh so that you can run commands without the./
in front of them (e.g.kondo build
).
- run
- Set up your config file (
config/config.yaml
). - Run
bundle install
to install the required gems. - Use the commands outlined below to build and serve your site.
kondo build
# Generate the static sitekondo serve
# Serve the site locally in your default browserkondo clean
# Remove files fromsite/
that have been deleted fromcontent/
kondo new
# Create a new post or pagekondo deploy
# Deploy the site directory to your VPS with rsynckondo help
# Show this help message
To create a new post or page, use the following commands:
kondo new post 'My First Post'
# Create a new post with the title "My First Post"kondo new page 'About Me'
# Create a new page with the title "About Me"
Note: Titles should be enclosed in single quotes (e.g., 'My First Post'
) to avoid issues with quotes in the terminal.
MIT License
Copyright (c) 2024 onathjan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.