-
-
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
[Feature] Import WakaTime data by uploading JSON file #321
Comments
I like it. There could be "just" another importer besides the WakaTime one, e.g. a Right now, we don't have a leaderboard yet, so we can postpone these thoughts to later. But probably, I'd offer an option to exclude heartbeats from certain import sources from the leaderboard then. |
Yeah, this is a barrier of entry for me. A deal breaker: I can't move to Wakapi if I can't take my old time with me. |
What is the structure and format of your old data? |
@muety Here are my Kotlin data classes modeling the JSON exported by WakaTime (heartbeats):
|
WakaTime also has an option to export summaries. Here are the classes for that (note that in the previous list, a question mark means that the variable can be null; in this list, I was not as careful to mark what can be null or not):
|
You can use Wakapi's WakaTime import feature. Go to Settings -> Integrations -> WakaTime. |
@muety I would like to work on this feature. Would you accept a PR? |
Thanks, that'd be great! |
This throws a 402 Payment Required outside of the last two weeks of activity, which is not desirable. Is there any progress on this feature? |
Not yet, but I'll bump priority to A. I'm planning to dedicate a whole one or two days to Wakapi somewhere in the next week to push out a batch of bug fixes and new features. Perhaps this will be included. |
Update: Won't implement JSON import, but instead directly integrate with WakaTime's data dump API, see #323. |
Currently, WakaTime has a feature that allows you to export your heartbeat data by downloading a large JSON file.
It would be nice if you could upload this file to wakapi instead of only supporting imports from wakatime itself. For example, if there was another, hypothetical, service that also tracked your programming just as wakatime/wakapi does, and it exported in a wakapi compatible format, it would be really nice if this could be imported.
Thus, it would remove a dependence on wakatime itself and further generalize the concept.
Yes, it would allow people to forge their times for the leaderboards, but it could be optionally disabled on the public instance (or would just fail if the times are suspicious/in the top 1%)
The text was updated successfully, but these errors were encountered: