GithubHelp home page GithubHelp logo

goemini's Introduction

goemini, yet another gemini server

This project is a server implementation of the Gemini Protocol, a lightweight, secure, privacy-focused internet protocol alternative to HTTP.

protocol overview

The Gemini Protocol is designed to be much simpler than HTTP, focusing on serving static content securely. It uses a single request-response model, and all connections are encrypted. Unlike HTTP, Gemini requests consist of a single line (a URL), and the response contains a small header followed by the body of the response, if any.

requirements

  • Go
  • OpenSSL

installation

clone the repository

git clone https://github.com/remreren/goemini.git

Then open the project on your preferred editor.

generate certificates

Generate your server's certificate and private key with OpenSSL:

openssl req -x509 -newkey rsa:4096 -keyout gemini.key -out gemini.cert -days 365 -nodes

run the server

There are two ways to run the server: installing it as a Go binary or running it directly.

Option 1: Install

To install the server as a Go binary, use:

go install ./cmd/goemini

Then, you can run the server using the binary:

/path/to/binary --cert gemini.cert --key gemini.key --path ./content/

Option 2: Run Directly

To run the server directly without installing:

go run ./cmd/goemini --cert gemini.cert --key gemini.key --path ./content/

access the server

You can now access the server using any Gemini client. I recommend using Amfora

goemini's People

Contributors

remreren avatar

Stargazers

Serkan N. avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.