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.
phetch/README.md

69 lines
1.7 KiB
Markdown

5 years ago
# phetch
dirt simple terminal gopher client.
5 years ago
## features
5 years ago
4 years ago
- small (<1MB) executable for linux and macos
5 years ago
- technicolor design
5 years ago
- no nonsense keyboard navigation
4 years ago
## 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.
5 years ago
## development
5 years ago
cargo run -- <gopher-url>
5 years ago
## resources
4 years ago
- [rfc 1346](https://tools.ietf.org/html/rfc1436)
4 years ago
- http://ascii-table.com/ansi-escape-sequences.php
4 years ago
## gopher sites
- gopher.black
- sdf.org
- gopher.quux.org
- hngopher.com
4 years ago
- bitreich.org
## TODO
### Basics
4 years ago
- [ ] MENU: up/down scroll when next link out of view
- [ ] MENU: page up/page down show next page, highlight first link
4 years ago
- [ ] status() helper
- [ ] show errors in status()
- [ ] replace all panic! with errors
- [ ] replace all unwrap/expect with errors
- [ ] TLS
4 years ago
- [ ] MENU: open HTML link in browser
4 years ago
- [ ] `?` to show all keyboard shortcuts
- [ ] input field that... takes input
4 years ago
- [ ] search functionality
4 years ago
- [ ] download to ~/Downloads
4 years ago
- https://github.com/dvkt/gg/blob/master/gg.go#L442
4 years ago
- [ ] 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
4 years ago
- [ ] ? download to pwd
- [ ] ? download to custom location
4 years ago
- [ ] pipe input to render as gopher
4 years ago
$ curl gopher.antirez.com:70 | phetch
4 years ago
- [ ] syntax highlight code
4 years ago
$ phetch code.some-gopher-site.io/gw/main.go
- [ ] fuzzy find search links
- https://github.com/stewart/rff
- https://github.com/Schlechtwetterfront/fuzzy-rs
- [ ] detect SIGWINCH
- https://github.com/BurntSushi/chan-signal