2019-08-05 05:07:38 +02:00
< h1 align = "center" > Jetforce< / h1 >
2019-08-09 03:45:26 +02:00
2019-08-05 05:10:18 +02:00
< p align = "center" > An experimental python server framework for the new, under development Gemini Protocol.< / p >
2019-08-09 03:45:26 +02:00
2019-08-09 03:46:10 +02:00
< p align = "center" > Check out a live server running this code here: < strong > gemini://mozz.us< / strong > .< / p >
2019-08-09 03:45:26 +02:00
2019-08-09 03:45:42 +02:00
< p align = "center" > Learn more about Project Gemini from its designer, ~solderpunk, < a href = "https://gopher.commons.host/gopher://zaibatsu.circumlunar.space/1/~solderpunk/gemini" > here< / a > .< / p >
2019-08-09 03:45:26 +02:00
2019-08-05 05:08:22 +02:00
< p align = "center" > < img alt = "rocket launch" src = "resources/rocket.jpg" / > < / p >
2019-08-05 04:57:34 +02:00
2019-08-09 03:45:26 +02:00
< p align = "center" >
< a href = "https://pypi.python.org/pypi/jetforce/" >
< img alt = "pypi" src = "https://img.shields.io/pypi/v/jetforce.svg?label=version" / >
< / a >
< a href = "https://github.com/michael-lazar/jetforce/LICENSE" >
< img alt = "GitHub" src = "https://img.shields.io/github/license/michael-lazar/jetforce" >
< / a >
< a href = "https://github.com/psf/black" >
< img alt = "Code style: black" src = "https://img.shields.io/badge/code%20style-black-000000.svg" >
< / a >
< a href = "https://saythanks.io/to/michael-lazar" >
< img alt = "say-thanks" src = "https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg" / >
< / a >
< / p >
2019-08-05 04:57:34 +02:00
## Features
2019-08-05 05:18:41 +02:00
- A modern python 3 codebase with type hinting and black formatting.
2019-08-05 04:57:34 +02:00
- Lightweight, single-file web framework with zero dependencies.
- A built-in static file server with support for *.gemini* directory map files.
- Supports concurrent connections using an asynchronous event loop.
- Extendable - loosely implements the [WSGI ](https://en.wikipedia.org/wiki/Web_Server_Gateway_Interface ) server/application pattern.
## Installation
2019-08-06 00:47:59 +02:00
Requires Python 3.7+ and OpenSSL
2019-08-05 04:57:34 +02:00
### pip
```bash
$ pip install jetforce
```
### git
```bash
$ git clone https://github.com/michael-lazar/jetforce
$ cd jetforce
$ python jetforce.py
```
2019-08-06 04:22:19 +02:00
## TODO
- Finish documentation :)