cli | ||
cli-tests | ||
docs | ||
examples | ||
plugins | ||
roswell | ||
src | ||
tests | ||
themes | ||
.gitignore | ||
.travis.yml | ||
coleslaw-cli.asd | ||
coleslaw-conf.asd | ||
coleslaw-test.asd | ||
coleslaw.asd | ||
LICENSE | ||
NEWS.md | ||
README.md |
coleslaw

Czeslaw Milosz was the writer-in-residence at UNC c. 1992. I used to see him all the time at the Hardback Cafe, always sitting at a two-top drinking coffee, reading, writing, eating chips and salsa. I remember a gentleness behind the enormous bushy eyebrows and that we called him Coleslaw. - anon
Coleslaw is Flexible Lisp Blogware similar to Frog, Jekyll, or Hakyll.
Have questions?
- IRC in #coleslaw on Freenode!
- Subscribe to the mailing list coleslaw@common-lisp.net.
See the wiki for a list of coleslaw-powered blogs.
Coleslaw should run on any conforming Common Lisp implementations but testing is primarily done on SBCL and CCL.
Features
- Git for storage
- RSS/Atom feeds
- Themes
- A Plugin API and plugins for...
plugins | plugins | plugins |
---|---|---|
Sitemap generation | Incremental builds | Analytics via Google or Piwik |
Comments via Disqus | Comments via isso | Hosting via Amazon S3 |
Hosting via Github Pages | Embedding gfycats | Tweeting about new posts |
Mathjax | Posts in ReStructured Text | Wordpress import |
Pygments | colorize |
Installation/Tutorial
Step 1: Install this library.
With Roswell,
$ ros install coleslaw
$ export PATH="$HOME/.roswell/bin:$PATH" # If you haven't done this before
or
(ql:quickload :coleslaw-cli)
Step 2: Initialize your blog repository.
$ mkdir yourblog ; cd yourblog
$ git init
$ coleslaw setup
(coleslaw-cli:setup)
Step 3: Write a post file in the current directory.
The file should contain a certain metadata, so use the coleslaw new
command,
which instantiates a correct file for you.
$ coleslaw new
Created a post 2017-11-06.post .
(coleslaw-cli:new "post")
Step 4: Generate the site from those post files.
The result goes to the deploy/
subdirectory.
$ coleslaw
(coleslaw-cli:generate)
Step 5: You can also launch a server...
$ coleslaw preview
(coleslaw-cli:preview)
Step 6: and watch the file system to automatically regenerate the site!
$ coleslaw watch # or even better,
$ coleslaw watch-preview
(coleslaw-cli:watch) ;; watch-preview does not work on REPL right now
For further customization, e.g. adding a new plugin, developing a new plugin, changing the deploy option, or creating a new theme, see the config docs.
We provide three default themes: hyde, the default, and readable (based on bootswatch readable).
A core goal of coleslaw is to be both pleasant to read and easy to hack on and extend. If you want to understand the internals and bend coleslaw to do new and interesting things, I strongly encourage you to read the Hacker's Guide to Coleslaw. You'll find some current TODO items towards the bottom.