Building Quill, a markdown editor that speaks my website’s language
Back in the renaissance period, there might have been a bloke noting things down with his quill. I can immagine a goose minding her own business and then a pluck happens. While the goose continues scratching her butt, the bloke might be already noting down poetry, literature or a saucy letter to the beloved one.

Fast forward to today.
I am that bloke using the Quill. Except I don’t source mine from ravaged geese.
Quill, you said?
Every post on this site starts life as a collection of thoughts. Usually disorganized, ill digested ideas that find place to be refined, into thoughtful and functional systems, products or simply … tools. Well, not always. Sometimes as it happens, ill digested idea remain just that ~ nonsense.
But from time to time, that million watt brainwave kicks in, an epiphany in spirit and perfection in body. That’s Quill.
What it is
Quill is a small desktop app for authoring posts. It’s written in Rust on top of GTK4, with a GtkSourceView editor on the left and a live WebKit preview on the right. The preview isn’t generic markdown ~ it mirrors my site’s actual typography and light/dark Gruvbox theme, so what I see while writing is very close to what gets published.
The part that matters: it outputs the right shape
The whole point of Quill is that its on-disk format is my website’s ingest
format ~ not an export step bolted on at the end. When I save a post, I get a
folder named blog_my-slug/ containing a post.md with YAML front matter and a
media/ folder. That drops straight into my site’s incoming/ pipeline with
zero reshaping.
This is how Quill looks like

But why build a custom editor?
Well, couple of reasons. I wanted to explore GTK4 a bit, to get more close to UI functions and paradigms. And mostly because I can’t digest the classic File, Edit, etc menu types of things. If there is a button in the UI that I might want to press, the last thing I wish is to search for is burried in endless menus.
Aha, but there is another reason for Quill. Quill is not just a markdown editor. Inside its bowels, it contains a media optimizer. Both ~ Image and Video. And soon, also sound.
In a pub, a discussion about Quill could look like this:
Bloke: "Yes - but there are tools out there that do that. There are even more
sophisticated systems that do exactly what you need."
Me: "I know, but I don't care. Quill is **mine**, for **my** website".
Bloke: "You are crazy?".
Me: "I never claimed otherwise. Fact is, Quill optimizes images and video for my
website in a way where i do not care what i put in it - i know the right or
sensible output will be produced. It uses Rust Crates - Statically linked to the
binary for images, and a subprocess for ffmpeg - for video files. For sound ?
Only god knows, because i haven't written it yet.
Bloke: "OK, what else?"
Me: "Well, integrated tensor computation for example, so i can load smaller LLMs
to do basic spell check and generative text". Oh, and a funny button called 80 -
that's because it reformats the whole text into 80 column width."
Me: "I also use it to edit any Markdown file. That's because of the preview it offers."
What’s next
A proper metadata panel for tags and descriptions, and eventually a LaTeX PDF export so every post has a typeset download. But the core loop ~ write, save, ingest ~ write, save, ingest finally feels like one tool instead of three.