docs: Fix compile error in starting.ini
cgi: Add leading slashed to paths
test_data: Add SCRIPT_NAME to test.cgi
stargazer is a concurrent Gemini server using async io with no runtime dependencies (if compiled with musl libc). Heavily inspired by gmnisrv.
There are various installation methods, take your pick.
yay -S stargazer-gmi
docker pull zethra/stargazer
Docker Hub
You can download prebuilt Linux binaries from the release page . The bundle contain a static binary, example config, and man pages. It should work on any distro.
cargo install stargazer
Dependencies:
git clone https://git.sr.ht/~zethra/stargazer && cg stargazer
./scripts/build
# As root
./scripts/install --prefix=/usr
stargazer is targeted at Linux. It should work on MacOS, Windows, and other platforms that it's dependencies support but it's not currently tested on those platforms.
By default stargazer read the config from /etc/stargazer.ini
, but this can be
changed by with the -C
flag. A sample config is included in the project root
and is installed to /usr/share/stargazer/config.ini
.
See stargazer(1)
Stargazer is alpha software and as such should be assumed to be insecure. As such, running stargazer as an unprivileged user or in a container is probably a good idea. At this stage of development only the latest release of stargazer is supported so please only run the latest version. Security fixes will not be back ported to old releases.
Stargazer would serve files from anywhere on the file system if a path starting
with //
was requested.
All of the source code and resulting binaries of stargazer is licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE Version 3.
If you can package stargazer please do! I currently maintain an Arch package but if you can package for any other distro please do and let me know.
Please send any and all patches, bugs, and questions to the stargazer mailing list ~zethra/stargazer@lists.sr.ht or submit a ticket to the bug tracker if you feel so inclined todo.sr.ht/~zethra/stargazer.