One way you could potentially rely on having access to Github Gists. Sign in with a Github account and then you could use this command to save the snippet as a Gist: https://developer.github.com/v3/gists/#create-a-gist. Then all the sever would do is pull it from Github, and send it back in a html page form to be compiled client side.
On Friday, May 27, 2016 at 9:13:25 AM UTC-6, Matteo Bertini wrote: > > Yes, I've had the same idea, using the history only has no back-end > maintenance burden, "only" a front-end will-work-now-on implicit contract. > > Going on with the UI, I have added 2 more buttons in the command bar: > > - Import that reads from the location.hash > - Share that puts the code encodeURIComponent'ed in the url as hash > > The only automatic import is done at loading time. > > Suggestions for a better workflow? > > > On Fri, May 27, 2016 at 2:45 PM, Paul Brauner <[email protected] > <javascript:>> wrote: > >> Evan's comment on the issue sounds as if he thinks the code has to be >> stored serverside or something. Otherwise I'm not sure where the >> maintenance burden he's referring to lies. >> >> Paul >> >> On Fri, May 27, 2016 at 10:20 AM Matteo Bertini <[email protected] >> <javascript:>> wrote: >> >>> Il giorno giovedì 26 maggio 2016 19:55:26 UTC+2, Nick H ha scritto: >>>> >>>> Sounds like you should check out (and maybe contribute to) ElmFiddle.io >>>> ! >>>> >>> >>> I'd like to have this basic functionality in the official "try" too, but >>> I'll have a look at ElmFiddle.io ! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Elm Discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Elm Discuss" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/elm-discuss/QLrod8th2Sk/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Matteo Bertini > http://www.slug.it/naufraghi > > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
