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

Publishing your app in Mocha

Can I publish my app to a custom domain?

Yes, see custom domains.

Can I use Vercel, Netlify or other platforms for hosting my app?

No, Mocha does not support publishing to external platforms. We support publishing to our own infrastructure only which is hosted on Cloudflare. Mocha enables people with no techincal knowledge to build and launch apps with as little friction as possible. It’s critical Mocha users can publish their app with a click of the button and without needing to create or manage accounts on external platforms. The only way for us to provide this experience is by choosing a technical foundation for our apps, a platform to deploy it on, and hiding all those details from our users.

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

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.