maas
importGists
Script
Imports Gists to Val Town Import your TypeScript and JavaScript to Val Town Authentication This function requires two keys: one from Github to get your gists, and one from Val Town to make the vals in your account: Github token: https://github.com/settings/tokens Val Town key: https://www.val.town/settings/api Usage You can use this function by calling it and passing your keys like so: @maas.importGists({
githubToken: @me.secrets.githubGists,
valTownKey: @me.secrets.valtown,
}); Example usage: https://www.val.town/v/maas.untitled_harlequinCrawdad
4
Updated: October 23, 2023