Context: https://youtu.be/ApR-kNXxLUs
This uses ffmpeg, so if you don't have it on your computer it'll prompt you to download it. You can record for up to 30 seconds and it records anything in the viewport. This might not work on some Linux setups.
API: https://github.com/benawad/vscode-stories-api
Serverless Image Uploader: https://github.com/benawad/vscode-stories-serverless-image-uploader