Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Gemini (protocol)
TCP/IP application layer protocol

Gemini is an application-layer internet communication protocol for accessing remote documents, similar to HTTP and Gopher. It comes with a special document format, commonly referred to as "gemtext", which allows linking to other documents. Started by a pseudonymous person known as Solderpunk, the protocol is being finalized collaboratively and as of October 2022[update], has not been submitted to the IETF organization for standardization.

We don't have any images related to Gemini (protocol) yet.
We don't have any YouTube videos related to Gemini (protocol) yet.
We don't have any PDF documents related to Gemini (protocol) yet.
We don't have any Books related to Gemini (protocol) yet.
We don't have any archived web articles related to Gemini (protocol) yet.

History

The Gemini project was started in June 2019 by Solderpunk. Additional work has been done by an informal community of users. According to Solderpunk's FAQ, Gemini is not intended to replace Gopher or HTTP, but to co-exist with them.1 Much of the development happened on the Gemini mailing list until the list disappeared at the end of 2021 due to a hardware issue.2 The creation of the Usenet newsgroup comp.infosystems.gemini in October 2021 was the first new newsgroup in the Big Eight hierarchy in eight years.3

Design

The Gemini specification defines both the Gemini protocol and a native file format for that protocol, analogous to HTML for HTTP, known as "gemtext". The design is inspired by Gopher, but with modernisation such as mandatory use of Transport Layer Security (TLS) for connections and a hypertext format as native content type.4

The design is deliberately not easily extensible, in order to meet a project goal of simplicity.5

Protocol

Gemini is designed within the framework of the Internet protocol suite. Like HTTP/S, Gemini functions as a request–response protocol in the client–server computing model. A Gemini server should listen on TCP port 1965. A Gemini browser, for example, may be the client and an application running on a computer hosting a Gemini site may be the server. The client sends a Gemini request message to the server, and the server sends back a response message. Gemini uses a separate connection to the same server for every resource request.6

Gemini mandates the use of TLS with privacy-related features and trust on first use (TOFU) verification being strongly suggested.7

Gemini resources are identified and located on the network by Uniform Resource Locators (URLs), using the URI scheme gemini://. A Gemini request consists only of such a URL, terminated by CRLF; the header of a Gemini response consists of a two-digit status code, a space, and a "meta" field, also terminated by CRLF. If the server is successful in finding the requested file, the "meta" field is the MIME type of the returned file and after the header follows the file data.

Example session
Clientgemini://example.com/
Server20 text/gemini# Example TitleWelcome to my Gemini capsule.* Example list item=> gemini://link.to/another/resource Link text

Gemtext format

Gemtext format is line-oriented and the first three characters of a line determine its type. The syntax includes markup for headlines, flat list items, pre-formatted text, quotes and link lines. As with HTTP hypertext, URIs are encoded as hyperlinks to form interlinked hypertext documents in the Gemini "web", which users refer to as Geminispace.8

Geminispace

"Geminispace" denotes the whole of the public resources that are published on the Internet by the Gemini community via the Gemini protocol. Thus, Gemini spans an alternative communication web, with hypertext documents, including hyperlinks to other resources easily accessible to the user.9

As of July 2024,[update] Geminispace consists of around 3900 online known Gemini appearances ("capsules") identified by crawling over 600,000 URIs.10

Software

Gemini clients include:
NamePlatformClient TypeLicenseWritten in
AlhenaLinux, macOS, Windows, BSDGUIGPL 3.0Java
AmforaBSD, Linux, macOS, WindowsTerminal (TUI)GPL 3.0Go
AmiGeminiAmigaOSGUI (Intuition)MITC, Intuition
ereandelBourne shellTerminal (TUI)MITShell script
asukaTerminal (TUI)MITRust, ncurses
AV-98Terminal (CLI)2 Clause BSDPython
BolluxTerminalMITBash
BombadilloBSD, Linux, macOSTerminal (TUI)GPL 3.0Go
BuranAndroidMobile AppGPL 3.0Kotlin
CastorGUI (GTK)MITRust, GTK
Castor9Plan 9GUIC
DeedumAndroid and iOSMobile AppGPL 3.0Flutter, Dart
DiohscTerminal (CLI)GPL 3.0Haskell
dillo-geminiBSD, Linux, macOSPlugin (Dillo)FSFAPShell
Elaho (gemini-ios)iOSMobile AppMPL 2.0Swift
ElpherGUI (Emacs)GPL 3.0Emacs Lisp
EvaGUI (GTK)MITRust, GTK
FafiGUIMITRacket
GemiNautWindowsGUIGPL 3.0C# for Microsoft Windows
gemini.filter.dpiPlugin (Dillo)MITGo
GeopardGUI (GTK)GPL 3.0Rust, GTK
gmniTerminal (CLI)GPL 3.0C
gplacesLinuxTerminal (CLI)GPL 3.0 or laterC
JimmymacOSAppMITSwift
KristallGUI (Qt)GPL 2.0C++, Qt
LagrangeWindows, macOS, Linux, iOS, AndroidGUI2 Clause BSDC, SDL
MoonlanderLinuxGUI (GTK)MITRust, GTK
OffpunkTerminal (CLI)2 Clause BSDPython
RocketeeriOS, macOSAppSwift
Rosy CrowAndroidMobile AppMITC#, MAUI
SerenAndroidMobile AppKotlin
Starfishelementary OS/LinuxGUIGPL 3.0Vala, GTK
TinmopTerminal (TUI) or GUIGPL 3.0+Common lisp
TelescopeBSD, Linux, macOSTerminal (TUI)ISCC
Twin PeaksWindowsGUIGPL 3.0C#
VIRGIL99TI-99TerminalAssembly language

The Gemini software list covers client, server, libraries, and tools.11 Gemini-to-HTTP proxy server gateways such as Mozz.us can be used by web browsers lacking Gemini support.12

Reception

Gemini is praised for its simplicity but criticized for "excluding people who use ordinary web browsers".13 Gemini's usefulness has been said to be "dependent on the kinds of content available on Gemini and whether it appeals or not".14 Stéphane Bortzmeyer has said Gemini is retro but with modern features.15

See also

References

  1. "Project Gemini FAQ". Archived from the original on 27 September 2023. Retrieved 27 September 2023. https://geminiprotocol.net/docs/faq.gmi

  2. "Gemini Info Page". Archived from the original on 2021-10-20. Retrieved 2021-10-20. https://web.archive.org/web/20211020132800/https://lists.orbitalfox.eu/listinfo/gemini

  3. "Gemini Usenet Newsgroup". Archived from the original on 2021-10-26. Retrieved 2021-10-26. https://web.archive.org/web/20211026220037/https://lists.orbitalfox.eu/archives/gemini/2021/007388.html#%[email protected]%3E

  4. "Project Gemini Speculative Specification v0.16.1". gemini.circumlunar.space. 2023-03-23. 5 The text/gemini media type. Response bodies of type "text/gemini" are a kind of lightweight hypertext format, which takes inspiration from gophermaps and from Markdown. https://gemini.circumlunar.space/docs/specification.gmi

  5. Edge, Jake (2021-02-10). "Visiting another world". lwn.net. Retrieved 2021-02-19. https://lwn.net/Articles/845446/

  6. "Project Gemini Speculative Specification v0.16.1". gemini.circumlunar.space. 2023-03-23. 1 Overview. Connections are closed at the end of a single transaction and cannot be reused. https://gemini.circumlunar.space/docs/specification.gmi

  7. "Project Gemini Speculative Specification". gemini.circumlunar.space. 2020-11-29. Archived from the original on 2021-05-12. Retrieved 2021-06-25. 4.2 Server certificate validation. Clients can validate TLS connections however they like (including not at all) but the strongly recommended approach is to implement a lightweight "TOFU" certificate-pinning system which treats self-signed certificates as first-class citizens. https://gemini.circumlunar.space/docs/specification.gmi

  8. "Project Gemini FAQ". Archived from the original on 27 September 2023. Retrieved 27 September 2023. https://geminiprotocol.net/docs/faq.gmi

  9. "Project Gemini FAQ". Archived from the original on 27 September 2023. Retrieved 27 September 2023. https://geminiprotocol.net/docs/faq.gmi

  10. "Statistics on the Gemini space" Archived 2021-02-11 at the Wayback Machine. Proxied gemini://gemini.bortzmeyer.org/software/lupa/stats.gmi https://proxy.vulpes.one/gemini/gemini.bortzmeyer.org/software/lupa/stats.gmi

  11. "Gemini software". https://geminiprotocol.net/software/

  12. "About Mozz.us". https://portal.mozz.us/about

  13. Proven, Liam (27 Jan 2022). "Toaster-friendly alternative web protocol Gemini attracts criticism for becoming exclusive clique". The Register. https://www.theregister.com/2022/01/27/gemini_protocol/

  14. Edge, Jake (2021-02-10). "Visiting another world". lwn.net. Retrieved 2021-02-19. https://lwn.net/Articles/845446/

  15. "Gemini, a modern protocol that looks retro". archive.fosdem.org. Retrieved 2022-10-30. https://archive.fosdem.org/2021/schedule/event/retro_gemini/