Skip to content

Explore easier sharing mechanisms #2733

Open
@parlough

Description

@parlough

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions