A bare-bones terminal browser for Gemini protocol pages written in Perl as a reference to some Minecraft youtubers. What am I doing with my life...
- Type the address of a page and then the content of the page is shown on the screen
- Navigate to links in the page by number
- Non-Gemini links prompt to open in other applications (xdg-open)
- Smooth scrolling
- Word wrapping
- Maximum page width with centering (configurable in GeminiPage.pm)
./shiny.pl
for a blank page prompting for a URL../shiny.pl <URL>
to open the given URL (assumesgemini://
if not specified)
- q - quit
- l - prompt to type the number of a link to navigate to
- g - prompt to type an address to navigate to
- Up/Down arrows, Home, End, PageUp, PageDown - vertical scrolling
- Left/Right arrows, <, > - horizontal scrolling (for
pre
sections wider than the page)
- Written with Perl 5.36.0 (I don't know much about Perl but it seems very version dependent...)
- IO::Socket::SSL
- Term::ANSIScreen
- Term::RawInput
- Term::ReadKey