Can I publish my app?

Yes!

You can publish your app in one click directly in Mocha.

You do so by clicking the Publish button in the header.

if you’re a bronze, silver or gold subscriber you can also pick an available subdomain, like https://my-super-cool-website.mocha.app.

Publishing your app in Mocha

Can I publish my app to a custom domain?

This is being worked on and will be available soon!

How do I connect a GitHub repository in Mocha?

You cannot do this at this time. GitHub sync is something we’re considering but haven’t built yet.

Can I download my project?

Yes, you can. Click the app name in the header, and you’ll see a download code button.

Downloading your project in Mocha

Can I undo / rollback changes or load a backup?

Yes! You can, see more in our versions guide.

Can I edit the code directly?

Yes! The Mocha application is a fully functioning editor. If you want to simply edit the code, you have to enter “dev mode” by clicking the code toggle on the top left:

Unless the file is marked as read-only (a few important files are set by Mocha and cannot be edited), you can edit the code directly.

When you finish typing, the file will automatically be saved. You can see the preview refresh in real-time, and if the refreshing doesn’t work for some reason, use the preview restart menu with a quick restart ⚡.

How can I edit only a specific section of code?

Simply ask it to modify the file with “filename.tsx”. You can ask it to ONLY modify that file and it should comply. We have not yet implemented file locking, so this isn’t guaranteed, but being insistent with the AI is an effective technique. See more in our prompting guide.

Can Mocha build mobile apps (iOS and Android)?

Not at the moment. If you’re interested, please let us know—we’ll adjust our roadmap based on user demand.