#Gleam Starter on CodeSandbox

1 messages ยท Page 1 of 1 (latest)

civic sphinx
#

Last year at Code BEAM Hayleigh requested proper Gleam support in CodeSandbox, and today is finally the day we have an official Gleam Template.

https://codesandbox.io/p/devbox/github/codesandbox/sandbox-templates/tree/main/gleam

You can fork this template and immediately have a running Gleam setup (with Erlang). Or you can find it in the "Code playgrounds" section when creating a new Devbox from the dashboard.

Note 1 - Because this runs on our VMs and not in the browser, you need to be signed in to CSB to fork and edit it. Running it will count against the credits included with your free plan, but as far as I can tell it runs fine on the lower specs, so you can play around with it for at least 20 h/month before you'd run out of credits.

Note 2 - The VSCode Extension support is still behind a feature flag. Once you're signed in, you can activate it in the editor by clicking the CSB logo in the top left, selecting "Settings > Experiments" and toggling on all 3 of the VSCode related toggles.

undone ermine
#

Yesssssssssssssssss

#

So in another year's time i can hope for sandbox support using the wasm compiler? ๐Ÿ‘๏ธ ๐Ÿ’•

civic sphinx
#

That would be cool! Perhaps!

#

Also let the record show that it was really only 6 months, so maybe the wasm will even happen this year...

undone ermine
#

I daren't get my hopes up

#

So cool to have a gleam template !

#

ok there might be an issue though

civic sphinx
#

Oh that's weird! It looked fine on my end - I'll have a look.

#

What browser are you on? It looks normal for me on FF and Chrome whether or not I'm signed in.

undone ermine
#

safariiiiiii

civic sphinx
#

hmm... even there it looks fine for me. I'll pass it on to the client team bc i have nooo idea

undone ermine
#

oh its fine now

#

๐Ÿ˜‚

civic sphinx
#

weird... there's also an error in the terminal that wasnt there when I looked at it this morning... but forking + restarting should still work until i get someone to do that for this template

jaunty radish