~earboxer/jemini-sh

Terminal-based Gemini client: port of ~jameschip/jemini to POSIX sh
docs: make work better as a markdown file
docs: clean up readme
docs: describe project as fork of the fish project

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~earboxer/jemini-sh
read/write
git@git.sr.ht:~earboxer/jemini-sh

You can also use your local clone with git send-email.

#Jemini-sh

Jemini-sh is an attempt at implementing a gemini client in POSIX shell with minimal features and dependencies. Originally forked from a fish-shell client.

=> https://git.sr.ht/~jameschip/jemini Jemini-sh's fishy father

#Dependencies

  • sed
  • ncat

#TODO

  • Interactively handle input (statuses 10, 11)
  • Interactively handle redirection (status 3x)
  • Interactively create and use client certs (status 60)
  • Save files based on mime type

#The scripts

The client is made up of several shell scripts, each having its own purpose.

#jemini_request.sh

This script is responsible for performing a request to a gemini server. The full response is written to stdout.

./jemini_request.sh gemini://gemini.circumlunar.space/~jameschip/food/cgtchut.gmi

#jemini_parse.sh

Parses text/gemini from stdin into a colourful output.

gmni 'gemini://gus.guru/search?posix' | ./jemini_parse.sh