You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+38-71Lines changed: 38 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,11 @@
21
21
---
22
22
23
23
> [!NOTE]
24
-
> 🚀 **Try [Reflex Build](https://build.reflex.dev/)** – our AI-powered app builder that generates full-stack Reflex applications in seconds.
24
+
> Build faster with Reflex:
25
+
>
26
+
> -**[AI Builder](https://build.reflex.dev/)** - Generate full-stack Reflex apps in seconds.
27
+
> -**[Agent Toolkit](https://reflex.dev/docs/ai/integrations/ai-onboarding/)** - Connect MCP and Skills to your coding assistant.
28
+
> -**[App Management](https://reflex.dev/hosting)** - Deploy and manage your Reflex apps.
25
29
26
30
---
27
31
@@ -33,7 +37,6 @@ Key features:
33
37
34
38
-**Pure Python** - Write your app's frontend and backend all in Python, no need to learn Javascript.
35
39
-**Full Flexibility** - Reflex is easy to get started with, but can also scale to complex apps.
36
-
-**Deploy Instantly** - After building, deploy your app with a [single command](https://reflex.dev/docs/hosting/deploy-quick-start/) or host it on your own server.
37
40
38
41
See our [architecture page](https://reflex.dev/blog/2024-03-21-reflex-architecture/#the-reflex-architecture) to learn how Reflex works under the hood.
39
42
@@ -43,66 +46,22 @@ See our [architecture page](https://reflex.dev/blog/2024-03-21-reflex-architectu
43
46
44
47
## 🥳 Create your first app
45
48
46
-
### 1. Create the project directory
49
+
Create a project, add Reflex, and start the development server with [uv](https://docs.astral.sh/uv/):
47
50
48
-
Replace `my_app_name` with your project name:
49
-
50
-
```bash
51
+
```shell
51
52
mkdir my_app_name
52
53
cd my_app_name
53
-
```
54
-
55
-
### 2. Install uv
56
-
57
-
Reflex recommends [uv](https://docs.astral.sh/uv/) for managing your project environment and dependencies.
58
-
See the [uv installation docs](https://docs.astral.sh/uv/getting-started/installation/) for your platform.
This command initializes a template app in your new directory:
85
-
86
-
```bash
87
57
uv run reflex init
88
-
```
89
-
90
-
### 6. Run the app
91
-
92
-
You can run this app in development mode:
93
-
94
-
```bash
95
58
uv run reflex run
96
59
```
97
60
98
61
You should see your app running at http://localhost:3000.
99
62
100
63
Now you can modify the source code in `my_app_name/my_app_name.py`. Reflex has fast refreshes so you can see your changes instantly when you save your code.
101
64
102
-
### Troubleshooting
103
-
104
-
If the `reflex` command is not on your PATH, run it through uv instead: `uv run reflex init` and `uv run reflex run`
105
-
106
65
## 🫧 Example App
107
66
108
67
Build an image generation app in Python with Reflex: define the UI, manage state in a class, and call an image model from an event handler.
@@ -115,41 +74,49 @@ Build an image generation app in Python with Reflex: define the UI, manage state
Reflex Build uses AI to generate complete full-stack Python applications. It helps you quickly create, customize, and refine your Reflex apps — from frontend components to backend logic — so you can focus on your ideas instead of boilerplate code. Whether you’re prototyping or scaling, Reflex Build accelerates development by intelligently scaffolding and optimizing your app’s entire stack.
84
+
classState(rx.State):
85
+
prompt: str=""
86
+
image_url: str=""
87
+
processing: bool=False
132
88
133
-
Alongside this, [Reflex Cloud](https://cloud.reflex.dev) launched in 2025 to offer the best hosting experience for your Reflex apps. We’re continuously improving the platform with new features and capabilities.
89
+
@rx.event
90
+
defset_prompt(self, value: str):
91
+
self.prompt = value
134
92
135
-
Reflex has new releases and features coming every week! Make sure to :star: star and :eyes: watch this repository to stay up to date.
-**Join Our Discord**: Our [Discord](https://discord.gg/T5WSbC2YtQ) is the best place to get help on your Reflex project and to discuss how you can contribute.
142
-
-**GitHub Discussions**: A great way to talk about features you want added or things that are confusing/need clarification.
143
-
-**GitHub Issues**: [Issues](https://github.com/reflex-dev/reflex/issues) are an excellent way to report bugs. Additionally, you can try and solve an existing issue and submit a PR.
144
113
145
-
We are actively looking for contributors, no matter your skill level or experience. To contribute check out [CONTRIBUTING.md](https://github.com/reflex-dev/reflex/blob/main/CONTRIBUTING.md)
0 commit comments