Blob


1 Galileo is a Gemini proxy for the World Wide Web (www.) It speaks
2 FastCGI and is intended to be run behind OpenBSD' httpd(8), but is known
3 to work also with nginx and lighttpd.
5 Galileo doesn't serve static files, it connects to an upstream Gemini
6 server and translate HTTP requests into Gemini requests. It serves the
7 content as-is, with the only exception of translating text/gemini into
8 HTML.
10 To compile Galileo run:
12 $ ./configure
13 $ make
14 $ doas make install
16 To change the default user (`www`), the default configuration file
17 (`/etc/galileo.conf`) or the default socket location
18 (`/var/www/run/galileo.sock`), pass the the custom `USER`, `CONF` and
19 `SOCK` to the configure:
21 $ ./configure USER=_galileo CONF=/usr/local/etc/galileo.conf
23 While a custom configuration file can be given using `-f`, the user
24 can only be set during compilation.
26 The `galileo.css` file is installed by default in `/var/www/htdocs`,
27 set a custom `WWWDIR` during the install to specify another location:
29 $ doas make WWWDIR=/usr/local/www/htdocs install
31 The dependencies are
33 - libasr
34 - libevent
35 - libtls or libretls
37 When *not* building from a release tarball:
39 - (or if `parse.y' is modified) yacc or GNU bison are also needed.
41 - cross-compiling requires `HOSTCC' and `HOSTCFLAGS' to be passed to
42 the `configure' script, e.g.:
44 $ ./configure CC=riscv64-unknown-elf-gcc HOSTCC=cc