Blogging program written in Clojure/ClojureScript.
- First class org-mode support
- Use Emacs itself to convert Org files into HTML
- Embed Clojure/ClojureScript code in a org mode file (more on here)
- Static generated site, single page applicatoin after rehydration on the browser.
- [TODO] Optional JavaScript-free
- Warning: early stage of development, expect:
- excessive debug logging
- not user-friendly error log
- unhandled (not so) edge case
- undocumented usage
- Pull the latest docker image
docker pull coruscation/cerulean:latest - Create a directory, say
workspacemkdir workspace cd workspace - Init the workspace
docker run --rm -it --user 1000:100 -v ./:/cerulean/workspace coruscation/cerulean:latest initIt will create a configuration file:
config.ednand a demo blogblogs/demo.org. Check theconfig.ednfor available configuration andblogs/demo.orgfor example usage.Documentations are working in progress.
- Build the workspace
docker run --rm -it --user 1000:100 -v ./:/cerulean/workspace coruscation/cerulean:latest buildThe generated static pages are put in
docsdirectory, readly to be served under static site hosting service, e.g. Github Pags.
- Watch the workspace
docker run --rm -it --user 1000:100 -p 8083:3001 -p 9630:9630 -v ./:/cerulean/workspace coruscation/cerulean:latest watchOpen the browser at
localhost:8083.Then edit the
blogs/demo.orgto see the result reflect on the web page.(Note: this function is not fully supported as of now, refresh the page if necessary)