Videos
Is Code Sandbox a legit and safe editor?
Using CodeSandBox instead of local for projects
Self-hosting code demos a la a Codesandbox.io?
CodeSandbox - An online React editor with a focus on easy sharing and reusability
Hey Reddit!
This is a project I’ve been working on for the past few months. With CodeSandbox I want to focus on a feature of React that, in my opinion, could be exploited much more, which is reusability. With CodeSandbox you can easily build and share a React project with anyone by just sharing the url, others can then fork it to make changes or download it (which includes the default create-react-app template).
The next thing I’m building for CodeSandbox is the real reusable part: it should be possible to publish any project you have on CodeSandbox to NPM with a single click and let others reuse it as much as they like. An example is that someone makes a button on CodeSandbox and publishes it, others can then use this button inside CodeSandbox or in any project out of CodeSandbox. Publishing is already done, I’m now working on UI so publishing and searching sandboxes becomes easier.
I’d love to hear any feedback or suggestions or problems you might have! I want to make CodeSandbox as friendly as possible.
I also encourage everyone who built something cool to share it here. I will also put some of the sandboxes on the homepage.
More on reddit.comI am a student and I'm currently learning React JS and my friend recommended this Code Sandbox to use it as a simpler and faster alternative to creating the npm apps on my local machine that React JS usually requires. I just want to ask if that site is sketchy or safe and if it has any drawbacks?
Is there any other reason for using local over codesandbox-type online editors, than the fact that it gives local hosting and is with the files locally secured? Thanks in advance.
A bunch of these code sandbox sites are pushing more and more to paid accounts and I'm looking for a way out.
How do others handle this? Do you guys self-host a repo and just keep making sections/pages? Is there some project out there that basically lets you self-host a full Codesandbox.io clone? Or do you just shut up and pay?
Also, I'm curious how else other people use sites like this. For my part it's mostly, "Oh I wonder how I could do that..." kind of experimentation, whipping up a demo of a bug or technique to share, stuff like that. I think that's why I'm hesitant to spend too much money on this because I don't use this as a full on core tool.
Hey guys, I've made an online code editor from scratch. Think CodeSandbox, but watered down a little. It uses xterm.js to give a shell to the user on the frontend, and monaco editor for editing your files, and I generate the folder structure recursively. I've used Zustand for global state management
There's also multi file support, so you can switch between open tabs just like the real thing. I tried to get it as close to VS Code as possible, and there's a bunch of stuff still left to do, but a major chunk of the project is done.
Lemme know what you think!
https://github.com/rajatmaheshwari2512/CodeFiddle