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

2020-12-13 Thread lawrence...@gmail.com
Thank you everyone.

On Sunday, December 13, 2020 at 12:05:01 PM UTC-5 stan@gmail.com wrote:

> 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 
> > , 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
>
> 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
>
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/cba779ad-3c87-4b60-80a2-705ff7b517c4n%40googlegroups.com.


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

2020-12-13 Thread Eugen Stan

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 
, 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


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



--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/8b63c87f-e01b-2fea-14bd-b6d8aa3bfe72%40gmail.com.


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

2020-12-13 Thread Christopher Small


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


On Saturday, December 12, 2020 at 8:31:19 PM UTC-8 Sean Corfield wrote:

> 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).
>
> On Sat, Dec 12, 2020 at 1:53 AM lawrence...@gmail.com <
> lawrence...@gmail.com> wrote:
>
>> 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. 
>>
>> -- 
>> 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)
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/45b2e71e-cbe3-486d-a074-37b608103613n%40googlegroups.com.


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

2020-12-12 Thread Sean Corfield
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).

On Sat, Dec 12, 2020 at 1:53 AM lawrence...@gmail.com <
lawrence.krub...@gmail.com> wrote:

> 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.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@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)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAD4thx9zO5G9%2BK7jV%2BGRkYqLXh4oq%3DEsixYhZOvMkDoueFAuVA%40mail.gmail.com.


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

2020-12-12 Thread Andrea Richiardi
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! 

On Saturday, December 12, 2020 at 1:52:43 AM UTC-8 lawrence...@gmail.com 
wrote:

> 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. 
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/d4f44ff3-4f31-4716-90f3-e20601227fe7n%40googlegroups.com.