HighLevel AI Studio builds a real React project, but it does not give you a simple way to keep that source outside the builder. This browser tool adds two options to AI Studio:
- Download the complete project as a ZIP file.
- Push the complete project to a GitHub repository you already created.
The export includes the source files, a safe .gitignore, a short README when the project does
not already have one, and a small devtribe-studio.json manifest.
You need permission to add Custom JavaScript to the HighLevel location where you use AI Studio.
- Open
dist/ai-studio-export.min.js. - Copy the whole file into the Custom JavaScript that loads for your HighLevel location.
- Save, then fully reload HighLevel. An already-open tab keeps the old JavaScript in memory.
- Open AI Studio. The Export to GitHub button appears in the lower-right corner.
Use Download .zip if you only need a local copy.
For Push to GitHub, first create an empty repository. Make a fine-grained GitHub token that can access only that repository and grant it Contents: Read and write. Paste it into the tool for that push. The token field is cleared after every attempt.
Each push makes the selected branch match the current AI Studio export. Files that disappeared from AI Studio disappear from the branch's latest commit too. The previous commit remains in Git history. Use an empty or dedicated repository, and confirm the replacement when the tool asks.
The readable source is ai-studio-export.js. The build has no runtime
dependencies, analytics, tracking, or storage calls.
- The HighLevel session token is read from the signed-in page and sent only to HighLevel's read-only AI Studio endpoints.
- The optional GitHub token is sent only to
api.github.comfor the repository you enter. - Neither token is written to local storage, session storage, cookies, IndexedDB, our servers, or the exported project.
- AI Studio access is GET-only. The tool does not edit, publish, delete, or import a project.
- Export paths are checked before ZIP creation or GitHub upload. Absolute paths, traversal paths, duplicates, and oversized exports are rejected.
- The generated manifest excludes the HighLevel location ID, project ID, version ID, custom domains, and session details.
The tool exports the source that is already inside your AI Studio project. If you placed a secret, private URL, customer record, or credential in that source, the export will contain it. Review the export before making its destination repository public.
| Host | When | Access |
|---|---|---|
backend.leadconnectorhq.com |
Listing projects and reading source files | GET only |
api.github.com |
Only after you click Push to GitHub | Read repository metadata and write source to the selected repository |
github.com |
Only if you click the token-creation help link | Opens GitHub in a new tab |
There are no other runtime hosts.
npm install
npm test
npm run buildThe tests exercise both sides of the important security gates, validate a real ZIP with the system ZIP reader, audit the source and built artifact, and confirm that the licence notice survives minification.
The read endpoint used by HighLevel's own AI Studio page is not a public HighLevel API contract. HighLevel can change it. If the button still appears but projects stop loading, open an issue with the exact error shown in the panel. Do not include either token.
DevTribe Labs builds tools for agencies and operators. This exporter began as an internal tool for keeping AI Studio work under version control. We released the complete export path because the missing backup button should not trap anyone's source inside a browser builder.
MIT. See LICENSE. You can use it commercially, modify it, and include it in client work.
Keep the copyright notice with copies of the code. The notice is preserved inside the minified file, so copying the complete file already does that. Nothing is required in your own product UI.
GoHighLevel and HighLevel are trademarks of HighLevel Inc. DevTribe Labs is not affiliated with, endorsed by, or sponsored by HighLevel Inc. GitHub is a trademark of GitHub, Inc.