codesandbox

The CLI used for communicating with CodeSandbox

Usage no npm install needed!

<script type="module">
  import codesandbox from 'https://cdn.skypack.dev/codesandbox';
</script>

README

codesandbox-cli

Upload your templates to codesandbox with a single command 🏖️

Build Status

This is the command line interface for CodeSandbox, an online editor tailored for web applications.

Quickstart

You can install the cli by running

# Install the cli
npm i -g codesandbox

# Go to your project
cd <path of your project>

# Deploy your project to CodeSandbox
codesandbox ./

Future features

  • Create a live connection with CodeSandbox using websockets so you can use your local editor

Current limitations

  • You need to be signed in to deploy, this is to prevent abuse

Inspiration

I took a lot of inspiration from now-cli and preact-cli while building this.