Ideas to Automate Zettelkasten Publishing
#Zettelkasten, #Digital Garden
Zettelkasten -> Evergreen Blog pipeline can be implemented in the following way:
- Implement scripts that would take content of embedded notes and embed it into the post outlined notes
- Add those scripts as git hooks for Zettelkasten
- When Zettelkasten is pushed to github it would trigger the scripts
- When posts are re-built they can be re-published to a Ghost Blog.
Since I already have a few Swift scripts for processing notes I can comfortably use Swift for that: How to Run Swift Script From CLI
References
- A command-line tool for executing git hooks in Swift
- GitHub - didix21/Shusky: A command-line tool for executing git hooks in Swift :dog2:
- How to build better command line apps and tools using Swift? - The.Swift.Dev.
- How to write Swift scripts using the new Command API in Vapor 4? - The.Swift.Dev.
- GitHub - vapor/console-kit: 💻 APIs for creating interactive CLI tools.
Comments