This extension can automatically run a Github Action to display your editor session time on your Github profile like this:
Download the VS Code extension from the marketplace or sideload this extension by building it and sideloading it.
Get a Personal Access Token. Please keep in mind that this token is equivalent to your password. Do not give it admin permissions. repo:write permissions are required. Anything below that is not required. Also, for extra safety, set an expiration date.
Fork IShowOff and follow the instructions on that repo.
Set the settings in VS Code. You should be prompted during the first run. Be sure to set the Token from last step, username and the forked repo name from last step (usually, just ishowoff).
If you want to supply additional arguments or run different commands after running the rust binary to create svg file, you can use the custom commands section.
View full list of arguments here. Some of them are set by the other setting fields and might get overwritten.
To run a entirely different command, use the chaining operators in Bash, assuming you did not change the actions to run on a different operating system.
Editing config might trigger multiple timers and may send multiple rerun requests to github workflow. I'm working on a fix. (fixed ig?)
Opening different VSCode winddows/instances will trigger different timers and will keep on overwriting by calling the action on specified intervals. This is intended behaviour and can be stopped by calling ishowoff.disablePresence from the command palette on one of the instances.
You tell me. Open an issue.
Icon was made by Bing Chat. Please do let me know if it breaks any copyrights.