docs/ai_builder/app_lifecycle/download_app.md
You can download your Reflex Build project if you want to work on it locally or self-host it outside the AI Builder.
Tip: The recommended workflow is to use the GitHub integration, which keeps your code version-controlled and in sync. Downloading is useful if GitHub integration isn’t available or you just want a one-time export.
import reflex as rx
def render_image():
return rx.el.div(
rx.image(
src="https://web.reflex-assets.dev/ai_builder/app_lifecycle/download_light.avif",
class_name="rounded-md h-auto",
border=f"0.81px solid {rx.color('slate', 5)}",
),
class_name="w-full flex flex-col rounded-md",
)
rx.el.div(render_image())
.zip file will be generated containing your entire Reflex app, including:
.py files, components, state, etc.)requirements.txt with dependenciesrxconfig.py, .env, etc.)