Open
Description
An issue to discuss potential replacements to DartPad's current gist loading mechanism.
It would be nice if whatever used here could also be used by "Open in DartPad" in lightweight DartPads.
A few ways:
Upload snippet to some database or blob storage
- Easy and flexible, but has potential concerns due to storing user-generated content (although anonymous)
- Can automatically delete after not being accessed for X-days (entries can be exempted)
- Easier to share than using a query parameter
- The Go Playground uses datastore
- Should be limited in size :)
Query parameter:
- Has size limitations?
- Hard to actually share. Potentially too large for sharing in some chat areas and social media platforms
- No need to store anything on server
Extra:
- Besides using query parameters, the Rust playground seems to also support uploading to a shared GitHub gist account?