Quickly create a gist on GitHub by sharing text or a text file.
This shortcut uses the GitHub API. Before using it, create a personal access token and provide it when asked. For the purpose of this shortcut, I recommend creating an access token that only provides access to your gists.
To create a gist, select and share some text—or share a text file—and select the shortcut in the Share Sheet. Any type of file can be shared (e.g., .TXT, .HTML, .JSON) as long as it’s text—you cannot share a binary file like a ZIP.