Skip to main content

A simple framework for Gemini servers inspired by Flask and Express.js.

Project description

Vela (alpha)

A simple framework for Gemini servers inspired by Flask and Express.js.

from vela import Server
# SSL certificate and private key.
app = Server(cert='cert.pem', key='key.pem')

@app.route('/')
def hello(req, res):
    res.send_file('hello.gmi')

PORT = 5000
print(f'Server is listening on port {PORT}...')
app.listen(PORT)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vela-0.0.13.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

vela-0.0.13-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page