Playground
Edit and run a ViteHub app in your browser. Start from a template, then share a link or download the files.
Templates
- KV: Store and read a value.
- Blob: Write a file and read it back.
- Queue: Run a job in the background.
- Cache: Cache a route for 10 seconds.
- Rate Limit: Allow three requests a minute.
- Agent: An Agent that a route invokes.
- Channels: Chat with an Agent in a simulated Slack.
How it works
- The app runs in a WebContainer, a Node.js runtime inside the browser tab. The first start downloads the dependencies of the app.
- A share link keeps your files in the part of the URL after
#, which the browser does not send to a server. - Download saves the files of the app as a zip, so you can run it on your machine.