Paul Sutton

vern

Gopher 4: Anatomy of a gopermap

A gophermap is a plain text file, with a specific format to tell gopher how to interpret the various elements.

I will try and explain my own gophermap fille below.

Firstly, we have a banner, this can be gernerated from various websites, for example :-

i ______     _____    _    ____     	(NULL)  0	   
i|__  / |   | ____|  / \  |  _ \    	(NULL)  0	     
i  / /| |   |  _|   / _ \ | |_) |   	(NULL)  0	
i / /_| |___| |___ / ___ \|  __/    	(NULL)  0	
i/____|_____|_____/_/   \_\_|       	(NULL)  0	   

After which I have put a brief introduction and links to text files that are also stored along side the gophermap.

My name is Paul. This is my gopherspace on vern.cc. 

INFO

0About me	about.txt
0Contact	contact.txt
0Blog	blog.txt

So two IMPORTANT things here, the 0 at the start of the line tells gopher to link to a text file. See link 1 for an explanation of what to put at the start of a line for linking to different types of resources.

We then have a name of what we are linking to, then a then the filename. You MUST set up your editor so it interprets tabs properly.

Alongside the text files, I have a PDF file and a link to the source LaTeX file (which is plain text), I have also linked to a shell script and a CSV data file.

PROJECTS

Command reference for the Joe Text Editor

9Joe Command Reference(pdf)	jcr.pdf
0LaTeX Source for above	main.tex

Weather logger,  this is a simple bash script, that uses the ascii weather program to obtain weather information, and log this with time and date.   I have it running on a Raspberry Pi, so when plugged in, it logs the data to a CSV (comma separated values) file. 

0Weather logger bash Script	logweather.sh
0Output file (CSV)	weather.csv

Note, you will probably need to set permissions on logweather.sh to +x

While we can't display pictures / graphics in gopher, we can link to such files so they can be downloaded. Note below, I have these files in a directory / folder alongside my gophermap. so, need to include the path to the file.

  /pictures/tux.jpg

GRAPHICS

ITux	/pictures/tux.jpg
ISouth West Map	/southwest1.png

We can also link to other gopher sites and resources

GOPHER LINKS

0Vern.cc	gopher://vern.cc/	70
0Why is Gopher Still Relevant?	/gopher/relevance.txt	gopher.floodgap.com	70

While it is possible to link to a website URL I have decided to link to a markdown file, that has weblinks within. Users will need to copy / paste the url or download and open as a markdown file.

WEB LINKS

I have sorted into categories

0Astronomy & Space	AstroSpace.md
0Discussion Forums	Discussion.md

Links

1 Structure of a gophermap 2 Vern.cc 3 Vern Matrix

Tags

#Gopher,#Gophermap


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Gopher 3

I have set up an account on vern.cc which will give me access to a working gopher server. In the meantime, I am working on a gophermap file and some support files to upload alongside it.

As vern.cc already offer gopher as a service, then the directory public_gopher already exists, so it is a case of copying in to there.

So to upload I can use

scp gophermap user@vern.cc:/home/user/public_gopher

Then to view this using a gopher client

gopher gopher://vern.cc/

Which will bring up a menu of users, and you can select zleap from the bottom of the list.

A few more notes

The gophermap file uses TABS, in your text editor you make sure you are using tabs not spaces, in xed (the editor I am using) there is an option in preferences that says use spaces instead of tabs this needs to be turned off.

It then formats the file correctly

spaces vs tabs

Tags

#Gopher,#Vern,#Internet


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Gopher 2

As I am going to look in to hosted services for gopher. I am removing gophernicus from the Raspberry Pi

sudo apt remove gophernicus
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  python3-simpletal
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  gophernicus
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 125 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 77532 files and directories currently installed.)
Removing gophernicus (3.1.1-3+b1) ...
Processing triggers for man-db (2.11.2-2) ...

I may as well run auto remove to clean up further

sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  python3-simpletal
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 195 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 77518 files and directories currently installed.)
Removing python3-simpletal (5.2-3) ...

I am leaving the gopher client installed, as this may be needed later.

So I will be looking at setting up a vern.cc account as they offer gopher as one of their services.

Tags

#Gopher,#Remove,


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

Gopher

With lots of discussions about big tech, privacy and data protection there has been discussions on the Social Web, about using protocols such as Gopher and related software.

We are also seeing attacks on science from the USA with departments cut, and information on a range of issues; such as DEI, Climate Science, Medical Science being removed, risking this being lost forever.

The Gopher protocol (/ˈɡoʊfər/ ⓘ) is a communication protocol designed for distributing, searching, and retrieving documents in Internet Protocol networks. [1]

There are still some servers out there, some are new, and offer services such as HackerNews, Project Gutenberg and others. Thanks to Anthk @anthk@paquita.masto.host who has made a list of some of these Gopher servers

Does the web allow you to do this at 2.7 KBPS?

  • Gutenberg gopher://gopher.icu/7/gutenberg
  • Internet Archive gopher://tilde.pink/1/~bencollver/ia/
  • Huge portal gopher://magical.fish
  • News, blog and more gopher://1436.ninja
  • Reddit gopher://gopherddit.com
  • HN gopher://hngopher.com
  • Google Maps (text) gopher://tilde.pink/1/~bencollver/dir
  • Podcasts: gopher://gopher.icu/1/pod Blogs:
  • gopher://sdf.org
  • Weather (finger):
  • gopher://graph.no:79/0/London

There are still clients software out there, and yeah you can all this with good old plain text.

apt search gopher

Links

  1. Wikipedia – Gopher Protocol

DIY Gopher Server

Note the tutorial above on how to set up gopher on a Raspberry Pi, appears to be using system V, (init.d system I think) hence I have included the 3rd link which covers how to manage services on both. The 2nd link should help with setting up the actual gopher files.

I tried to install the software mentioned in the first link above and there seems to be a problem with this in my raspberry pi, so I removed this and have installed gophernicus instead.

22/4/2025

If all else fails then vern.cc members get gopher as one of the services. So I will look at a hosted service.

21/4/2025

Had issues with gophernicus as I am not sure where the config file is.

Tags

#Internet,#Communication.#Protocol,#Gopher,#Software,


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay

VFsync

If you don't have access (direct or remote) to a computer running GNU/Linux there are several options, one of which is vfsync.

VFsync (for Virtual File Synchronization) is a secure file synchronization system.

 *   In a web based virtual machine. The files can be manipulated with all the standard Unix commands and imported or exported to the host system.
 *  In a small Desktop based virtual machine. It is faster than the web based virtual machine and unlike other virtual machines, no disk image needs to be downloaded.
 *  With a small standalone client directly running on the host system. 

Links

Notes

You won't't be able to do everything in the posts on this site, or tutorials elsewhere, however you can still do quite a lot, so this should be a good opportunity to learn until you can find other solutions. There are a few links below. I am not going to recommend or endorse a particular solution..

As there is a demand for technical skills in areas such as cloud compiuting and cybersecurity then knowing how to use GNU/Linux and similar unix systems is probably essential, as would be understanding powershell, I am not sure if this is the case, but AI needs to run on servers, which are mostly likely to be powered by GNU/Linux. I will leave readers to do their own reserach.

More Links

There are numerous options at

Chat

I am on the Devon and Cornwall Linux user group mailing list and also their matrix channel as zleap, it is better to ask there, that way others can answer too.

Tags

#Learning,#GNU,#Linux,#Remote,#Shell,#Vfsync,#vern,#Virtual,#VirtualMacine,#VM#BASH,#Bash


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay