X-Git-Url: https://software.frrobert.com/lace/blobdiff_plain/449e7c60233dfe8127dff8dd6006d4df0b93b506..88aaf1cc739e4f2c25eb16d04ef9f3ca4bb9cc05:/README.md diff --git a/README.md b/README.md index bddc378..36644eb 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,26 @@ Forked from https://gitlab.com/uoou/dotfiles/-/blob/master/stow/bin/home/drew/.local/bin/lace -This version will run on Debian based distros running Sed 3.7 - Lace is a small script to interlace Gemini Capsule micro blogs. -The original script showed how long ago a entry was posted. +Enhancements made to the original lace with this fork. + +The original lace would not run on Linux distributions running sed 3.7 or on Termux on Android. -All versions will run with Sed 3.7 +Lace can now run on either a standard Linux distributions running sed 3.7, Termux on android, and UserLAnd on Android. Sed, date, openssl, curl, less are dependencies that need to be installed. -lace has two time headers. -How long ago the micropost was sent. -The date and time the micropost was sent. +The original script showed how long ago a entry was posted. Lace now shows how long ago a post occurred and the date and time of the post. -lacehowlong only has the how long ago time header. +### Favicons -lacewithdate only has the date and time header. +Lace may show the actual code for a favicon rather than the icon itself depending on the version of GNU less and/or fonts installed. If this happens you can either install a font that supports the favicon or comment out the following line in the script. -laceandterm runs on termux on android. Sed, date, openssl, curl are dependies that need to be installed on termux. The termux script has a glitch sometimes it returns the microblog and sometimes the pages are blank. I am working on a fix. +``` +fav=$(openssl s_client -crlf -quiet -connect "$domain:1965" <<<"gemini://$domain/favicon.txt" 2>/dev/null | sed -e '1d') +``` +Since favicons are not part of the Gemini standard, you may not want favicons to display. Commenting out the above line of code will prevent favicons from displaying. -Post about original script. + +### Post about original script. https://friendo.monster/posts/a-script-to-interleave-tiny-gemini-logs.html +