1
1
Fork 0

codestats api not included in REPO (revoke api key)

This commit is contained in:
Ava Gaiety W 2025-06-19 12:04:38 -06:00
parent cdf3825486
commit d5865078b1

View file

@ -5,13 +5,13 @@ return {
cmd = { "CodeStatsXpSend", "CodeStatsProfileUpdate" }, cmd = { "CodeStatsXpSend", "CodeStatsProfileUpdate" },
config = function() config = function()
require("codestats").setup({ require("codestats").setup({
username = "gaiety", -- needed to fetch profile data username = "gaiety", -- needed to fetch profile data
base_url = "https://codestats.net", -- codestats.net base url base_url = "https://codestats.net", -- codestats.net base url
api_key = "SFMyNTY.WjJGcFpYUjUjI01qSXhPVFU9.fMtCrS4QvdQKCgS_pasnqpWGUyrk3At646kPkN7LIn8", api_key = "", -- fill with your codestats machine API
send_on_exit = true, -- send xp on nvim exit send_on_exit = true, -- send xp on nvim exit
send_on_timer = true, -- send xp on timer send_on_timer = true, -- send xp on timer
timer_interval = 60000, -- timer interval in milliseconds (minimum 1000ms to prevent DDoSing codestat.net servers) timer_interval = 60000, -- timer interval in milliseconds (minimum 1000ms to prevent DDoSing codestat.net servers)
curl_timeout = 5, -- curl request timeout in seconds curl_timeout = 5, -- curl request timeout in seconds
}) })
end, end,
} }