New Software, hot off the press
2019-06-29 2pm
I have not had much time to code at home with the new baby, which
is as it should be. However, I have pecked together a few things
while the wife and baby have been asleep (such as right now).
Both were worked on as little side projects. Since I have been
sleepy I ahve not wanted to work on Bombadillo (dont want to
mess anything up out of carelessness).
The first if 'gfu', or Gophermap Format Utility. At the moment it
does what many servers will already do for you: it will take a
file as input and convert any lines that are not valid gopher
links into item type "i" links. There is a flag "-d" to reverse
this process. This should make it easier for users on Colorfield
Space to maintain their gopher hole while using chalk, the text
editor in use here. I believe gophernicus will already do this
for you, though I am not sure all the syntax. So if using a local
program to do this feels comfortable: go for it! I will also be
adding the ability to add a header or footer from a filepath to
a gophermap. Again, largely a thing that a server can do for you
but may be nice to be able to maintain yourself. I like static
files rather than dynamic generation on the fly when possible.
The second bit of software I have forked on is a port of the
Python3 mailcap library to Golang. Apparently Golang does not
have an easy way of working with mailcap files and the Python
code was in the ballpark of clear so I thought I would port it.
The reason for the interest in working with mailcap files is to
support the
colorfield.space:70 /~sloum/phlog/190629-14.txt:32: invalid line / field count