> ## Documentation Index
> Fetch the complete documentation index at: https://fabricate.build/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Exporting Your Code

> On a paid plan, push your project to a new GitHub repository or download it as a zip — you always own your code.

Your Fabricate project is a real, full-stack codebase, and you can take it with you. On Pro and Max, export your code by pushing it to a new GitHub repository or downloading the whole project as a zip file.

> [!NOTE]
>
> You always own your code. Fabricate generates a standard React and TypeScript project that runs on Cloudflare Workers — there's no proprietary format and no lock-in.

## Push to a New GitHub Repository

Send your project's code to a new GitHub repository in your account. Fabricate pushes your code and its commit history to the repository's `main` branch.

The push is one-way: commits made on GitHub are not pulled back into Fabricate. See [Push to GitHub](https://fabricate.build/docs/build/github-sync.md) for the details.

## Download as a Zip

Download the entire project as a zip file. In the **Code** view, open **File actions** and choose **Download All (ZIP)**. You get the full codebase — frontend, backend, and configuration — ready to open in your own editor or move wherever you like.

> [!TIP]
>
> A zip download is the quickest way to grab a complete snapshot of your app exactly as it stands right now.

## Download vs. Push to GitHub

Both options give you your code. Neither one keeps Fabricate and your copy in sync.

| | Download | Push to GitHub |
| - | - | - |
| **What you get** | A zip file of your code | A GitHub repository with your code and history |
| **Direction** | One-way | One-way |
| **Changes made outside Fabricate** | Not brought back into Fabricate | Not brought back into Fabricate |
| **Best for** | A snapshot of your code | Keeping a copy of your code on GitHub |

## You Own Your Code

Exporting isn't a special escape hatch — it's a core part of how Fabricate works:

* **Standard stack** — React 19 + TypeScript on the frontend with plain CSS, and a Cloudflare Durable Object on Cloudflare Workers on the backend.
* **No lock-in** — the exported project is plain code you can read, modify, and run with your own setup.
* **Yours to keep** — whether you export once or never, the code belongs to you.

## Frequently Asked Questions

> [accordion] Does exporting stop me from building in Fabricate?
>
> No. You can keep prompting and building in Fabricate after an export. Exporting just produces a copy of your code.

> [accordion] Should I download or push to GitHub?
>
> Download when you want a quick copy. [Push to GitHub](https://fabricate.build/docs/build/github-sync.md) when you want your code and its history in a repository. Either way, changes you make outside Fabricate aren't brought back into your project.

> [accordion] Can I run the exported app on my own?
>
> Yes, with some setup. The code is standard TypeScript and React, but it's written to run on Fabricate's Cloudflare hosting, where your server runs as a single Durable Object and Fabricate bundles the app when it deploys. To run it yourself, you'll need to add your own build step and Cloudflare Workers configuration.

## Where to Go Next

> [card] [Push to GitHub](https://fabricate.build/docs/build/github-sync.md)
>
> Push your code to a GitHub repository.

> [card] [File Explorer](https://fabricate.build/docs/build/file-explorer.md)
>
> Browse the code before you export it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.