kulak / gemini

gemini protocol implementation using http style handling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gemini

Gemini protocol and Titan protocol GO package for the server using net/http style API.

The package was created after attempt to use a couple of existing libraries for the server side and not finding those satisfactory in terms of exposed API.

The package follows core design pattern used in standard net/http package. API correlation made it possible to adapt julienschmidt/httprouter package to GEMINI protocol in geminirouter package.

Titan protocol tested with Lagrange browser.

Current implementation is server focused and does not provide API to send requests to GEMINI server.

At the server level library implements GEMINI and TITAN protocols including support for Client certificates.

Example Server

To run server one needs to generate appropriate server certificate.

Run example server:

make run

Known Issues

getRequest function reading request bytes is functional, but seems to be ineficient.

About

gemini protocol implementation using http style handling

License:MIT License


Languages

Language:Go 98.3%Language:Makefile 1.7%