Publish daily notes to my Zettelkasten from Bike

I’m tinkering with the idea of using my Bike journal to publish to my Zettelkasten directly.

Blogging with Bike

I don’t use month based files anymore in Bike, I create a new outline for each day.

My Zettelkasten is a Jekyll based site, so I have to work with Markdown content.

It would be nice if I could convert these notes to Markdown files, then publish them to my Zettelkasten site directly.

I found this project which does exactly this.

~jonsterling/bike-convertors – Scripts to convert Bike outlines to idiomatic HTML and Markdown. – sourcehut git

In theory, I would use my publish script to manage the Zettelkasten daily notes in the same pipeline as my WordPress posts.

Publish from Bike to Decoding

Daily notes would be pre-filtered though.

I just export notes with the ZETTEL marker only.

I have to create a new Bike document for each entry before converting it to Markdown because I want to have separate notes for each entry, not just one big daily note.

I could use a daily Markdown file and keep that open in The Archive app, but I want to use Bike for this, because it is the best thinking and outliner tool.

Also I’m already writing my journal in Bike. I don’t want to have another app.

As an interim solution, I created a Keyboard Maestro macro which copies and pastes the current entry into Drafts (and also converts it to Markdown), where I can post it manually.