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 94436701a8 Added tabs and created a forked lite version 2019-01-05 22:17:15 -08:00
README.md Added tabs and created a forked lite version 2019-01-05 22:17:15 -08:00
stubb Added tabs and created a forked lite version 2019-01-05 22:17:15 -08:00
stubb-lite Added tabs and created a forked lite version 2019-01-05 22:17:15 -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.

The command bar lists the current tab number, out of how many total tabs. It also lists the current place in history (for the tab you are currently on).

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.

Versions

This repo contains two files: stubb and stubb-lite. The later has a simpler menu structure and lacks support for having multiple tabs open. The filesize and memory usage should be similar, but the navigation may involve fewer keypresses in the lite version.

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.

  • Navigation

    • (B)ack
    • (F)orward
    • (G)o to
      • (B)ookmark
      • (L)ink
      • (T)ab
      • (U)rl
    • (R)eload current url
  • Bookmarks/Tabs

    • (A)dd
      • (B)ookmark
      • (T)ab
    • (D)elete
      • (B)ookmark
      • (T)ab
    • (L)ist
      • (B)ookmark
      • (T)ab
    • (U)pdate bookmark title
  • System

    • (H)elp
    • (Q)uit
    • (S)ave current page

When a gophermap is loaded, links will be enumerated. Pressing (G) and then (L) will prompt you for what link you would like to follow. Links are always based on the most recently loaded url for your current tab.

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:

Notes

Stubb is free, as in freedom, software. Modify it as you see fit, give it to whoever you want. It would be great if you referenced the original or cross linked, but it is not required.