How doable is this project? ActivityWatch -> LLM to summarise

My end goal would be to feed my ActivityWatch data into an LLM, so it “summarizes” it for me. Basically the Timeline and Activity are not really useful for me. I use ActivityWatch to “remember” what I was doing at certain points during the day. But I tend to jump from one thing to another, and most happen in my browser. While everything gets tracked, I have 1000s of events in different tabs, making it hard to know “what was I doing from 4pm to 5pm?”.

Anyway. I’ve been looking into the API. Getting the events is easy enough, but the first issue is that it only accept localhost requests.

I was planning to use n8n. Get the data, and send it to LLM. I don’t care much about security, so don’t worry about that for me. But my n8n instance lives in my server with Home Assistant. And to date I haven’t found a ActivityWatch add-on for HA. It wouldn’t be able to track the PC anyway, so it’s over-complicating things.

Maybe I’d need an n8n instance in my PC too?

I just wanted to ask how viable something like this is to achieve. I’m no dev myself, I’m just (barely) able to use an API and play with data.

Please look at GitHub - AlexanderMakarov/activitywatch-ets: Converter of ActivityWatch data into ETS (time cards) data.. There is a relevant discussion in LLM / GPT / ChatGPT Question answerings using ActivityWatch data

Thanks!

I had a skim read in there but it seems there’s not much progress in the area. I don’t see LLMs as an extension like other tools. I’m no dev and can’t use python myself and barely CLI, hence why I was looking into an n8n solution to integrate the APIs.