muety / wakapi

📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics

Home Page:https://wakapi.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sync past heartbeats to WakaTime

alanhamlett opened this issue · comments

Ability to sync heartbeats to WakaTime. Currently you can only download from WakaTime, so just need to add the other direction.

Work towards this was started but not finished in #87.

Wakapi features the option to relay / clone incoming heartbeats, but there currently is ability to also copy past heartbeats. What would be the recommended way to accomplish this is an efficient manner on WakaTime's end? Is there an import-endpoint or something?

The POST Heartbeats endpoint is currently the only way, but it only allows heartbeats from the last 180 days.

I see, so it's only party suitable for data imports. I'm not exactly sure how many people would use this feature. I'd assume the usual way is to export from WakaTime to Wakapi instead of vice versa.