This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| async function insertAllComponentsFromFile(){ | |
| // Uses the Web api..more here https://www.figma.com/developers/api#files-endpoints | |
| // Ideally, you don't hit this api every time the plugin runs, but maybe use figma.clientStorage | |
| // to store the keys for a set amount of time, then refresh on expiration | |
| let result = await fetch('https://api.figma.com/v1/files/08U6xAT28gUfHkx2l2kUhc', { | |
| method: 'GET', | |
| headers: { | |
| 'X-Figma-Token': '236259-788a3c64-e9b2-4ca2-851b-193954b2ad6d' |
| #!/bin/sh | |
| # Just copy and paste the lines below (all at once, it won't work line by line!) | |
| # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e |
| license: gpl-3.0 |