A few weeks ago, I discovered the amazing "Nash: standalone HTML editor".
It is a notion-like interface(minus the complexity) that allows you to write any content in a single HTML file and publish it as such.
I managed to modify the template from their GitHub repo, wrap it with a Go script to save it to my backend.
Here's my Go implementation: hemanta212/nash-go.
My workflow now includes:
1. Go to https://til.hemanta.dev/write
2. Write ....
3. Hit save, it asks for the filename and security token... then done
The script takes care of saving the file; I also run a bash script, `observer.sh`, which detects file changes and tracks them with Git, pushing to the remote.