contour
contour copied to clipboard
Optionally auto-check for new releases (on github release page) every N interval
The API seems pretty simplistic:
curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/contour-terminal/contour/releases/latest
Documentation: here.
This should not be seen as calling home. So just check against neutral distributor release page (Github releases) every, say, 1-2 weeks (configurable) and if a new release has been found, drop a note into the newly spawned terminal window's initial screen (or OS-notification bubble?).
Should be off by default.
Please also make sure if you implement that to handle cases where accessing the GitHub API results in HTTP errors because you are in an environment where too many people are blasting the API and non-authenticated requests are rejected 24/7 :wink:
Please also make sure if you implement that to handle cases where accessing the GitHub API results in HTTP errors because you are in an environment where too many people are blasting the API and non-authenticated requests are rejected 24/7 😉
of course :)