No description
  • C 96%
  • Shell 2.5%
  • Makefile 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-11-10 10:12:46 +01:00
doc gmnlm: update synopsis 2022-07-02 14:34:52 +02:00
include gmnlm: create cert dir on 6x response 2021-03-09 17:12:59 +01:00
src fix build on Arch due to calloc 2024-11-10 10:12:46 +01:00
.gitignore update .gitignore 2021-01-04 20:33:37 +01:00
config.sh all: rewrite with BearSSL rather than OpenSSL 2021-03-04 17:53:32 +01:00
configure Implement basic client certs for gmnlm 2021-03-05 17:42:02 +01:00
COPYING Initial commit 2020-09-20 10:17:39 -04:00
Makefile Makefile: update dependencies in pkgconfig 2021-10-01 21:16:52 +02:00
README.md use uppercase K for bookmark deletion 2023-04-12 11:11:10 +02:00

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 inlining 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)
  • l command to search for backlinks to current URI (via geminispace.info)
  • K command to remove the bookmark for the current page
  • u command to navigate 1 path element up
  • e[N] command to open a link or the current URI in default external program (requires xdg-open)
  • t[N] command to download the content behind a link or the current URI to a temporary file
  • T command line switch to automatically open files downloaded with t command (requires xdg-open)
  • a command and A command line switch to toggle between preformatted text and the associated alt text

Colors

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)