Easily share your scripts by Creating a GIST with your GitHub account
Channel: AUTOHOTKEY Gurus
Date: 01/02/2021

Being able to easily share your scripts is really helpful!  In this video I demonstrate the AutoHotkey script I use to create a GIST.   If you have a GitHub account, you can easily adapt it to your needs.

Get the script here: https://www.the-automator.com/GIST
And read more about GISTs here: https://docs.github.com/en/github/writing-on-github/creating-gists

TLDR: The key idea of the video is that creating a GIST with your GitHub account allows you to easily share and update your code snippets and scripts while preserving syntax and formatting on various platforms.

1. 00:00 📝 Easily share your code snippets and scripts by creating a GIST with your GitHub account, which allows you to preserve the syntax and formatting when sharing on platforms like WordPress, YouTube, and Facebook.


2. 01:02 💡 Create a public gist on GitHub to easily share and update your scripts, allowing others to subscribe, see changes, and fork it.


3. 01:18 📝 Easily share your scripts by creating a GIST with your GitHub account, storing your token in a file and specifying your GitHub username.


4. 01:55 💡 The script includes error checking and the ability to extract the title from a file name with a .agek extension.


5. 02:24 💡 The speaker demonstrates how to create a GitHub gist and use a hotkey to quickly launch and share scripts.


6. 03:12 💡 The speaker demonstrates how to share scripts by creating a GIST with a GitHub account and discusses the rendering of the script on a Facebook post.


7. 03:49 😄 When creating a GIST on GitHub, users can easily share their scripts in a downloadable format, allowing others to access and maintain the original structure and appearance.


8. 04:14 📝 Easily share and update your scripts by creating a GIST with your GitHub account, providing a more permanent and trackable solution compared to paste bins.