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 f6a65aae 2022-03-27 op => GITHUB/releases/download/VERS/gmid-VERS.tar.bz2 gmid-VERS.tar.bz2
32 ae6870fa 2021-10-04 op
33 ae6870fa 2021-10-04 op => https://git.omarpolo.com/gmid/ git repository
34 ae6870fa 2021-10-04 op => gemini://git.omarpolo.com/gmid.git/ git repository via Gemini
35 21dc3794 2022-01-28 op => GITHUB GitHub mirror
36 ae6870fa 2021-10-04 op
37 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/gmid.linux.aarch64 gmid.linux.aarch64
38 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/gmid.linux.amd64 gmid.linux.amd64
39 ae6870fa 2021-10-04 op
40 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:
41 ae6870fa 2021-10-04 op
42 ae6870fa 2021-10-04 op * libevent
43 ae6870fa 2021-10-04 op * OpenSSL/LibreSSL
44 ae6870fa 2021-10-04 op * libtls (from either LibreSSL or LibreTLS)
45 ae6870fa 2021-10-04 op * yacc or GNU bison
46 ae6870fa 2021-10-04 op
47 ae6870fa 2021-10-04 op Once all the dependencies are installed, building is as easy as:
48 ae6870fa 2021-10-04 op
49 ae6870fa 2021-10-04 op ```Example of how to compile from source
50 21dc3794 2022-01-28 op $ curl -LO GITHUB/releases/download/VERS/gmid-VERS.tar.gz
51 21dc3794 2022-01-28 op $ tar xzvf gmid-VERS.tar.gz
52 21dc3794 2022-01-28 op $ cd gmid-VERS
53 ae6870fa 2021-10-04 op $ ./configure
54 ae6870fa 2021-10-04 op $ make
55 ae6870fa 2021-10-04 op $ sudo make install # eventually
56 ae6870fa 2021-10-04 op ```
57 ae6870fa 2021-10-04 op
58 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.
59 ae6870fa 2021-10-04 op
60 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/SHA256 SHA256
61 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/SHA256 SHA256.gpg
62 21dc3794 2022-01-28 op => GITHUB/releases/download/VERS/SHA256.sig SHA256.sig
63 ae6870fa 2021-10-04 op
64 ae6870fa 2021-10-04 op To verify the signatures with signify(1)
65 ae6870fa 2021-10-04 op
66 ae6870fa 2021-10-04 op ```Example of how to verify the signature with signify
67 a14b9f77 2022-01-30 op % signify -C -p gmid-1.8.pub -x SHA256.sig
68 ae6870fa 2021-10-04 op Signature Verified
69 a14b9f77 2022-01-30 op gg.linux.amd64: OK
70 62a46b03 2022-03-26 op gmid-1.8.2-binaries.tar.gz: OK
71 62a46b03 2022-03-26 op gmid-1.8.2.tar.gz: OK
72 ae6870fa 2021-10-04 op gmid-1.8.pub: OK
73 a14b9f77 2022-01-30 op gmid-1.9.pub: OK
74 ae6870fa 2021-10-04 op gmid.linux.amd64: OK
75 ae6870fa 2021-10-04 op ```