You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
dvkt 4bdc4dbeeb MIT 4 years ago
src center content 4 years ago
.gitignore local phetch 4 years ago
Cargo.lock depend on termios 5 years ago
Cargo.toml tweaks from https://github.com/johnthagen/min-sized-rust 4 years ago
LICENSE MIT 4 years ago
Makefile tweak makefile, selected star 4 years ago
README.md readme badges 4 years ago

README.md

phetch

phetch is a terminal gopher client designed for quick keyboard navigation. It is the spiritual success to GILD.

features

  • small (<1MB) executable for linux and macos
  • technicolor design
  • no nonsense keyboard navigation

usage

phetch <gopher-url>        # Show GopherHole at URL
phetch -raw <gopher-url>   # Print raw Gopher response.
phetch -help               # Show this screen.
phetch -version            # Show phetch version.

installation

MacOS:

wget https://github.com/dvkt/phetch/releases/download/v0.1.0/phetch-macos.zip
unzip phetch-macos.zip
./phetch -h

Linux x86_64:

wget https://github.com/dvkt/phetch/releases/download/v0.1.0/phetch-linux-x86-64.zip
unzip phetch-linux-x86-64.zip
./phetch -h

Linux ARM:

wget https://github.com/dvkt/phetch/releases/download/v0.1.0/phetch-linux-arm.zip
unzip phetch-linux-arm.zip
./phetch -h

development

cargo run -- <gopher-url>

resources

TODO

Basics

  • MENU: up/down scroll when next link out of view
  • MENU: page up/page down show next page, highlight first link
  • status() helper
  • show errors in status()
  • replace all panic! with errors
  • replace all unwrap/expect with errors
  • TLS
  • MENU: open HTML link in browser
  • ? to show all keyboard shortcuts
  • search functionality
  • download to ~/Downloads
  • save history to file
  • load history from file
  • load most recent URL when opening without args

Bonus