|
|
|
|
|
by marban
1896 days ago
|
|
The real problem with any SSG is where to host and edit Markdown files and images for flexible spur of the moment content creation. I've built my own Wordpress-export-to-static solution to use the native iOS App as a workaround but it feels somewhat clunky — Same with having to run a headless CMS for this in the background; Surprisingly with all the gazillion of MD editors, no one has ever built one with live editing files in, say, S3 + allowing to upload assets.
And no, I don't consider content composition in a terminal window to be an inspiring environment because I'm a sucker for aesthetic apps. Addendum: Mobile is just an added bonus. Best solution for me would be iA Writer as an editor, native image upload to a bucket like S3 and Apple allowing me to tap into these iCloud hosted .md files via an API. Then use a simple script to put the pieces together and move the stuff to Netlify or wherever. |
|
I set up an action that gets dispatched once an issue with the label "post" is opened. It then takes that, creates a markdown file with that content and creates a commit. The original issue is then closed.
For more convince, I also have an issue template called "Blog Post", which has already the label set etc. Then, you can bookmark/pin a link to the new issue on your phone's home screen.
I found myself using that instead of git, even if I have a fit client and the repository already cloned.
Currently, it does not support issues where the "post" label is added after issue creation (would be useful for drafts). But it would be entirely possible, as well as image/media/file support.