bridgetown icon indicating copy to clipboard operation
bridgetown copied to clipboard

CodePen, but for Ruby websites

Open jaredcwhite opened this issue 2 years ago • 3 comments

I have spent many months fantasizing about this idea, so I'm just going create an issue here because it's absolutely going to happen at some point if I have anything to say about it! 😅

Imagine a service like CodePen, except the HTML could be a Ruby template, the JavaScript could be Ruby2JS, and you could click a button to export a working Bridgetown site.

🤯

I pretty much know the basics of how I would implement it (handwave handwave Docker containers to run sandboxed code handwave handwave), it just would take a lot of time. 😅 Still, a man can dream…

jaredcwhite avatar Sep 10 '21 21:09 jaredcwhite

Yea! A “Bridgetown PlayPen” where we can test out stuff without having to install and configure other stuff… sounds like the perfect place for beginners to learn all about Bridgetown. But hey, Jared, you’ve got a full plate already. Maybe we will find a dev wizard with too much time on their hands who can make this happen?

JackieGable avatar Sep 19 '21 17:09 JackieGable

I see the idea, but I would probably spend the time elsewhere. Bridgetown is great, but don't let the scope of the project expand too much, it'll be difficult to maintain.

This is a hard problem, and better suited to something like Replit (https://replit.com/).

If it was up to me, I'd close this issue.

sandstrom avatar Jun 22 '23 11:06 sandstrom

I think it's still worth keeping open, but certainly not an immediate priority. I'm interested to see where the Wasm support in Ruby goes…it's not unthinkable that some sort of basic Bridgetown experience could be run entirely in the browser, letting people try out writing templates or small plugins or whatnot.

jaredcwhite avatar Jun 22 '23 17:06 jaredcwhite