what is currently considered a good blog engine, written in Clojure?

196 views
Skip to first unread message

lawrence...@gmail.com

unread,
Dec 12, 2020, 4:52:43 AM12/12/20
to Clojure
Hello everyone. I've been away from the Clojure community for the last 2 years (nowadays I do more managing than programming) but I'm starting a new blog. I tried to use Wordpress on the theory that it is "easy" and also because I've been told they fixed their old security flaws, but I installed the latest version and it was hacked in less than a day, so now I'm feeling unkindly towards Wordpress. 

I'm looking for a blog engine, which can use a database or flat files, I don't care. 

The main thing I need is a working comment system, with an ability on my side to whitelist particular commenters. Does anything like that exist written in Clojure?

I'm very grateful, if anyone can point me to something that works, and is reasonably maintained. 

Andrea Richiardi

unread,
Dec 12, 2020, 9:14:31 PM12/12/20
to Clojure
I like a lot and using perun for www.andrearichiardi.com

The workflow is great but unfortunately work on boot and perun has stagnated a bit. Trying to give it a bit of love as we speak!

Sean Corfield

unread,
Dec 12, 2020, 11:31:19 PM12/12/20
to Clojure Mailing List
I think a lot of people use Cryogen: Simple static sites (cryogenweb.org) -- I used to use Octopress, based on Jekyll, and switched to Cryogen recently. For the commenting system, I've used Disqus for a long time. And I host on GitHub (via seancorfield.github.io and a custom corfield.org domain).

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/3cb3a068-a916-4bd4-925f-cd71744908dcn%40googlegroups.com.


--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- https://corfield.org/
World Singles Networks, LLC. -- https://worldsinglesnetworks.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

Christopher Small

unread,
Dec 13, 2020, 3:11:32 AM12/13/20
to Clojure

Oz (in addition to being a dataviz tookit) has evolved into the realm of static site generation, complete with live code reloading. Simply

(require '[oz.core :as oz])

(oz/build! [{:from "site-src/pages" :to "build"}])

This will set up a filesystem watch on the site-src/pages directory (of markdown, or edn/clj files with hiccup), and every time the file changes will output compiled html to the build directory, as well as update a live view of the most recently edited page.

Note that you can specify multiple such build specifications, in case different pages need to be rendered differently (e.g. different template/layout/styling).

(defn blog-template [hiccup]
  [:div {:style {:extra :styles}}
   [blog-sidebar]
   hiccup])

(oz/build!
  [{:from "site-src/pages" :to "build"}
   {:from "site-src/blog" :to "build/blog" :template-fn blog-template}])

There’s plenty more to say, but I’ll leave it for the docs:

https://github.com/metasoarous/oz#static-site-generation

To my knowledge, this is the only static site rendering framework in Clojure with live-code reloading. I’ve been thinking about extracting this functionality into a standalone library without all of the data visualization business, but it’s a bit of an invasive operation. As it stands, it’s a bit hard to discover these features amidst everything else Oz provides, so I would appreciate feedback on this.

I you try it out, please let me know how it goes for you.

Thanks

Chris


Eugen Stan

unread,
Dec 13, 2020, 12:05:01 PM12/13/20
to clo...@googlegroups.com, metas...@gmail.com
On 13.12.2020 10:11, Christopher Small wrote:
> Oz (in addition to being a dataviz tookit) has evolved into the realm of
> static site generation
> <https://github.com/metasoarous/oz#static-site-generation>, complete
I'm also using Cryogen Web.
I had pretty good experience with it.
It's not as developed as more popular static website generators but for
me it is good enough.
It also received some contributions lately so it should work even better.

I wanted live reload while working on content/themes and wrote this
guide on how to integrate it -
https://www.ieugen.ro/posts/2020/2020-11-14-live-reload-for-cryogen-web/ .

(The website is is hosted with Cryogen Web
https://gitlab.com/ieugen/ieugen-ro ).


Thank you for sharing the other options, I did not know about them.

Eugen



lawrence...@gmail.com

unread,
Dec 13, 2020, 2:21:02 PM12/13/20
to Clojure
Thank you everyone.
Reply all
Reply to author
Forward
0 new messages