DAGDA SEARCH | Back to results | Support the Project

NEXY · GitHub

Source: https://github.com/NexyPy

@NexyPy

NEXY

One file is a page, an endpoint, or an island. The Python framework with FastAPI and Vite in one process. README.md

Nexy: one file, one page, one origin.

Next.js, in Python

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.

Start here

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

Repositories

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.

Pinned Loading

  1. docs docs Public archive

    Archived: the first documentation site. The docs now live in NexyPy/nexy/docs.

    MDX 1 2

  2. nexy nexy Public

    Next.js, in Python. Same file routes, same layouts, same islands, with Python on the server. FastAPI + Vite in one process: no second server, no CORS block.

    Python 11 12

Repositories

Showing 10 of 14 repositories View all repositories

People

@SedeoLeos @Espoir-Loem

Top languages

Loading…

Uh oh!

There was an error while loading. Please reload this page.

Most used topics

Loading…

Uh oh!

There was an error while loading. Please reload this page.