Sync Obsidian to GitHub

April 17, 2025

What this is Something that will, from obsidian entirely, allow me to publish new files easily. It should, in one command from obsidian, publish the file to the website.

How it will work

  • obsidian plugin
    • gets files that have been changed
    • packages up a file and sends it up to a worker
  • the worker
    • scan the file and make sure all is good, making sure the markdown is all okay
    • commit the file to the git repo

Tasks to be done

  • add the worker to the repo
  • set up worker builds CICD
  • test it out - curl or similar - and make sure it works
  • obsidian plugin
    • modify it to push the file to the new worker
    • it should run as a command

https://github.com/ciaranshan/obsidian-publish

Part II Just make the publish plugin and let that publish to github without the worker part

  • set it up properly
    • migrate all existing files across
  • testing images, links, etc.
  • review the code
  • open source
  • write a blog on how to use