'There's no need to build a labyrinth when the entire universe is one.'

95 points•schonfinkel•about 2 months ago•20 comments•

20 comments

throwaway81523about 2 months ago
I don't understand why gleam and pandoc are in there. Org-mode can already generate HTML. A little bit of Emacs Lisp turns it into a blogging engine.

https://ahungry.com/blog/2013-04-01-blogging-with-org-mode.h...

schonfinkelabout 2 months ago
I mentioned org-publish late in the post, I do have my own personal blog built atop of it (and nix as well), this current setup with Gleam is more like an experiment and I get a lot of stuff for free that took me a while to get it working in my personal blog (like syntax highlighting, rss, etc), and I'd still argue that my templating system in pure elisp + crappy html sucks.
OhSoHumbleabout 2 months ago
Probably because they wanted... to?
lukasschwababout 2 months ago
More byzantine that way
4b11b4about 2 months ago
lol yeah this should just be a pile of elisp
e3bc54b2about 2 months ago
Current iteration of my blog is pure Elisp (org-publish). It is very simple. I like that I understand effectively whole thing bottom-up, and making any changes to machinery by advising Elisp is ridiculously easy. Being able to export the whole buffer with exact looks and feel of my Emacs theme is cherry-on-top. I like the overall feel of the thing, it has everything I need and nothing more.

My only gripe is that it is quite slow. My blog is pretty small, so having to wait on Emacs to build the whole thing is not fun. If my blog ever gets in the range of needing to compile hundred plus posts, I'll be seriously looking at alternatives. But until then, I get to enjoy just writing posts and exporting them with single keystroke.

malkostaabout 2 months ago
mine has no org-mode...which is fine...I like markdown:

find . -name '*.md' -type f -exec sh -c '

  for file do  
    out="docs/${file#./}"  
    out="${out%.md}.html"
    mkdir -p "$(dirname "$out")"  
    pandoc --quiet --template template.html "$file" -o "$out"  
  done  
' sh {} +
wilkystyleabout 2 months ago
So simple, I love this.

As a long-time Emacs user, I also prefer Markdown (and by a wide margin). I have tried so many times over the years, even going all in for a time with Beorg on iOS. But I always come back to Markdown.

Part of it is that I just prefer the Markdown syntax to everything else, but the other part is that I just don't care to use much of the (admittedly super cool) machinery around org, such as task capture, calendars, etc.

writtenoneabout 2 months ago
I prefer to write words not code. I use WordPress because it hides all the complexity and lets me just write instead of messing with Markdown (or an entire separate system), CI pipelines, custom markup hacks for page features, Emacs cruft, etc..

Yeah WordPress is a security nightmare, but Ghost's editor sucks and there's no viable open-source alternatives with modern security and features.

Telemakhosabout 2 months ago
Someone who spends his day in emacs writing code and org-mode for work will have the muscle-memory and lisp knowledge to make emacs and org-mode as easy for him as WordPress is for you.

I've been subscribed to a mailing list for many years, of which perhaps half I actively participated in the mailing list. Almost the entire time I used alpine, a terminal mail client, hosted on a remote server, getting its mail from and sending it through gmail. A stupid setup, perhaps, but it was productive, and I wrote. Since giving up that setup (I wiped and repurposed the server) and trying to use gmail's web interface or Mac's mail application, I've been silent. So, I understand the author's desire for a setup that might seem arcane or byzantine: sometimes there's something about such a system that is comfortable and keeps you writing.

BeetleBabout 2 months ago
People using Emacs who prefer to write words already are writing them in org mode. For them, switching to Wordpress means having to use a different system to write words.

The whole export, pipeline, publish, etc is precisely so they can continue to write just words. Once you've got a setup you like, you stop fiddling and just type.

My own org mode flow has been stable for almost 7 years. I just add an entry to my org mode file, and with a few commands (or recipe), have it up on the site.

prmoustacheabout 2 months ago
By that logic you don't even need wordpress complexity, you can just make static html pages out of any office text editor or any wyiwyg html editor (like seamonkey composer).
reachableceoabout 2 months ago
Ghost can take markdown files.

Write the .md in VsCode and use the ghost extension ?

misterdj1about 2 months ago
I use org-mode (mainly for vocabulary-building in English and other languages), but I steer clear of its complicated html-compiling functions, as I have a hard time remembering all the different options and keybindings.

I also prefer Elixir to Gleam, but I still think this is a pretty neat setup!

Read the full thread on Hacker News →

Related stories