user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: meta@public-inbox.org
Subject: Re: Gemini protocol view?
Date: Fri, 7 Mar 2025 21:25:40 +0000	[thread overview]
Message-ID: <20250307212540.M289864@dcvr> (raw)
In-Reply-To: <20250304221421.M144167@dcvr>

Eric Wong <e@80x24.org> wrote:
> Konstantin Ryabitsev <konstantin@linuxfoundation.org> wrote:
> > Hi:
> > 
> > Just a wild idea -- how hard would it be to present a gemini:// protocol view
> > in addition to the web view?
> 
> Probably not hard at all, but I haven't looked at it at all and
> am still trying figure out how to make a 2.0 release soon with
> codesearch support...

Yeah, definitely doable and a mostly mindless distraction
while hitting mental blocks with codesearch UI.

Not sure about clients, I'm just using something like:

	echo $URL | openssl s_client -crlf -connect ...

right now; but I know https://git.sr.ht/~rkta/w3m has a gemini
branch which I'll have to look at.  I loathe having to program
new TUI keybindings into my muscle memory.

notes:

* The ``` use for preformatted blocks doesn't have an established
  way to escape it, but I suppose prefixing those with
  "\N{ZERO WIDTH SPACE}" is fine for escaping.

* the specifications are developed on GitLab so not accessible
  to non-JS users (which seems like a chunk of the target
  audience for gemini)

* text/gemini is better than the mess that is Markdown (or similar)

* lack of TLS connection reuse sucks on high-latency networks
  if trying to browse through a bunch of messages quickly
  (something that an NNTP/IMAP client would do)

* lack of compression would suck for /T/ and /t/ endpoints
  for trying to browse a thread w/ a single request...

* titan:// is an extension that can be used like POST/PUT if we
  ever support non-SMTP inputs; especially with TOFU + client
  certs (`git send-titan' anyone?)

* URLs being limited to 1024 bytes shouldn't be a problem for
  non-spam Message-IDs (Xapian has a lower limit (244) for terms)

more to come...

  parent reply	other threads:[~2025-03-07 21:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-04 19:44 Gemini protocol view? Konstantin Ryabitsev
2025-03-04 22:14 ` Eric Wong
2025-03-05  0:45   ` [PATCH] listener: don't set listen backlog on inherited sockets Eric Wong
2025-03-05 16:54     ` Konstantin Ryabitsev
2025-03-07 21:25   ` Eric Wong [this message]
2025-03-11 19:26     ` Gemini protocol view? Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250307212540.M289864@dcvr \
    --to=e@80x24.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).