Open
Description
When launching VSCode, the extension fetches releases from GitHub automatically, but this sometimes results in a 403 rate limit error due to unauthenticated requests to the GitHub releases API.
I suggest adding a configuration page in the extension where users can input their GitHub Personal Access Token (PAT). The extension could then include this token in the request headers when fetching releases, which would significantly increase the rate limit and help avoid these errors.
Below is an example error message encountered:
Could not update/download Kotlin Language Server: Error: Could not fetch from GitHub releases API: StatusCodeError: 403 - "{\"message\":\"API rate limit exceeded for 21.44.11.99. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)\",\"documentation_url\":\"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting\"}\n"
Could you please consider implementing this feature? Thank you for your time and effort!