Blame


1 ae6870fa 2021-10-04 op # gmid
2 ae6870fa 2021-10-04 op
3 ae6870fa 2021-10-04 op > A Gemini server
4 ae6870fa 2021-10-04 op
5 ae6870fa 2021-10-04 op ## Features
6 ae6870fa 2021-10-04 op
7 ae6870fa 2021-10-04 op * sandboxed by default on OpenBSD, FreeBSD and Linux
8 ae6870fa 2021-10-04 op * able to reload the configuration on-the-fly without loosing connections
9 ae6870fa 2021-10-04 op * punycode and IRI support
10 c3eb759a 2021-12-29 op * reverse proxying
11 ae6870fa 2021-10-04 op * CGI and FastCGI support
12 ae6870fa 2021-10-04 op * virtual hosts and per-location rules
13 ae6870fa 2021-10-04 op * low memory footprint
14 ae6870fa 2021-10-04 op * event-based asynchronous I/O model
15 ae6870fa 2021-10-04 op * rich configuration file
16 ae6870fa 2021-10-04 op
17 21dc3794 2022-01-28 op gmid also bundles a small gemini client called ‘gg’ (gemini get)
18 ae6870fa 2021-10-04 op
19 21dc3794 2022-01-28 op => gmid.1.MANEXT gmid(1) manpage
20 21dc3794 2022-01-28 op => gg.1.MANEXT gg(1) manpage
21 21dc3794 2022-01-28 op
22 ae6870fa 2021-10-04 op ## Install
23 ae6870fa 2021-10-04 op
24 ae6870fa 2021-10-04 op Some distros provide a package — thanks to the maintainers!
25 ae6870fa 2021-10-04 op
26 21dc3794 2022-01-28 op => REPOLOGY Repology: packaging status for gmid
27 ae6870fa 2021-10-04 op
28 ae6870fa 2021-10-04 op Source code and precompiled binaries for linux are available:
29 ae6870fa 2021-10-04 op
30 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/gmid-VERS.tar.gz gmid-VERS.tar.gz
31 ae6870fa 2021-10-04 op
32 ae6870fa 2021-10-04 op => https://git.omarpolo.com/gmid/ git repository
33 ae6870fa 2021-10-04 op => gemini://git.omarpolo.com/gmid.git/ git repository via Gemini
34 21dc3794 2022-01-28 op => GITHUB GitHub mirror
35 ae6870fa 2021-10-04 op
36 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/gmid.linux.aarch64 gmid.linux.aarch64
37 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/gmid.linux.amd64 gmid.linux.amd64
38 ae6870fa 2021-10-04 op
39 ae6870fa 2021-10-04 op When in doubt, compile from source: it’s easy and takes less than a minute on a raspberry pi 3. The dependencies are:
40 ae6870fa 2021-10-04 op
41 ae6870fa 2021-10-04 op * libevent
42 ae6870fa 2021-10-04 op * OpenSSL/LibreSSL
43 ae6870fa 2021-10-04 op * libtls (from either LibreSSL or LibreTLS)
44 ae6870fa 2021-10-04 op * yacc or GNU bison
45 ae6870fa 2021-10-04 op
46 ae6870fa 2021-10-04 op Once all the dependencies are installed, building is as easy as:
47 ae6870fa 2021-10-04 op
48 ae6870fa 2021-10-04 op ```Example of how to compile from source
49 21dc3794 2022-01-28 op $ curl -LO GITHUB/releases/download/VERS/gmid-VERS.tar.gz
50 21dc3794 2022-01-28 op $ tar xzvf gmid-VERS.tar.gz
51 21dc3794 2022-01-28 op $ cd gmid-VERS
52 ae6870fa 2021-10-04 op $ ./configure
53 ae6870fa 2021-10-04 op $ make
54 ae6870fa 2021-10-04 op $ sudo make install # eventually
55 ae6870fa 2021-10-04 op ```
56 ae6870fa 2021-10-04 op
57 21dc3794 2022-01-28 op A SHA256 file is available. However, that only checks for accidental corruption: you can use signify (SHA256.sig and the public key gmid-CURV.pub) or GPG. The hash of the signify public key is also included in the SHA256 file and thus signed with my GPG. The signify public key for the next release ‘gmid-NEXTV.pub’ is also included.
58 ae6870fa 2021-10-04 op
59 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/SHA256 SHA256
60 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/SHA256 SHA256.gpg
61 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/SHA256.sig SHA256.sig
62 ae6870fa 2021-10-04 op
63 ae6870fa 2021-10-04 op To verify the signatures with signify(1)
64 ae6870fa 2021-10-04 op
65 ae6870fa 2021-10-04 op ```Example of how to verify the signature with signify
66 a14b9f77 2022-01-30 op % signify -C -p gmid-1.8.pub -x SHA256.sig
67 ae6870fa 2021-10-04 op Signature Verified
68 a14b9f77 2022-01-30 op gg.linux.amd64: OK
69 c6ae2561 2022-02-10 op gmid-1.8.1-binaries.tar.gz: OK
70 c6ae2561 2022-02-10 op gmid-1.8.1.tar.gz: OK
71 ae6870fa 2021-10-04 op gmid-1.8.pub: OK
72 a14b9f77 2022-01-30 op gmid-1.9.pub: OK
73 ae6870fa 2021-10-04 op gmid.linux.amd64: OK
74 ae6870fa 2021-10-04 op ```