mirror of
https://github.com/xvxx/phetch
synced 2024-11-05 00:00:58 +00:00
1.7 KiB
1.7 KiB
phetch
dirt simple terminal gopher client.
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.
development
cargo run -- <gopher-url>
resources
gopher sites
- gopher.black
- sdf.org
- gopher.quux.org
- hngopher.com
- bitreich.org
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- input field that... takes input
- search functionality
- download to ~/Downloads
- save history to file
- load history from file
- load most recent URL when opening without args
Bonus
- play sound file in background
- render markdown-lite
- display HTML-lite
- ? download to pwd
- ? download to custom location
- pipe input to render as gopher $ curl gopher.antirez.com:70 | phetch
- syntax highlight code $ phetch code.some-gopher-site.io/gw/main.go
- fuzzy find search links
- detect SIGWINCH