|
| 1 | +--- |
| 2 | +sidebar_position: 20 |
| 3 | +--- |
| 4 | + |
| 5 | +# Vibe Coding Studio |
| 6 | + |
| 7 | +Vibe Coding Studio is a development environment designed for “vibe coding,” where developers and AI collaborate fluidly in real time. It enables rapid prototyping, live execution, and iterative refinement of web applications, all within a browser-based workspace that supports multiple LLM backends. |
| 8 | + |
| 9 | +### General Layout |
| 10 | + |
| 11 | +#### Left Side |
| 12 | +This area is divided into two sections: |
| 13 | + - Tai's Chat Interface: This interface facilitates communication between the learner and Tai, featuring chat history, and learners' message input field. |
| 14 | + - Lab instructions: These instructions guide learners through the learning activities and exercises. |
| 15 | + |
| 16 | +#### Right Side: Vibe Coding Studio |
| 17 | + |
| 18 | +The Vibe Coding Studio environment resides here, providing the tools for code development and execution. |
| 19 | + |
| 20 | +### Vibe Coding Studio UI |
| 21 | + |
| 22 | +The homepage of Vibe Coding Studio is a chat interface where you can select a provider (e.g. OpenAI, Anthropic) and a model. You can describe what you want to build in Vibe Coding Studio and the LLM agent will attempt to build it with you. After the agent actually starts writing code, an IDE will appear on the right. On the bottom of the IDE is a terminal where you can see commands the agent is running, as well as run your own commands. Above the terminal is a text editor with 3 tabs: Code, Diff, and Preview. Code is a code browser where you can see all your files, and make changes to them. Diff will show you a diff of the changes. Preview will allow you to access a web server that you're running in the terminal (allows you to view your application / website). |
| 23 | + |
| 24 | +Users may view previous chat histories by hovering on the top left corner of the screen to view the history panel and selecting a previous conversation. |
| 25 | + |
| 26 | +### Vibe Coding Studio Environment |
| 27 | + |
| 28 | +#### Capabilities |
| 29 | +Vibe Coding Studio operates in WebContainer, an in-browser Node.js runtime that emulates a Linux system: |
| 30 | +- Runs in browser, not full Linux system or cloud VM |
| 31 | +- Shell emulating zsh |
| 32 | +- Cannot run native binaries (only JS, WebAssembly) |
| 33 | +- Python limited to standard library (no pip, no third-party libraries) |
| 34 | +- No C/C++/Rust compiler available |
| 35 | +- Git not available |
| 36 | +- Available commands: cat, chmod, cp, echo, hostname, kill, ln, ls, mkdir, mv, ps, pwd, rm, rmdir, xxd, alias, cd, clear, curl, env, false, getconf, head, sort, tail, touch, true, uptime, which, code, jq, loadenv, node, python, python3, wasm, xdg-open, command, exit, export, source |
| 37 | + |
| 38 | + |
| 39 | +#### Vibe Coding Studio Standards |
| 40 | + |
| 41 | +Preferred Frameworks / Tools / Libraries: |
| 42 | +- Vite is the preferred framework for Vibe Coding Studio. |
| 43 | +- React Navigation for navigation |
| 44 | +- Built -in React Native styling |
| 45 | +- Zustand / Jotai for state management |
| 46 | +- React Query / SWR for data fetching |
| 47 | + |
| 48 | +Vibe Coding Studio will try to stick to these requirements: |
| 49 | +- Feature - rich screens(no blank screens) |
| 50 | +- Include index.tsx as main tab |
| 51 | +- Domain - relevant content(5 - 10 items minimum) |
| 52 | +- All UI states(loading, empty, error, success) |
| 53 | +- All interactions and navigation states |
| 54 | +- Use Pexels for photos |
| 55 | + |
| 56 | +Vibe Coding Studio will try to use this directory structure: |
| 57 | +- app / |
| 58 | + - (tabs) / |
| 59 | + - index.tsx |
| 60 | + - _layout.tsx |
| 61 | + - _layout.tsx |
| 62 | + - components / |
| 63 | + - hooks / |
| 64 | + - constants / |
| 65 | + - app.json |
| 66 | + |
| 67 | +Things to know about Vibe Coding Studio: |
| 68 | + |
| 69 | + |
| 70 | +#### Troubleshooting: |
| 71 | +- This tool is in alpha and you may encounter bugs or features that aren't working properly. If you're trying to use a feature not explicitly referenced in the lab instructions, it may not work. |
| 72 | +- OpenAI gpt-5 models in particular may respond slowly, please be patient |
| 73 | +- If Vibe Coding Studio stops responding, please try refreshing the page |
| 74 | +- Vibe Coding Studio may occasionally "forget" to create files during execution and instead respond in chat with the code. You can try asking "please actually create the files" to prompt it to actually create the files. |
0 commit comments