You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
René Wagner d06c4cda5c introduce -A param for default to alt text 6 days ago
doc introduce -A param for default to alt text 6 days ago
include gmnlm: create cert dir on 6x response 1 month ago
src introduce -A param for default to alt text 6 days ago
.gitignore update .gitignore 3 months ago
COPYING Initial commit 7 months ago
Makefile rename to cgmnlm 3 months ago
README.md allow toggling between preformatted and alt text 3 weeks ago
config.sh all: rewrite with BearSSL rather than OpenSSL 1 month ago
configure Implement basic client certs for gmnlm 1 month ago

README.md

cgmnlm - A colorful Gemini line mode client

This is a Gemini client. Included are:

Features:

  • Page history
  • Regex searches
  • Bookmarks
  • basic Client Certificate support (no autocreation of client certs currently)

Non-Features:

  • no inlinig of any link type
  • no caching of page content
  • no persistent history across sessions

Modifications compared to upstream

This project is of fork of https://git.sr.ht/~sircmpwn/gmni

It includes the following modifications:

  • colored headings & links
  • default 4 char indenting
  • s command to directly search in geminispace (via geminispace.info)
  • k command to remove the bookmark for the current page
  • e[N] command to open a link in default external program (requires xdg-open)
  • t[N] command to download the content behind a link to a temporary file
  • a command to switch between display of preformatted blocks and alt text (if available)

The actual colors used depend on your terminal palette:

  • heading 1: light red
  • heading 2: light yellow
  • heading 3: light green
  • gemini link on same capsule: light cyan
  • gemini link to another capsule: dark cyan
  • non-gemini link: light magenta
  • preformatted text: light gray

Besides this rendering adjustments i'll try to keep track of upstream changes or send patches to upstream.

Usage

See gmni(1), cgmnlm(1).

Installation

Compiling

$ mkdir build && cd build
$ ../configure
$ make
# make install

Dependencies:

  • A POSIX-like system and a C11 compiler
  • BearSSL
  • scdoc (optional)