Skip to content

AI App Builder With GitHub: Exporting Your Source Code

Yes. Source code exports to GitHub as a built-in integration rather than a workaround. A project you built in Zugo belongs to you in full: the code goes into your own repository, and from there any developer opens it in an ordinary editor. This is the integration that answers the question of what happens if you leave the platform.

Why export code from a project that already works?

While the project lives inside the builder and gets changed by typing, an export feels like a step you can skip. It becomes important in three situations, and none of them arrive on day one.

The first is a developer joining. Specific business logic is faster to write by hand than to describe in words. A developer wants a repository, not access to somebody else's interface, and with an exported project they start immediately.

The second is wanting a backup that does not depend on any one service. A repository in your own account is a copy that cannot disappear along with a subscription.

The third is the project outgrowing the builder. Zugo does not replace a development team on a complex product, and admitting that on time is cheaper than spending a year forcing edits onto something that should be written differently. An export turns that transition from a rewrite into a normal continuation of the work.

What exactly lands in the repository?

What the project is made of: interface files, styles, build configuration and the dependency manifest. In other words a source project you can open, read and change, not a saved copy of a page.

It is just as useful to know what is not there. Your data is not there, if the project keeps it in an external database: table contents live in Supabase, not in the code. Payment provider secrets are not there, because keys do not belong in a repository. And the Zugo platform itself is not there: you take your project, not the engine that assembled it.

That split is deliberate and it matches ordinary engineering practice. Code in the repository, data in the database, keys in environment variables. A project exported along those lines does not need rearranging before it can live on its own. The wider version of this question, including what happens to your credits and your published address, is covered in can I export the code from an AI builder.

What does the path from prompt to repository look like?

Step What happens Where the result stays
1 You describe the project in text and get a build Zugo
2 You edit it until it does what you meant Zugo
3 You publish it to an address like your-project.zugo.run A public address
4 You connect GitHub and export the source Your repository
5 You open the code locally or hand it to a developer Your editor
6 You deploy it on your own infrastructure, if you want to Vercel or another host

Steps one to three take minutes: a simple build lands in about a minute, a multi-page platform in a few. Steps four to six are ordinary development, where the time depends on the task rather than on the builder.

The order does not have to be linear. Plenty of people export once as insurance, keep working in the builder, and come back to the repository six months later. That is a normal pattern: exporting does not switch off anything on the Zugo side.

How is GitHub export different from deploying to Vercel?

These two integrations solve different problems and get confused constantly.

GitHub Vercel
What it gives you Source code in your account A running site on your hosting
Who needs it A developer, for edits and review You, for control over how the project is served
When it pays off Handover, backup, migration Your own hosting account and settings
Without it The project lives only inside the platform The project lives on its zugo.run address
Can you skip it Yes, while the project is small Yes, publishing works without it

A reasonable combination looks like this: GitHub makes the code yours, Vercel makes the serving yours, and Supabase makes the data yours. The three together make a project independent of any subscription, including the Zugo one. If the data half is the part you are unsure about, AI app builder with Supabase walks through it.

What can you do with a repository if you are not a developer?

To a project owner who does not write code, a repository looks useless. In practice there are four useful things you can do with it without ever opening an editor.

Confirm the code exists and it is yours. Open the repository in a browser and look at the file list. That alone is enough to understand that the project is a real thing rather than a picture inside somebody's service.

Give a contractor access without handing over your passwords. Repository permissions are granted separately and revoked in one move when the work is finished. That is noticeably safer than sharing a login to your workspace.

See the history of changes. Every update is stored as its own entry, so it is always clear what changed and when. In a disagreement with a contractor, the history settles the question faster than the email thread does.

Sleep better. A repository is a copy that outlives a closed account, a forgotten subscription and any outage on the platform side.

None of that requires programming. It takes creating a GitHub account once and pressing export once, after which the repository simply sits there until the day it matters.

What does the export cost?

The export itself does not consume credits. Credits go to generation: a build costs 6 credits, an edit costs 3, and a multi-page platform costs 12 for the first three pages plus 3 for every page after that. Hi-Fi mode doubles both, so a build is 12 and an edit is 6.

The plans are simple. Free gives you 5 credits, Pro is $25 per month for 200 credits, and Business is $99 per month for 800. Two hundred credits is roughly 16 full platforms, 33 builds, or 66 edits, counting one kind of action at a time.

One piece of arithmetic is worth noticing before you sign up: 5 free credits is less than the 6 a single build costs. The free tier is a grant for getting to know the interface, not for shipping a project, and knowing that beforehand is better than discovering it after.

The reason this matters to an export question is straightforward. The expensive part of an AI builder is generating the project, not getting it out. If retrieving your own code carried its own escalating fee, the ownership claim would be decoration rather than a fact.

When is it time to hand the project to a developer?

Exporting is useful on its own, but its real point shows up at handover. Four signs say the moment has arrived.

The same edit fails on the third attempt. If you have rephrased a request three times and the result keeps missing, the requirement is more complex than a description can carry. Rephrasing a fourth time does not get cheaper.

The logic depends on an outside system. Pricing pulled from somebody else's catalogue, exchange with an accounting package, an unusual export format: that is work against a specific external interface, not a standard scenario.

Requirements appear that you cannot check by looking. Load, response time under many users, permission boundaries inside an organisation. Those are verified with tools and experience rather than with eyes.

Downtime starts costing real money. When a project being down means lost revenue the same day, it needs a responsible person, not just a convenient editor.

None of these signs mean the builder was a mistake. They mean the project reached its next stage, and the foundation assembled in an evening saved the weeks that writing it from scratch would have taken. What that handover looks like in practice is in can I hire a developer later.

Where are the limits of this pairing?

Three things are worth saying plainly.

Exported code is not a turnkey product. It opens, it reads and it changes, but its future life needs what any other repository needs: builds, deploys, dependency updates. If nobody is going to do that, the export by itself does not solve the problem.

The export does not carry the platform's behaviour with it. Editing by typing a sentence is something Zugo does. In the repository you edit code by hand, which is a different skill. Many people keep working in the builder for exactly that reason and hold the repository as insurance.

A one-time export goes stale. If you keep editing the project in Zugo afterwards, the repository reflects the state at the moment you exported. Refresh it when you actually intend to hand the project over.

It is also worth setting expectations about what you receive. Every build is booted in a sandbox before it is handed to you, and a build that does not open is reported as a failure rather than delivered. That lowers the chance of receiving something broken. It says nothing about architecture, test coverage, or how a senior engineer will feel about the code, and games in particular are 2D and browser based, which is a design boundary rather than a bug to fix later.

Where to start

Build a project, edit it into shape, export the code, and open the repository at least once: seeing your own source is more convincing than reading about it. The step-by-step version, with what the file structure looks like, is in export an AI app to GitHub.

You can run the whole chain from description to repository at zugo.dev. Start with something small. A one-page site built and exported in a single evening explains how the integration fits together better than any article can.

← All posts