Skip to content

fjebaker/cozroe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cozroe

A gemini file server with a few extra features, implemented in Zig using zig-serve.

This is not meant to be a generic server, and is being tailored for my use cases, which will be documented more as I figure them out.

Build

Requires zigmod package manager. Fetch all dependencies:

zigmod fetch
git submodule init
git submodule update --init --recursive

Apply custom patches to fix compilation issues, and modify logging statements:

./apply-patches.sh

Then build

zig build -Drelease-small
$ ./zig-out/bin/cozroe --help
    -h, --help
            Display this help and exit.

        --cert <str>
            Public certificate.

        --private_key <str>
            Private key.

        --dir <str>
            Directory to serve.

        --port <u16>
            Port to listen on.

        --database <str>
            SQLite database to store traffic logs.

About

Custom little gemini server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages