// <-- go back to projects

iss

git clone https://blmayer.dev/x/iss zip

Browsing main

refs | commits | files mail


Readme

ISS

A Gemini server that is simple to setup and use

There are 2 versions:

The tls version uses TLS to ensure security, and the plain one is only the plain text protocol, good for internal use and debugging.

Building

Run go install cmd/ with one of tls or plain.

Running

The TLS version requires the private key and the certificate chain, both in .pem format, use command line options to indicate them. But it boils down to:

iss -r files

To run iss with files dir as root.

To get help run iss –help or iss -h.

Examples

Listen on port 1965 using ./files/cert.pem as certificate:

iss -c files/cert.pem

To get help:

iss --help

Last commits

{{ for c in \((ls -1t commits/ | head) do msg="\)(head -n 1 commits/\(c/message)" printf "=> commits/\)c/diff %02d: \(msg\n" "\)c” done }}

Files

{{! for f in \((find cur/* -type f); do echo "=> \)f ${f#cur/*}“; done}}

Meta

This software is a work in progress and may not work as it is intended to.

Contributing

Please read the CONTRIBUTING.gmi file.

License

MIT License

Copyright (c) 2022 Brian Mayer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.