Open the code in the Codebase tab
The Codebase tab in your app's sidebar lists the app's source files and opens one for editing. Every saved edit becomes a new version.

The Code Editor lets you or a developer open your Hercules app's code in the Codebase tab, change a file by hand and save it. The Code Editor needs a paid plan.
For most changes, ask Hercules or use Visual Edit, because Hercules understands how the app fits together and makes coordinated changes across multiple files. The Code Editor is for the exact change a developer wants to make themselves, such as one formatting function.
The Codebase tab in your app's sidebar lists the app's source files and opens one for editing. Every saved edit becomes a new version.


The Code Editor doesn't save on its own. Click Save before you leave the tab, or you'll lose your edits.

Restore an earlier version from the Versions tab or the switcher next to Publish. Reverting restores code and database structure, and your database records stay as they are.

More, then Export downloads the codebase as a .tar.gz archive, from main or any open branch. The archive holds the React frontend, the backend code and the configuration files.

Store API keys in Secrets, and the code reads them as process.env values. Hercules sees only each secret's name, which is enough to write the code that reads it.
Change the quote PDF so each line item shows the part number before the description.
Hercules edits the files involved and saves a new version. Bring in a developer only for a detail that still needs an exact hand edit.
Invite the developer as a teammate with the Member role, which can edit apps, and they make the change in the Codebase tab. When they click Save, Hercules records the edit as a new version.
Check the change in the preview. If something broke, restore the previous version, then ask Hercules to fix the issue.
In this hypothetical example, an outside developer fixes the column order of a fencing manufacturer's weekly order file by hand in the Codebase tab. The manufacturer runs quoting and production scheduling on an app their operations manager built on Hercules. A large customer's purchasing system needs that file in an exact column order.
Hercules builds the export, and the developer adjusts the formatting, saves and checks the file in the preview. The order file then loads into the customer's system without anyone reformatting it each week.
A developer can review your app's code before joining your team. Download the archive from More, then Export, and send it to them.
Hercules lets you download an open branch's code without merging it. Pick the branch in the selector next to Download code to get its latest version. Downloading doesn't change your app, and merged or closed branches can't be downloaded. Export data
Yes. On a paid plan, Export database downloads a ZIP snapshot of your app's tables, and it includes files your users uploaded unless you clear that option. Export data
You own what you build on Hercules.
Open your app and click Codebase in the sidebar. Start building.