A fast, modern static site generator built with Clojure.
# Install from local directory (for development)
LOCAL_ROOT=$(pwd)
clojure -Ttools install lambda-lifters/paparascii \
'{:local/root "'${LOCAL_ROOT}'"}' \
:as paparascii
# Or install from GitHub (when published)
# If you're installing from this repo, and it's up to date with GitHub;
# you can use this... otherwise, pick your own SHA
LATEST_SHA=$(git rev-parse HEAD)
clojure -Ttools install io.github.lambda-lifters/paparascii \
'{:git/url "https://github.com/lambda-lifters/paparascii.git"
:git/sha "'${LATEST_SHA}'"}' \
:as paparasciiAll 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-postsFor 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.ednwith your details - Create content in
blog/andsite/ - Run
clojure -Tpaparascii build - Run
clojure -Tpaparascii serveto 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