pocketwaka icon indicating copy to clipboard operation
pocketwaka copied to clipboard

Support for Wakapi

Open muety opened this issue 4 years ago • 2 comments

First of all, I'd like to thank you for this amazing project, I really like it! I'm a big fan and user of Wakatime and so came that I started trimmed down open-source backend with a partially compatible API, called wakapi.

I was wondering how big of an effort it would be to make this app support a Wakapi backend as an alternative to the official Wakatime as well. For sure there would have to be a way to manually configure the API URL. Moreover, the app would need to be able to tolerate missing API endpoints, as Wakapi essentially only support summaries and none of the other Wakatime features.

If you consider Wakapi support an option for your app, let me know. Otherwise feel free to just close this issue :)

muety avatar Oct 31 '20 14:10 muety

@muety I might take a stab at this. Where is wakapi.dev hosted? What about self-hosting? What would the URLs be? What endpoints are missing? Do you have a dummy account for me to try on?

Sternbach-Software avatar Jul 20 '22 02:07 Sternbach-Software

Sounds great!

Where is wakapi.dev hosted? What about self-hosting?

There is an official Wakapi instance at wakapi.dev, but Wakapi can also easily be self-hosted.

What endpoints are missing?

Some endpoints around leaderboard, teams, goals, etc. are missing, but for fetching statistics all required endpoints are there. I think you can take inspiration from how https://github.com/devgianlu/Timeless realized the integration with Wakapi.

Do you have a dummy account for me to try on?

You can register one yourself at wakapi.dev, it's free ;-)

muety avatar Jul 20 '22 06:07 muety