From 41c5f925637d76ff3900a486e0d966522003fa63 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 22 Jul 2021 08:35:04 +0000 Subject: chore(global): branding --- README.rst | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 README.rst (limited to 'README.rst') diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..af10d24 --- /dev/null +++ b/README.rst @@ -0,0 +1,44 @@ +Capybara +======== + +This is an `HTTP `__ to `Gemini `__ proxy designed to provide service +for a single domain, i.e. to make your Gemini site available over HTTP. It +can proxy to any domain in order to facilitate linking to the rest of +Geminispace, but it defaults to a specific domain. + +Usage +----- + +.. code-block:: shell + + $ go build + $ ./capybara [-b 127.0.0.1:8080] [-s style.css] [-e style.css] gemini://fuwn.space + +-b +~~ + +The -b argument is optional and allows you to bind to an arbitrary address; by +default Capybara will bind to :code:`:8080`. You should set up some external reverse +proxy like nginx to forward traffic to this port and add TLS. + +-s +~~ + +The -s argument is optional and allows you to specify a custom CSS filename. +The given file will be loaded from the local disk and placed in a :code:`