# Auto Journal
#proj/autojournal
## Summary
Simple LLM summarizer of all digital conversation, starting with imessage and the bundled imessage-exporter.
This was an initial foray into vibe coding. I've previously used [imessage-exporter](https://github.com/ReagentX/imessage-exporter) to download some messages. The idea is simple -
1. take the last days texts
2. send them off to a local LLM (or chatgpt upon request) for a simple summary
3. Format the summary for use in obsidian or other personal journal
iMessage-exporter exports only phone numbers and email addresses assocaited with iMessage itself (so no SMS messages are included at the moment, alas). This means that extra work needs to be done to include contact information. Currently what we've done is downloaded all contact information from my Address book as a contacts.vcf file. From there, this is converted into a CSV to load into memory when generating summaries. Any time a phone number is seen in the text, it is replaced with the mapped name.
---
## Thoughts
- ~~Honestly this would work better as an obsidian plugin, given my need for it to be embedded in my journal.~~
- So I made it into a plugin. For some reason I'm not able to get the plugin to run a shell command directly. I haven't tried particularly hard, but that would be ideal. maybe also an install script, so that if I were to install this on another instance of Obsidian it would work immediately out of the box.
---
## Tasks
- [x] Convert Autojournal into an obsidian plugin - There needs to be
```dataview
TASK
from #proj/autojournal
where !completed
and contains(tags, "proj/autojournal")
group by link(file.name)
sort due asc
```