My LLM prompt for chat summaries
A reusable prompt for turning a long chat into a practical record of decisions, work completed, and next steps.
I’ve been working a lot recently on partkeepr-ng which is a rewrite of PartKeepr. I got it implemented on my Debian box and did some work on the API after getting my original data migrated. It’s going to be really nice; and a modern programming environment opens up possibilities that the old PHP version could no longer deliver. More on all of that later.
The Indigo SQL Logger plugin can save device states to a local SQLite database that is stored in Indigo’s current version support directory. But where is that directory and how can our scripts access it agnostic of the current version of Indigo?
It turns out that the server exposes its log directory path:
indigo.server.getLogsFolderPath()
Then to get the path to the device state database:
import os
db_path = os.path.join(indigo.server.getLogsFolderPath(),
"indigo_history.sqlite")And as an example:
fancy_quote shortcode for Hugo for fancier quotes