Groups | Search | Server Info | Login | Register
Groups > comp.infosystems.gemini > #906
| From | gmc@metro.cx (Koen Martens) |
|---|---|
| Newsgroups | comp.infosystems.gemini |
| Subject | Re: Simple URL scheme handler library |
| Date | 2026-05-09 17:11 +0000 |
| Organization | Sonologic AB |
| Message-ID | <10tnprj$4it$1@nntp.sonologic.net> (permalink) |
| References | <10pn19c$2olkn$1@dont-email.me> |
Andrew T. <and4y2@turnquist.name.invalid> wrote: > I've been playing with gemini for a while now (a year or two?). In > some of my spare time I've been working on a C/ncurses based browser > (using gmi100 as a starting point), which I hope to release in some > form soon. Cool, looking forward to that! I've found that I want to do less GUI and go back to good old console for more and more. > So I wrote a very small library to look up handlers in a file, > /etc/schemecap, similar to the MIME /etc/mailcap file. Now, if my > gemini client finds a non-gemini URL, it can find what to hand it off > to. > > I've since found that xdg-open does something similar, but is > restricted to use in a desktop environment and not terminals/consoles, > so it might not be ideal for an ncurses client that might be running > without X or Wayland. ... > I've released this under the MIT license in hopes of wider adoption. I was trying to remember what we had back in the day for this, and it probably was mailcap. I just checked the one on my laptop, and it's all `xdg-open` as you say, so indeed not very useful for terminal applications. Cheers, Koen -- Software architecture & engineering: https://www.sonologic.se/ Sci-fi: https://www.koenmartens.nl/ Retrocomputing videos: https://retroscandinavian.eu/
Back to comp.infosystems.gemini | Previous | Next — Previous in thread | Find similar
Simple URL scheme handler library "Andrew T." <and4y2@turnquist.name.invalid> - 2026-03-21 21:06 +0000 Re: Simple URL scheme handler library gmc@metro.cx (Koen Martens) - 2026-05-09 17:11 +0000
csiph-web