Skip to content

Instantly share code, notes, and snippets.

View korikori's full-sized avatar

Prehistoric Dog korikori

  • Sofia, Bulgaria
View GitHub Profile
@korikori
korikori / joplin-to-web.md
Last active October 10, 2024 10:52
Export Joplin notes to web

Why

I was thinking of writing a Joplin plugin to export notes to HTML pages hosted somewhere so that I could easily share with others who do not necessarily use Joplin and/or are not on the same server as me, but then I figured this can be achieved with existing tools, so there.

How

You will need a publicly accessible web server with a Git repository (i.e. GitHub Pages should work). Install the JoplinExport2GitRepos plugin - it already exports individual notes as .md files, so you will also need something to turn those files into pages. I like MDwiki as it's dead simple, but you could overcomplicate this step to your heart's content.

Clone the repository locally, and then save the directory in the plugin's settings - the plugin's export action already commits to Git by default, so you only have to do a git push after that. You could either schedule it or use the plugin's convenient "Execute a Batch Script" op