-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data dump / exporting functionality #453
Comments
I saw
I just want to download this data locally. Not use another instance. |
Hi @boehs, downloading data locally is not supported, only migrating to another (local) Wakapi instance. |
So does that make this a feature request? |
A "workaround" would be to (temporarily) host your own Wakapi instance, run the import and then just export your database's I'm considering to add dumping / exporting functionality as a feature, but would like to spend a bit more time on planning this out. Best would be to simply mimic WakaTime's Relates to #323. |
Here's an example for a heartbeats dump from WakaTime: Looks quite straightforward. We won't have most of the And here's an example for the "daily totals" export: We're not tracking Note: large parts of the original data in the above samples was removed / redacted for brevity. |
I feel like this is important to do before the data is deleted from past years |
Agree, but won't promise I'll get to this before end of month. Spinning up your own Wakapi instance and importing data to there would be a safer bet for now. |
Sounds good |
I'll try my best, though! Maybe a temporary solution would be a script to run locally, that just pulls data from Wakapi's standard API endpoints. I'll keep you posted! |
Thanks for all the thought man. |
I created this script to download raw heartbeats from Wakapi. Hope that helps! |
I took the liberty of translating this script into Nim. |
Very cool, thanks a lot! 🙌 |
I decided to not build exporting functionality into Wakapi directly, but instead have the above mentioned download script as the official way to dump heartbeats. Will add instructions to the readme. |
Before the change where old data is deleted, I would like to export my data, but I can't find an option in the settings. It's very likely I'm blind, but I could use a little bit of guidance :)
The text was updated successfully, but these errors were encountered: