LWN: Comments on "Federated blogging with WriteFreely" https://lwn.net/Articles/782945/ This is a special feed containing comments posted to the individual LWN article titled "Federated blogging with WriteFreely". en-us Sun, 07 Sep 2025 15:24:00 +0000 Sun, 07 Sep 2025 15:24:00 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Jekyll as a static site generator for blogging https://lwn.net/Articles/784051/ https://lwn.net/Articles/784051/ michaelkjohnson <p>Thank you, I had totally not considered that. It would have been simpler. Very good thought.</p> In the meantime, I installed <a href="https://github.com/gsantner/markor">Markor</a> and <a href="https://github.com/maks/MGit">Mgit</a> on my phone and blogged that way after all. Not that <a href="https://musings.danlj.org/">musings.danlj.org</a> has that many visitors, so probably the tree fell in the forest and no one cared whether it made a noise. Tue, 26 Mar 2019 22:37:32 +0000 Jekyll as a static site generator for blogging https://lwn.net/Articles/784006/ https://lwn.net/Articles/784006/ arnout <div class="FormattedComment"> <font class="QuotedText">&gt; I've been thinking about running Git on my android phone to push blog entries when I'm away from my computer</font><br> <p> You can just use the online editor of gitlab, which also allows you to preview md files.<br> </div> Tue, 26 Mar 2019 12:11:27 +0000 webfinger https://lwn.net/Articles/783989/ https://lwn.net/Articles/783989/ thebaer Yep, just followed 👍 (should show up on your stats page), and I can find your existing posts when searching for their URLs in Mastodon. <p>By the way, would love to know more about what caused the misconfiguration if you don't mind sharing, either in our fledgling <a href="https://github.com/writefreely/documentation">documentation repo</a> or <a href="https://discuss.write.as/c/writefreely/installation">our forum</a>. That would help others potentially fix similar issues in the future.</p> Mon, 25 Mar 2019 23:31:43 +0000 webfinger https://lwn.net/Articles/783988/ https://lwn.net/Articles/783988/ corbet FWIW I believe I have fixed this; I'd be curious to hear if things work for people now. Mon, 25 Mar 2019 22:49:53 +0000 Static site generators https://lwn.net/Articles/783982/ https://lwn.net/Articles/783982/ smitty_one_each <div class="FormattedComment"> Excellent.<br> <p> Disqus is just a comments-only plug-in =&gt; <a href="https://en.wikipedia.org/wiki/Disqus">https://en.wikipedia.org/wiki/Disqus</a><br> </div> Mon, 25 Mar 2019 20:26:53 +0000 Static site generators https://lwn.net/Articles/783903/ https://lwn.net/Articles/783903/ downey <div class="FormattedComment"> Can't say with 100% confidence, but pretty sure the commenter did in fact mean Discourse, the wildly popular GPLv2 forum platform.<br> <p> Specifically, embedding comments via this method: <a href="https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963">https://meta.discourse.org/t/embedding-discourse-comments...</a><br> </div> Mon, 25 Mar 2019 14:41:17 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783863/ https://lwn.net/Articles/783863/ thebaer <div class="FormattedComment"> (WriteFreely developer here) It looks like a configuration issue -- the /.well-known/ path isn't accessible to the world. Particularly, Mastodon needs the webfinger route in order to discover the blog -- it's going to hit this URL when looking up the blog: <a href="https://kernelpage.com/.well-known/webfinger?resource=acct:corbet@kernelpage.com">https://kernelpage.com/.well-known/webfinger?resource=acc...</a><br> </div> Sun, 24 Mar 2019 22:06:53 +0000 Static site generators https://lwn.net/Articles/783813/ https://lwn.net/Articles/783813/ spwhitton <div class="FormattedComment"> There is also ikiwiki, one of the first static site generators, which has a web editor too.<br> </div> Sat, 23 Mar 2019 20:08:03 +0000 Static site generators https://lwn.net/Articles/783784/ https://lwn.net/Articles/783784/ smitty_one_each <div class="FormattedComment"> I think you may have meant <a href="https://disqus.com/">https://disqus.com/</a><br> Which is ubiquitous, but you sort of don't know where they're kept and whose getting up to what with them, and that could be irksome.<br> </div> Fri, 22 Mar 2019 23:08:16 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783529/ https://lwn.net/Articles/783529/ alex <div class="FormattedComment"> I suspect there is something else that needs setting up for it. It seems to be a feature of the hosted accounts but I assume there is a knob somewhere you can tweak.<br> </div> Wed, 20 Mar 2019 09:37:50 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783388/ https://lwn.net/Articles/783388/ cdarroch Indeed, and there's at least <a href="https://github.com/torvalds/linux/blob/master/include/asm-generic/word-at-a-time.h#L69">one reference</a> in the Linux kernel source to a lengthy <a href="https://plus.google.com/102150693225130002912/posts/7bKRjV92snH">Google+ comment thread</a> on one of Linus's posts there, regarding the magic behind the implementation of the 32-bit and 64-bit variants of the <tt>count_masked_bytes()</tt> function used in the little-endian implementation of <tt>find_zero()</tt>, which is called, I believe, when hashing and comparing dentry names while walking file paths. <p/> One hopes this and similar historical conversations on Google+ can be preserved somewhere for posterity, with the comments intact. My quick glance through the <a href="https://web.archive.org/web/20190207042144/https://plus.google.com/102150693225130002912/posts/7bKRjV92snH">Internet Archive snapshot</a> of the thread mentioned above suggests the archive copy lacks most of the 124 comments, where the meat of the discussion took place, but I may be mistaken (and I certainly hope so!) Mon, 18 Mar 2019 20:47:54 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783317/ https://lwn.net/Articles/783317/ elboulangero <div class="FormattedComment"> If you're interested in having a web user interface that allows you to write your posts in a web browser (which is apparently what WriteFreely offers), then there is also Ghost to consider. I used it for a while for a small personal blog, I found it quite good. Maybe this article can give you a quick insight in the project: <a href="https://blog.ghost.org/5/">https://blog.ghost.org/5/</a><br> <p> In the end, I found it overkill for my needs, and I prefer the workflow offered by static sites generator (ie. terminal+editor+git). So I switched to Pelican and I'm super happy with it, I give it a 5 stars.<br> </div> Mon, 18 Mar 2019 08:05:47 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783278/ https://lwn.net/Articles/783278/ Yorhel <div class="FormattedComment"> So I'm trying to follow @corbet@kernelpage.com from Mastodon, but I'm not sure how to go about doing that. Normally pasting an address into the search field does the trick, but it's not showing any results now. Has anyone succeeded at it yet?<br> </div> Sun, 17 Mar 2019 12:32:05 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783280/ https://lwn.net/Articles/783280/ madscientist <div class="FormattedComment"> Me too. Maybe worth a LWN article (once things settle down).<br> <p> </div> Sun, 17 Mar 2019 12:28:33 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783269/ https://lwn.net/Articles/783269/ songmaster <div class="FormattedComment"> Jon, as a long-time follower of your posts on G+ I hope you will continue to post such ramblings. I just subscribed to the RSS feed you posted above, the output from WriteFreely looks good in Feedly.<br> <p> I have been following several other kernel dev’s on G+ too, it would be nice to know where they’re going if anywhere — Linus, Alan Cox, etc.<br> </div> Sun, 17 Mar 2019 05:06:52 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783268/ https://lwn.net/Articles/783268/ karim <div class="FormattedComment"> I have to admit that I stopped reading at "Affero".<br> </div> Sun, 17 Mar 2019 04:32:02 +0000 Static site generators https://lwn.net/Articles/783250/ https://lwn.net/Articles/783250/ gdiscry <p><a href="https://www.getlektor.com/">Lektor</a> has not been mentioned yet. It provides a web interface to edit the content and there is a clear separation between the structure of a site and its content.</p> Sat, 16 Mar 2019 20:18:35 +0000 Static site generators https://lwn.net/Articles/783245/ https://lwn.net/Articles/783245/ edgewood Any you could recommend? I support the web site of an organization I'm involved with, and they went with WordPress a few years ago to allow it to be updated by nontechnical users. I think I've finally got it locked down mostly satisfactorily, but it would be nice to test a more secure but still friendly alternative. Sat, 16 Mar 2019 17:24:49 +0000 Downloading packages https://lwn.net/Articles/783237/ https://lwn.net/Articles/783237/ ms <div class="FormattedComment"> No problem. Glad I could help!<br> </div> Sat, 16 Mar 2019 14:25:44 +0000 Downloading packages https://lwn.net/Articles/783235/ https://lwn.net/Articles/783235/ corbet OK, clearly I'm pretty ignorant about how Go packaging works, and it's not as bad as I had feared. Thanks for enlightening me. Sat, 16 Mar 2019 14:23:27 +0000 Downloading packages https://lwn.net/Articles/783234/ https://lwn.net/Articles/783234/ ms <div class="FormattedComment"> "go get" inspects the go.mod and go.sum files in the root of the project.<br> <p> <a href="https://github.com/writeas/writefreely/blob/master/go.mod">https://github.com/writeas/writefreely/blob/master/go.mod</a><br> <a href="https://github.com/writeas/writefreely/blob/master/go.sum">https://github.com/writeas/writefreely/blob/master/go.sum</a><br> <p> There's been an awful lot of thinking that has gone into this mechanism, and whilst it's not quite finished in Go 1.12, it's pretty close these days. There's a lot of writing about it all at <a href="https://research.swtch.com/vgo">https://research.swtch.com/vgo</a><br> <p> </div> Sat, 16 Mar 2019 14:12:58 +0000 Downloading packages https://lwn.net/Articles/783231/ https://lwn.net/Articles/783231/ corbet From my reading, it's using a bunch of "<tt>go get</tt>" commands, with no version pinning in sight anywhere. Are those version strings hidden somewhere that I'm unaware of? Sat, 16 Mar 2019 13:56:06 +0000 Static site generators https://lwn.net/Articles/783225/ https://lwn.net/Articles/783225/ smurf <div class="FormattedComment"> So is Nikola.<br> <p> Some of the static-site systems even have a Web editor, which sounds strange but happens to be quite convenient.<br> </div> Sat, 16 Mar 2019 11:05:14 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783220/ https://lwn.net/Articles/783220/ ms <div class="FormattedComment"> Re building and "downloading several dozen packages". The project is at least using go.mod and so the downloads are fully pinned to git commits/tags and checksummed. So it's not quite the wild west of "let's just download the latest version of foo and hope for the best". Personally, I much prefer pointers to vendoring all your deps, but I know opinions differ on that.<br> <p> They're using the built-in Go webserver which as far as I know has an excellent security record - I would have no worries about exposing it directly to the internet; I have used it a lot commercially/professionally.<br> <p> The template language *is* documented. It's the standard Go templating system. <a href="https://golang.org/pkg/text/template/">https://golang.org/pkg/text/template/</a> <a href="https://golang.org/pkg/html/template/">https://golang.org/pkg/html/template/</a><br> That said, I agree about documenting which resources/methods/vars are available to the templates. The template entry point is Execute or ExecuteTemplate, and the last arg to that is always the "receiver" for the template, but eg <a href="https://github.com/writeas/writefreely/blob/cb1bd37f64abca9df7e0be234943aa30e4a15514/templates.go">https://github.com/writeas/writefreely/blob/cb1bd37f64abc...</a> is unhelpful given it comes in as the empty interface. Generally I consider use of the empty interface in Go as a code smell... <a href="https://github.com/writeas/writefreely/blob/32e99d00415c6e86a9536d9b824dcdf0b119270d/app.go#L153">https://github.com/writeas/writefreely/blob/32e99d00415c6...</a> is somewhat more discoverable. OTOH, depends on the intended audience - I've been working professionally in Go for over 5 years now so I have no qualms digging through this.<br> <p> Just FTR, I've no association with WriteFreely and have never heard of it or looked at the code base before this morning.<br> </div> Sat, 16 Mar 2019 10:32:10 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783216/ https://lwn.net/Articles/783216/ xanni <div class="FormattedComment"> I tried to subscribe to either your RSS feed or your ActivityPub feed with Hubzilla, but unfortunately neither worked.<br> </div> Sat, 16 Mar 2019 09:17:18 +0000 Static site generators https://lwn.net/Articles/783215/ https://lwn.net/Articles/783215/ pbonzini <div class="FormattedComment"> The QEMU website uses Jekyll, which also powers GitHub pages. One advantage for us was that contributions are done with the usual mailing list workflow.<br> <p> A couple years ago I wrote a tutorial at <a href="https://opensource.com/article/17/4/getting-started-jekyll">https://opensource.com/article/17/4/getting-started-jekyll</a> based on my experience building qemu.org.<br> </div> Sat, 16 Mar 2019 08:37:09 +0000 Static site generators https://lwn.net/Articles/783203/ https://lwn.net/Articles/783203/ zlynx <div class="FormattedComment"> Static sites can have comments. You just arrange things to generate a new static page which includes the comment after a comment is posted.<br> <p> That takes the same amount of time as generating a dynamic page and can be reused by every visitor until a new comment is added.<br> </div> Sat, 16 Mar 2019 02:38:38 +0000 Jekyll as a static site generator for blogging https://lwn.net/Articles/783197/ https://lwn.net/Articles/783197/ michaelkjohnson I recently moved to using jekyll as the static site generator for <a href="https://musings.danlj.org/">my blog</a> — I just git commit and push, and shortly thereafter it's updated. I like being able to track my blog history in Git. I've been thinking about running Git on my android phone to push blog entries when I'm away from my computer, but somehow it doesn't seem sufficiently important. ☺ Sat, 16 Mar 2019 01:01:36 +0000 Static site generators https://lwn.net/Articles/783196/ https://lwn.net/Articles/783196/ ay <div class="FormattedComment"> You can still have comments in static site generators by hooking up to Discourse. That's what many people do with GitHub pages or gitlab hosting. <br> <p> A static site generator makes a lot of sense to me since it's easy to host (even for free) and nothing of value is lost versus a CMS type system.<br> </div> Sat, 16 Mar 2019 00:31:24 +0000 Static site generators https://lwn.net/Articles/783191/ https://lwn.net/Articles/783191/ me@jasonclinton.com <div class="FormattedComment"> I use <a href="https://github.com/getzola/zola">https://github.com/getzola/zola</a> .<br> </div> Fri, 15 Mar 2019 22:43:21 +0000 Static site generators https://lwn.net/Articles/783190/ https://lwn.net/Articles/783190/ andrewsh <div class="FormattedComment"> I use Pelican, it’s written in Python, which is (for me) a huge benefit over Jekyll and its derivatives, since it’s written in a programming language I can actually understand and write in.<br> </div> Fri, 15 Mar 2019 22:42:21 +0000 Static site generators https://lwn.net/Articles/783188/ https://lwn.net/Articles/783188/ rahulsundaram <div class="FormattedComment"> Nikola, Hugo etc seem to do everything that you appear to care about in WriteFreely. They are also far more healthier projects with a larger set of contributors and users. They are not federated and there is no activitypub support etc but it looks like all you need is a static site anyway.<br> </div> Fri, 15 Mar 2019 22:35:30 +0000 Static site generators https://lwn.net/Articles/783187/ https://lwn.net/Articles/783187/ corbet I've not looked at static site generators, probably should. Can you name the one you're using? <p> The lack of comments leaves me rather less than upset in general...the last think I need is another comment area to manage! Fri, 15 Mar 2019 22:29:16 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783184/ https://lwn.net/Articles/783184/ me@jasonclinton.com Have you considered a static site generator? They seem to be all the rage and I'm quite happy with the one that I'm using. Most of them allow authorship in Markdown and the images that are embedded in the posts are uploaded with the rest of the static content so there is no image hosting problem, per se. No comment section, of course. But some offer integration with Discuss or other options. Or, since the comment sections on the internet are always difficult to manage, you can avoid tcomment section entirely. Fri, 15 Mar 2019 22:20:29 +0000 Federated blogging with WriteFreely https://lwn.net/Articles/783181/ https://lwn.net/Articles/783181/ unixbhaskar <div class="FormattedComment"> Looks interesting Jon! <br> </div> Fri, 15 Mar 2019 21:26:08 +0000