Development Guides

Owning Your Code: What Generated Source and GitHub Sync Mean for You

A precise explanation of access to your generated source code, how GitHub sync behaves, what ownership means under the Terms of Service, and the limits of portability.

Three separate questions

People who ask 'do I own my code?' are usually asking three different things at once. Can I see and change the code? Can I get it out of the platform? And legally, whose is it? Keeping the questions apart gives clearer answers, and it avoids promising more than any product can deliver.

  • Access: can you read and edit the source of your project?
  • Export: how does the code leave the platform and in what form?
  • Ownership: what do the Terms of Service say about the content you create?

Access: reading and editing the code

Every project is a real codebase: a full-stack Next.js application written in TypeScript, with React components, Tailwind CSS styling and a SQL database behind it. The workspace has a Code tab that looks like a VS Code-style editor over every file. You can open any file, edit it and save.

Every save is committed and kept in version history, and every completed AI run leaves a snapshot as well. If an edit breaks something, you can restore an earlier version. That makes hand-editing low risk, whether you are fixing a detail the agent missed or learning how the app works.

Hand edits and AI edits live in the same code. If you change a file manually, mention it in your next prompt when it matters, so the agent works with your change rather than around it.

Individual files can also be downloaded from the code editor. On paid plans, the Download ZIP button in the Code tab downloads the complete source code as one ZIP file; each download uses credits (currently 2). GitHub sync is the other way to keep the full source.

Export: how GitHub sync works

To get the whole source out, connect a GitHub repository to the project. The sync is two-way and follows a predictable pattern.

  1. After every prompt, OXDAR commits the changes and pushes them to a develop branch in your repository.
  2. Before each new prompt, OXDAR pulls the latest from the repository, so changes you or a colleague pushed are taken into account.
  3. When you publish, OXDAR opens a pull request and merges it into the main branch.

The result is that your repository holds a complete, versioned copy of the project, with the main branch representing what you have published and develop holding work in progress. You can clone it, read the history, review diffs, and use your normal tools. The dashboard also offers a GitHub import option for starting a project from an existing repository.

Working alongside the platform

Because OXDAR pulls before each prompt, a developer can push improvements to the develop branch and the next AI run will start from them. To avoid conflicts, keep changes small, push often and avoid editing the same file in two places at once.

Portability: be precise about what moves

Having the source in GitHub is not the same as being able to deploy it anywhere unchanged. The generated applications use platform built-ins for things such as the database, sign-in, e-mail sending, file uploads, scheduled jobs and AI features. These work in the platform's own environment. If you move the code to another host, you should expect that parts relying on those built-ins may need changes, such as replacing them with your own database connection or a third-party service.

That does not make the code useless elsewhere. The interface, the page structure, the business logic and the data model are ordinary code that a developer can read and adapt. But plan for engineering work, and treat the move as a project rather than a button.

  • Inventory which built-in features your app actually uses.
  • Check how data is stored and plan an export of your database content, which you can browse and query from the Database view.
  • List environment variables stored in Secrets, so you can recreate them in the new environment. Secret values are stored encrypted on the platform; keep your own record of keys you control.
  • Decide whether staying on OXDAR's hosting, with your own domain connected, already gives you what you need.

For many projects the simplest answer is to stay: publish on OXDAR's hosting, keep the GitHub repository as a backup and as a working base for developers, and revisit portability only if there is a concrete reason.

Ownership under the Terms of Service

On the legal side, the Terms of Service state that you retain ownership of any content you create using the Service, and that you grant a license to the provider so the service can operate. That is the authoritative text, and this article is not legal advice. If ownership matters for a financing round, a sale or a client contract, read the Terms and Privacy Policy in full and, where needed, take professional advice.

Two practical points sit next to ownership. First, you remain responsible for what you build, including compliance with the laws that apply to your product and for any third-party content, images or text you include. Second, the built-in AI and infrastructure are provided by third-party service providers who process prompts and project data in order to provide the service, so avoid putting confidential material in prompts that you would not be comfortable having processed that way. The Privacy Policy describes this.

A sensible workflow for owners

  1. Connect GitHub early, ideally before the project becomes important.
  2. Keep the main branch as the published state and treat develop as a working area.
  3. Record the features that rely on platform built-ins in a short note in the repository.
  4. Review the code of anything that handles money, sign-in or personal data.
  5. Periodically check that the repository matches the workspace, and test a clean clone if you plan to move.
Example promptAdd a README.md at the root of the project that lists the main pages, the database tables and their purpose, the environment variables the app expects (names only, no values), and which features rely on built-in platform services such as sign-in, e-mail and file uploads.

That prompt produces documentation that will help any developer, including you in six months, and it makes a future migration far less painful.

Related

Ready to build it?

Describe your idea and let Oxdar build the first version. 25 free credits to start, no card required.