The host also supports gists spanning multiple files (like GitHub) but maybe we can ignore it for now and just pick the first file. It would be best to fetch them all, though, place in a directory, and link the first file as gist's executable -- i.e. very much like GitHub, just a little smarter (files in GitHub gists aren't ordered, but here there seem to be).
HTML pages are in the format
https://glot.io/snippets/$LETTERS
but there doesn't seem to be a raw version at all. However, there seems to be a dedicated API that allows to fetch snippets by ID: https://github.com/prasmussen/glot-snippets/blob/master/api_docs/get_snippet.md.The host also supports gists spanning multiple files (like GitHub) but maybe we can ignore it for now and just pick the first file. It would be best to fetch them all, though, place in a directory, and link the first file as gist's executable -- i.e. very much like GitHub, just a little smarter (files in GitHub gists aren't ordered, but here there seem to be).