A fast, modern static site generator built with Clojure.
# Install from local directory (for development)
clojure -Ttools install lambda-lifters/paparascii \
'{:local/root "/path/to/paparascii"}' \
:as paparascii
# Or install from GitHub (when published)
# clojure -Ttools install io.github.lambda-lifters/paparascii \
# '{:git/url "https://github.com/lambda-lifters/paparascii.git"
# :git/sha "LATEST_SHA"}' \
# :as paparascii
All commands are run from your site directory (containing site-config.edn
):
# Initialize a new site
clojure -Tpaparascii init
# Clean the TARGET directory
clojure -Tpaparascii clean
# Build the site
clojure -Tpaparascii build
# Start development server
clojure -Tpaparascii serve
# Create a new blog post
clojure -Tpaparascii new-post :title '"My First Post"'
# List all posts
clojure -Tpaparascii list-posts
For convenience, you can create shorter aliases in your shell:
# Add to ~/.bashrc or ~/.zshrc
alias pa-build='clojure -Tpaparascii build'
alias pa-serve='clojure -Tpaparascii serve'
alias pa-clean='clojure -Tpaparascii clean'
A valid paparascii site has this structure:
my-blog/
├── site-config.edn # Site configuration
├── blog/ # Blog posts (.adoc files)
├── site/ # Site pages (about, contact, etc.)
├── resources/ # Static resources (404.html, etc.)
├── assets/ # CSS, JS, images
├── templates/ # Content templates
└── TARGET/ # Generated output (created by build)
- Create a new directory for your site
- Run
clojure -Tpaparascii init
- Edit
site-config.edn
with your details - Create content in
blog/
andsite/
- Run
clojure -Tpaparascii build
- Run
clojure -Tpaparascii serve
to preview
- Fast builds using AsciidoctorJ
- Beautiful output with Bootstrap 5
- Clean HTML generated with Hiccup
- Tag system with automatic tag pages
- Template support for consistent content
- Zero dependencies for development server
- Tool installation - works from any directory
MIT