31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
<h1 align="center">Jetforce</h1>
|
|
<p align="center">An experimental python server framework for the new, under development Gemini Protocol.</p>
|
|
<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>
|
|
<p align="center"><img alt="rocket launch" src="resources/rocket.jpg"/></p>
|
|
|
|
## Features
|
|
|
|
- A modern python 3 codebase with type hinting and black formatting.
|
|
- 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
|
|
|
|
Requires Python 3.7+ and OpenSSL
|
|
|
|
### pip
|
|
|
|
```bash
|
|
$ pip install jetforce
|
|
```
|
|
|
|
### git
|
|
|
|
```bash
|
|
$ git clone https://github.com/michael-lazar/jetforce
|
|
$ cd jetforce
|
|
$ python jetforce.py
|
|
```
|