Skip to content
/ gemini Public

gemini protocol implementation using http style handling

License

Notifications You must be signed in to change notification settings

kulak/gemini

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published