bridgetownrb / bridgetown

A next-generation progressive site generator & fullstack framework, powered by Ruby
https://www.bridgetownrb.com
MIT License
1.13k stars 114 forks source link

CodePen, but for Ruby websites #387

Open jaredcwhite opened 3 years ago

jaredcwhite commented 3 years ago

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…

JackieGable commented 3 years ago

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?

sandstrom commented 1 year ago

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.

jaredcwhite commented 1 year ago

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.