-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for gists #20
Comments
This is something I'd really like! I'd been waiting until giving Spider a complete overhaul, but if you'd like to add it into to the current code base I would gladly accept the PR. I had a look at the Gist API for saving a few weeks back and was slightly saddened to learn that GitHub doesn't have an implicit grant flow that SPAs can use safely. Spider already supports a rather hacky and experimental version of this loading from AlliedModders forum attachments: https://spider.limetech.io/#180045 (Probably broken at the time of reading this due to the AM maintenance.) The code for that can be found here: Lines 327 to 374 in c24afa0
Probably best to be a little more future-proof and use |
I'd like to see a new feature that will allow us to share links such as
https://spider.limetech.io/<gist id>
, and the content of the gist would be inserted in the spider page.In this way a link could be shared and the code could be compiled right away.
(I got the idea of this from https://dartpad.dev which does the same thing.)
If you think this is doable, I could send a pull request implementing the gists api, I'd just need some help on how to handle the routing.
The text was updated successfully, but these errors were encountered: