Stubb is a text only gopher browser written in Lua. It is built to be lightweight and quick. https://rawtext.club/~sloum/stubb.html
Go to file
sloumdrone 29e5f07ae4 Further fixes to markdown 2019-01-05 16:25:00 -08:00
README.md Further fixes to markdown 2019-01-05 16:25:00 -08:00
stubb Added readme and updated code to save favorites at each point that they are modified, rather than only on quit 2019-01-05 16:04:01 -08:00

README.md

Stubb

Stubb is a text based gopher client that only displays and supports gophertypes: 0 (text) and 1 (gopher map). The program is named for the character Stubb from Moby Dick, known for his imaginative patter and good humor.

In an effort to streamline the browsing experience for text only, gophermap rendering will not include lines with gophertypes that are not 0, 1, or i (text/display elements). Stubb supports bookmarks, file save, and session only history (cleared on quit).

Support for search is currently under consideration. I have not generally found Gopher search to be particularly useful. The lack of tagging and organization makes most search results from Veronica2 seem like playing the lottery. We'll see.

Setup

Make sure your system has Lua 5.1 on it. I believe this application should work with 5.2 (so long as you get the appropriate dependencies), however, I believe the socket library is buggy for 5.3, so best to stay on an earlier version.

If you do not have luarocks package manager, get it and run: luarocks install luasocket

That should take care of dependencies. You just need to make sure that stubb (found in this repo) is executable and you are good to go.

Commands

Stub responds to single key commands without requiring the user to press enter. Some commands will request further information, such as a link or bookmark id: (5) or (f2) respectively.

Key Effect
B Back
F Forward
G Go to url
R Reload current url
V Visit link/bookmark
A Add bookmark
D Delete bookmark
L List bookmarks
U Update bookmark title
H Help
Q Quit
S Save file to disk

When a gophermap is loaded, links will be enumerated. Pressing 'V' will prompt you for what link you would like to follow. Links are always based on the most recently loaded URL. However, bookmarks, which take the format 'f#' where # is the bookmark id, can be accessed at any time (you do not have to list bookmarks before visiting one, you just have to include the 'f' before the number).

File save is always based out of the home directory of the user that launched Stubb.

Recommendations

If Stubb's slim and light style is not fitting your needs, or you just want to check out some other gopher client projects, I highly recomend the following: