Nexy is a Python web framework where one file is a page, an endpoint, or an island. File routes, layouts and islands work the way they do in Next.js, the server code is Python, and the HTML and the API come from one process: one server, one origin, no CORS block.
uvx nexy new my-app
cd my-app
uv run nexy dev # http://localhost:3000# src/routes/api/items.py
def GET():
return [{"id": 1, "name": "First item"}]React, Vue, Svelte, Solid and Preact components render as islands inside .nexy pages, or as
whole .tsx pages when a project wants client navigation.
| You want to | Go to |
|---|---|
| Build a first app | Quick start |
| Read the documentation | nexypy.github.io/nexy |
| Move a Next.js app | Coming from Next.js |
| Ask a question | Discussions |
| Fix a first issue | good first issue |
| Contribute | CONTRIBUTING.md |
| Report a vulnerability | SECURITY.md |
| Repository | What it is |
|---|---|
| nexy | The framework: router, compiler, CLI, dev server and documentation |
Nexy is MIT licensed and built in the open. Every pull request, issue and idea is read.
