Publish Org Mode file to

Logo Emacs

Recently, I discovered WriteFreely.el, an Emacs extension to publish and update Org-mode files as posts on any WriteFreely instance (such as, as the default instance).

So I decided to give it a try and I added those lines to my Emacs configuration file :

(setq epa-pinentry-mode 'loopback)
(use-package writefreely
  :ensure t
  :hook org-mode
  :config (load (expand-file-name "writefreely-auth-token.el.gpg" user-emacs-directory)))

The writefreely-auth-token.el.gpg file contains the token which allows writefreely.el to publish on my behalf. Here is its content :

;;; -*- epa-file-encrypt-to: ("e-mail address used to generate the key") -*-

(setq writefreely-auth-token "my-token-I-should-keep-secret")

I encrypted this file thanks to instructions found on (It was the opportunity to generate my GnuPG key!)

Disclamer : this article was originally written in Org Mode with Emacs ;–)

Thank you very much for reading this article!

Don't hesitate to give me your opinion, suggest an idea for improvement, or ask a question! To do so : contact me.

Don't miss out on the next ones...

  1. articles via Mastodon and RSS
  2. screencasts via Peertube and RSS

And more importantly, share this blog and tell your friends it's the best blog in the history of Free Software! No kidding!

#linux #emacs #orgmode #english