advertise gopher url up front

pull/14/head
chris west 4 years ago
parent caedc35c90
commit 7e15889164

@ -51,6 +51,10 @@ the gophersphere.
## installation ## installation
If you already have a Gopher client, download `phetch` here:
gopher://phkt.io/1/phetch/latest
On macOS you can install with [Homebrew](https://brew.sh/): On macOS you can install with [Homebrew](https://brew.sh/):
brew install xvxx/code/phetch brew install xvxx/code/phetch
@ -64,31 +68,27 @@ https://github.com/xvxx/phetch/releases:
Just unzip/untar the `phetch` program into your $PATH and get going! Just unzip/untar the `phetch` program into your $PATH and get going!
You can also build and install from source: You can also build and install from source if you have `cargo`,
`make`, and the other dependencies described in the next section:
git clone https://github.com/xvxx/phetch git clone https://github.com/xvxx/phetch
cd phetch cd phetch
env PREFIX=/usr/local make install env PREFIX=/usr/local make install
## updates ## development
To check for new versions of `phetch`, use the on-line help system in To build with TLS support on **Linux**, you need `openssl` and
the app (`ctrl-h`) or visit: `pkg-config`:
gopher://phkt.io/1/phetch/latest sudo apt install -y pkg-config libssl-dev
## development Regular development uses `cargo`:
cargo run -- <gopher-url> cargo run -- <gopher-url>
*Pro-tip:* Run a local gopher server on `127.0.0.1:7070` and start *Pro-tip:* Run a local gopher server on `127.0.0.1:7070` and start
phetch with `-l` or `--local` to quickly connect to it. phetch with `-l` or `--local` to quickly connect to it.
To build with TLS support on **Linux**, you need `openssl` and
`pkg-config`:
sudo apt install -y pkg-config libssl-dev
phetch builds with TLS and Tor support by default. To disable these phetch builds with TLS and Tor support by default. To disable these
features, or to enable only one of them, use the features, or to enable only one of them, use the
`--no-default-features` flag: `--no-default-features` flag:

Loading…
Cancel
Save