Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Dec 23:42
· 6 commits to master since this release

phetch is all about fun colors, but your options have always been limited. You could turn off colors via NO_COLOR env variable or you could leave them on. That's it.

Well, not anymore. As of v1.2, phetch now supports themes, in addition to a few new config options.

image

Android & Termux

  • phetch is now available on Android via Termux! You can find phetch-v1.2.0-android-aarch64.tgz at the bottom of this release. Thanks @mmpx12!

Bugfixes

  • Suspending and resuming phetch with ctrl-z/fg should now work properly on non-fish shells.

Config Options

The new config options in this release, for your convenience, are as follows:

  • scroll controls how many lines to jump by when paging up/down. If set to 0 (the new default), you'll jump by an entire screen.
  • autoplay controls whether you'll be prompted to play media files or not. By default it's false, but one might find it handy to set to true if hosting, say, a Gopher-powered music server.

Keyboard Shortcuts

Just one, but it's a doozy:

  • You can now reload the current URL by pressing R (shift+r). Super handy when developing your own Gopherhole!

Themes

As mentioned, themes are simple files with roughly the same format as phetch.conf:

$ cat ~/.config/phetch/default.theme
# Color Scheme
## UI
ui.cursor white bold
ui.number magenta
ui.menu yellow
ui.text white

## Items
item.text cyan
item.menu blue
item.error red
item.search white
item.telnet grey
item.external green
item.download white underline
item.media green underline
item.unsupported whitebg red

Create your theme file and launch phetch with -t FILE, or set the theme FILE option in your ~/.config/phetch/phetch.conf

You can also set theme colors directly in your phetch.conf.

Learn more about themes, including which colors are available, by opening phetch's on-line help: press h then 7 to get there quickly.

For reference, we've included a few fun themes in the repo itself that you can download and play with:

https://github.com/xvxx/phetch/tree/master/themes

image

image