## BLOG CREATOR This creator requires you to use a working Trilium Instance and create a .env file with the following ``` TRILIUM_HOST TRILIUM_PORT TRILIUM_PROTOCOL TRILIUM_PASS ``` This container is going to be what I use to trigger a blog creation event To do this we will 1. Download a Note from Trillium (I need to work out how to choose this, maybe something with a tag and then this can add a tag when it's used? each note is a seperate post, a tag to indicate if it's ready as well?) `SELECT NOTES WHERE blog_tag = true AND used_tag = false AND ready_tag = true?` 2. Check if the ollama server is available (it's currently on a box that may not be on) - If not on stop 3. `git pull git.aridgwayweb.com/blog` - set up git creds: git.name = ai git.email = ridgwayinfrastructure@gmail.com get git password stored (create service user in gitea for this) - `git config set upstream Auto true` 4. cd /src/content 5. take the information from the trillium note and prepare a 500 word blog post, insert the following at the top ``` Title: