mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
16 lines
604 B
Plaintext
16 lines
604 B
Plaintext
<% if @user.api_keys.any? %>
|
|
<pre class="bg-gray-800 rounded-lg text-sm text-gray-200 whitespace-pre-wrap break-all">
|
|
# put this in your ~/.wakatime.cfg file
|
|
|
|
[settings]
|
|
api_url = https://<%= request.host_with_port %>/api/hackatime/v1
|
|
api_key = <%= @user.api_keys.last.token %>
|
|
heartbeat_rate_limit_seconds = 30
|
|
|
|
# any other wakatime configs you want to add: https://github.com/wakatime/wakatime-cli/blob/develop/USAGE.md#ini-config-file</pre>
|
|
<% else %>
|
|
<p>
|
|
No API keys found. Please migrate your keys from waka.hackclub.com below. New API key generation has yet to be implemented.
|
|
</p>
|
|
<% end %>
|