Skip to content

Kubenew/pynx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pynx

PyPI - Version PyPI - Python Version PyPI - License GitHub Last Commit Downloads

pynx is a minimal Nginx-like async reverse proxy / edge router written in Python.

Features (MVP)

  • Reverse proxy (HTTP)
  • Virtual hosts (server blocks)
  • Location routing (prefix + exact match)
  • Load balancing (round-robin)
  • Basic health checks (optional)
  • Prometheus metrics (optional)

Quickstart

Install from PyPI

pip install pynx-proxy

Install (dev)

pip install -e .

Run with YAML config

pynx run -c examples/pynx.yml

Example curl

curl -H "Host: example.com" http://localhost:8080/

Config format

See examples/pynx.yml.

Roadmap

  • TLS termination + ACME
  • HTTP/2 + HTTP/3
  • Middleware pipeline (rate limit, auth, rewrite)
  • TCP/UDP proxy
  • Admin API + dashboard

Releases

No releases published

Packages

 
 
 

Contributors

Languages