You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WakaTime has a settings file that enables setting a api_url and api_key. This can be used to effectively route all WakaTime requests directly to another entity (probably for debugging purposes). There is even an example config file called paranoid.cfg used in testing.
It would be nice to have a way to receive the heartbeats that WakaTime sends out so we can collect the data.
Now, to the matter on how that would be done in a nice way. Bundling it into the actwa-server core seems nasty to me, but creating plugins that are initialized with a reference to the flask app object and then set up the routes on it's own shouldn't be too involved. For prototyping it might be best to just bundle it into actwa-server directly (but keep it in it's own file so it will be easy to refactor into a seperate package and repo later).
Wakatime stores a file ~/.wakatime.db which contains a SQLite store with not-yet sent heartbeats. Maybe disable sending of them via ~/.wakatime.cfg and hopefully they'll end up there for good.
WakaTime has a settings file that enables setting a
api_url
andapi_key
. This can be used to effectively route all WakaTime requests directly to another entity (probably for debugging purposes). There is even an example config file called paranoid.cfg used in testing.It would be nice to have a way to receive the heartbeats that WakaTime sends out so we can collect the data.
Now, to the matter on how that would be done in a nice way. Bundling it into the actwa-server core seems nasty to me, but creating plugins that are initialized with a reference to the flask app object and then set up the routes on it's own shouldn't be too involved. For prototyping it might be best to just bundle it into actwa-server directly (but keep it in it's own file so it will be easy to refactor into a seperate package and repo later).
The API is documented here: https://wakatime.com/developers/
The text was updated successfully, but these errors were encountered: