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

71 lines
2.3 KiB
Markdown

4 years ago
<p align="center">
4 years ago
<img src="./phetch.png">
<br> <br>
4 years ago
<a href="LICENSE">
<img src="https://img.shields.io/badge/license-MIT-blueviolet?style=flat-square">
</a>
<a href="https://github.com/dvkt/phetch/releases/tag/v0.0.0">
<img src="https://img.shields.io/badge/current_release-0.0.0-brightgreen.svg?style=flat-square">
</a>
<a href="https://github.com/dvkt/phetch">
<img src="https://img.shields.io/badge/dev_version-0.1.0--dev-lightgrey.svg?style=flat-square">
</a>
4 years ago
</p>
4 years ago
4 years ago
`phetch` is a terminal gopher client designed for quick keyboard navigation. It is the spiritual success to [GILD](https://github.com/dvkt/gild).
5 years ago
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
4 years ago
phetch <gopher-url> # Show GopherHole at URL
phetch -r <gopher-url> # Print raw Gopher response.
phetch -h # Show this screen.
phetch -v # Show phetch version.
4 years ago
4 years ago
## installation
4 years ago
`phetch` is available as a standalone executable for MacOS and Linux:
4 years ago
4 years ago
- MacOS: https://github.com/dvkt/phetch/releases/download/v0.1.0/phetch-macos.zip
- Linux x86_64: https://github.com/dvkt/phetch/releases/download/v0.1.0/phetch-linux-x86-64.tar.gz
- Linux ARM: https://github.com/dvkt/phetch/releases/download/v0.1.0/phetch-linux-arm.tar.gz
4 years ago
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
- http://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html
4 years ago
4 years ago
## 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
4 years ago
- [ ] search functionality
4 years ago
- [ ] download to ~/Downloads
- [ ] save history to file
- [ ] load history from file
- [ ] load most recent URL when opening without args
### Bonus
4 years ago
- [ ] fuzzy find search links
- https://github.com/stewart/rff
- https://github.com/Schlechtwetterfront/fuzzy-rs
- [ ] detect SIGWINCH
- https://github.com/BurntSushi/chan-signal