Full access to your project’s source code.Browse files, make direct edits, manage environment variables, and track build logs - all inside Rocket. Use code view when you need precision that goes beyond chat and visual edit.You need an existing Rocket project. Do not have one yet? Create one to get started.
| Use code view when | Use chat instead when |
|---|---|
| You need to edit a specific line of code | You want to add new features or pages |
| Managing API keys and environment variables | You want to change design or layout |
| Debugging with build logs | You need broad changes across many files |
| Reviewing what Rocket generated | You are not sure what to change |
- Web Browser
- Mobile App


Code view features
Browse your app files
Use the file explorer on the left to navigate folders likepages, components, or styles. Click any file to open it in a new tab.Collapse the explorer using the collapse icon in the top-right corner of the panel.

Find files fast with search
Use the search bar at the top of the file panel to locate files by name. Rocket filters results as you type.

Edit and save any file
Click a file to open it in the editor. Make your changes, then use the save bar at the bottom:- Click Save to apply changes.
- Click Discard to undo them.


If you edit configuration files like
tailwind.config.js or package.json, your changes may affect how your app compiles or behaves. If something breaks, you can revert or refresh.Manage environment variables
Environment variables are private settings stored securely outside your app code, such as API keys (the secret passwords that connect your app to external services).Rocket supports environment variables for both project types:- Mobile projects use
env.json - Web projects use
.env
- Open the relevant file.
- Find the key and replace its value.
- Press Save.
- Mobile (env.json)
- Web (.env)


- Open
env.json(for mobile) or.env(for web). - Add a new line, for example:
STRIPE_PUBLISHABLE_KEY=your-stripe-publishable-key-here - Click Save.
STRIPE_PUBLISHABLE_KEY to load the map on the home screen.”- Mobile (env.json)
- Web (.env)


Use clear, specific key names so Rocket can recognize and apply them accurately.
Track build logs
The output panel at the bottom shows live logs as you edit and save. Use this to monitor builds, catch errors early, and confirm updates were successful.

Refresh and download
The top-right corner of the editor has quick actions:

- Refresh - Reload your editor and file tree.
- Download - Export your app as a
.zipfile to open locally.
Download is available only for paid users.
Transfer to GitHub
Click the GitHub button in the top-right toolbar to connect your account and push your project to a repo.- Connect your GitHub account.
- Click Transfer project to create a new repo.
- After the initial transfer, use the Update button to push new changes.




GitHub sync is one-way. Changes made in GitHub will not appear in Rocket.Only the
main branch is supported.Learn how to connect your project to GitHub.
GitHub transfer is available only for paid users.
What’s next?
Chat interface
Build and iterate through natural conversation.
Visual edit
Click on elements to change styles and text directly.
Inject custom code
Bring in external scripts, embeds, and components.
Connect APIs
Import and integrate API endpoints into your app.










