Veranda

Veranda Gemini

Veranda Gemini is a browser for Gemini, a small protocol for small, text-based pages ("capsules"). It can also show web pages turned into text, PNG pictures, and Wikipedia. It works through the Wi-Fi modem and needs Zimodem with ATCS (see Network setup).

A Gemini page

Start it

Browse

A Gopher or mail link only shows where it leads (Veranda Gopher opens Gopher addresses).

Bookmarks

Bookmarks > Add this page adds the page (named by its first heading). Remove... removes the bookmark selected (with Tab) on the bookmarks page. Up to 16.

Without your own bookmarks file, Veranda Gemini starts with: Project Gemini, the Kennedy search engine, geminispace.info's search, the Antenna feed, gemi.dev, NewsWaffle, Gemipedia and Gemipedia's featured articles. (The first four were written from memory and not checked.)

Your bookmarks are in /VERANDA/.SYSTEM/GEMINI.MARKS, one link per line:

=> gemini://geminiprotocol.net/ Project Gemini

The package never replaces this file. If you have one from before, add these lines by hand to get the new services:

=> gemini://gemi.dev/ gemi.dev
=> gemini://gemi.dev/cgi-bin/waffle.cgi NewsWaffle: web pages as gemtext
=> gemini://gemi.dev/cgi-bin/wp.cgi/ Gemipedia: Wikipedia
=> gemini://gemi.dev/cgi-bin/wp.cgi/featured Wikipedia: featured articles

Web pages

The X16 has no web browser, but Veranda Gemini can show ordinary web pages as text: their text, headings, lists and links. Follow an http:// or https:// link, or type such an address. A box asks:

A web page through the proxy

Your own proxy: web_proxy.py

  1. Copy PC/web_proxy.py from the card to a PC on your network (Python 3, nothing to install).
  2. Run python3 web_proxy.py. The first time it makes a certificate with openssl (or says how). It listens on port 1965 and takes requests only from home-network addresses.
  3. In Veranda Gemini: File > Settings..., answer 2 (always my proxy) or 0 (ask), then type the PC's address, for example 192.168.1.20 (port 1965 if you give none).

The proxy keeps a page's article text, headings, lists and links (the links numbered after each paragraph), and cuts a page at 64 KB. Its own pages: gemini://<the PC>/ (a start page), /search (a search through DuckDuckGo), /go (asks for an address). Other Gemini proxies with TLS, such as Duckling proxy or levior, work too.

File > Settings...

Four boxes, one after another (leave one empty to keep it):

  1. Web pages: 0 ask each time (the default), 1 always NewsWaffle, 2 always my proxy, 3 never.
  2. Your proxy's host:port.
  3. The largest picture shown without asking, in KB (256 at first).
  4. Wikipedia's language: en (the default), pl, de, fr, simple ...

They are kept in /VERANDA/.SYSTEM/GEMINI.CFG.

Pictures

A link to a picture has [Show image] after it. Click it (or Tab to it and press Return, then Yes to show, No to save). A PNG or JPEG picture is shown in the window in 16 colours, scaled to fit. Save (or S) copies the picture to /DOCUMENTS. Anything else goes back to the page: Esc, Backspace, Back, a click on the picture or the wheel. Another key, a toolbar button or a menu goes back to the page and then does its job, and the close box, Quit or Ctrl+Q quit straight away. While a picture is still being drawn its menus are off.

A PNG picture

Wikipedia

Veranda Gemini reads Wikipedia through Gemipedia, a free public Gemini front end to Wikipedia at gemi.dev.

A Wikipedia article

Gemipedia sees what you look up. It may be slow, change or go away.

Security

Gemini always uses TLS. The modem makes the connection (ATCS) and does not check the capsule's certificate, and Gemini's usual "trust on first use" is not possible either. Someone on your network could pose as a capsule. Do not type anything secret into a capsule's questions. Client certificates are not supported.

Limits

Alt+Tab puts Veranda Gemini aside, even during a download.

This page is also in the wiki, and on the X16 (the desktop's Veranda > Help).