A place to cache linked articles (think custom and personal wayback machine)
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.

преди 4 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. <!doctype html><!-- This is a valid HTML5 document. -->
  2. <!-- Screen readers, SEO, extensions and so on. -->
  3. <html lang="fr">
  4. <!-- Has to be within the first 1024 bytes, hence before the <title>
  5. See: https://www.w3.org/TR/2012/CR-html5-20121217/document-metadata.html#charset -->
  6. <meta charset="utf-8">
  7. <!-- Why no `X-UA-Compatible` meta: https://stackoverflow.com/a/6771584 -->
  8. <!-- The viewport meta is quite crowded and we are responsible for that.
  9. See: https://codepen.io/tigt/post/meta-viewport-for-2015 -->
  10. <meta name="viewport" content="width=device-width,initial-scale=1">
  11. <!-- Required to make a valid HTML5 document. -->
  12. <title>Project Gemini FAQ (archive) — David Larlet</title>
  13. <meta name="description" content="Publication mise en cache pour en conserver une trace.">
  14. <!-- That good ol' feed, subscribe :). -->
  15. <link rel="alternate" type="application/atom+xml" title="Feed" href="/david/log/">
  16. <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
  17. <link rel="apple-touch-icon" sizes="180x180" href="/static/david/icons2/apple-touch-icon.png">
  18. <link rel="icon" type="image/png" sizes="32x32" href="/static/david/icons2/favicon-32x32.png">
  19. <link rel="icon" type="image/png" sizes="16x16" href="/static/david/icons2/favicon-16x16.png">
  20. <link rel="manifest" href="/static/david/icons2/site.webmanifest">
  21. <link rel="mask-icon" href="/static/david/icons2/safari-pinned-tab.svg" color="#07486c">
  22. <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
  23. <meta name="msapplication-TileColor" content="#f0f0ea">
  24. <meta name="msapplication-config" content="/static/david/icons2/browserconfig.xml">
  25. <meta name="theme-color" content="#f0f0ea">
  26. <!-- Documented, feel free to shoot an email. -->
  27. <link rel="stylesheet" href="/static/david/css/style_2020-06-19.css">
  28. <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
  29. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  30. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  31. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  32. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  33. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  34. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  35. <script type="text/javascript">
  36. function toggleTheme(themeName) {
  37. document.documentElement.classList.toggle(
  38. 'forced-dark',
  39. themeName === 'dark'
  40. )
  41. document.documentElement.classList.toggle(
  42. 'forced-light',
  43. themeName === 'light'
  44. )
  45. }
  46. const selectedTheme = localStorage.getItem('theme')
  47. if (selectedTheme !== 'undefined') {
  48. toggleTheme(selectedTheme)
  49. }
  50. </script>
  51. <meta name="robots" content="noindex, nofollow">
  52. <meta content="origin-when-cross-origin" name="referrer">
  53. <!-- Canonical URL for SEO purposes -->
  54. <link rel="canonical" href="https://gemini.circumlunar.space/docs/faq.html">
  55. <body class="remarkdown h1-underline h2-underline h3-underline hr-center ul-star pre-tick">
  56. <article>
  57. <header>
  58. <h1>Project Gemini FAQ</h1>
  59. </header>
  60. <nav>
  61. <p class="center">
  62. <a href="/david/" title="Aller à l’accueil">🏠</a> •
  63. <a href="https://gemini.circumlunar.space/docs/faq.html" title="Lien vers le contenu original">Source originale</a>
  64. </p>
  65. </nav>
  66. <hr>
  67. <main>
  68. <p>Please send corrections or suggestions for additional questions to
  69. <a href="mailto:solderpunk@posteo.net">solderpunk@posteo.net</a></p>
  70. <h2>1. Overview</h2>
  71. <h3>1.1 What is Gemini?</h3>
  72. <p>Gemini is a new application-level internet protocol for the distribution of arbitrary files, with some special consideration for serving a lightweight hypertext format which facilitates linking between files. You may think of Gemini as "the web, stripped right back to its essence" or as "Gopher, souped up and modernised a little", depending upon your perspective. Gemini may be of interest to people who are:</p>
  73. <ul>
  74. <li>Opposed to the web's ubiquitous user tracking</li>
  75. <li>Tired of obnoxious adverts, autoplaying videos and other misfeatures</li>
  76. <li>Interested in low-power computing and/or low-speed networks</li>
  77. </ul>
  78. <p>Gemini is intended to be simple, but not necessarily as simple as possible. Instead, the design strives to maximise its "power to weight ratio", while keeping its weight within acceptable limits. Gemini is also intended to be very privacy conscious, to be difficult to extend in the future (so that it will <em>stay</em> simple and privacy conscious), and to be compatible with a "do it yourself" computing ethos. For this last reason, Gemini is technically very familiar and conservative: it's a protocol in the traditional client-server request-response paradigm, and is built on mature, standardised technology like URIs, MIME media types, and TLS.</p>
  79. <h3>1.2 Whose fault is Gemini?</h3>
  80. <p>Project Gemini was started by Solderpunk <a href="mailto:solderpunk@posteo.net">solderpunk@posteo.net</a>, who remains Benevolent Dictator For Now. However, the protocol has been designed in collaboration with a loose and informal community of interested parties via emails, phlog and Fediverse posts. Many people have shaped significant parts of the protocol, so Gemini should not be thought of as the work of one person.</p>
  81. <h3>1.3 Where can I learn more?</h3>
  82. <p>The official home of Project Gemini is the gemini.circumlunar.space server. It serves the latest version of this FAQ document, as well the protocol specification and recommended best practices via Gemini, Gopher and HTTPS, on IPv4 and IPv6.</p>
  83. <p>Official discussion regarding Gemini happens on a mailing list. You can subscribe to the list and view archives at https://lists.orbitalfox.eu/listinfo/gemini. Archives can also be viewed over Gemini at gemini://rawtext.club:1965/~sloum/geminilist/.</p>
  84. <p>Anybody who is running a Gemini server or implementing a Gemini client or server software is strongly encouraged to subscribe to the list.</p>
  85. <p>Casual discussion regarding Gemini also happens in the #gemini channel on the tilde.chat IRC server. IRC logs can be viewed over Gemini at gemini://makeworld.gq/cgi-bin/gemini-irc.</p>
  86. <h3>1.4 Do you really think you can replace the web?</h3>
  87. <p>Not for a minute! Nor does anybody involved with Gemini want to destroy Gopherspace. Gemini is not intended to replace either Gopher or the web, but to co-exist peacefully alongside them as one more option which people can freely choose to use if it suits them. In the same way that many people currently serve the same content via gopher and the web, people will be able to "bihost" or "trihost" content on whichever combination of protocols they think offer the best match to their technical, philosophical and aesthetic requirements and those of their intended audience.</p>
  88. <h3>1.5 What's with the name?</h3>
  89. <p>It's a reference to the pre-shuttle era of US manned spaceflight, which consisted of three projects. The first was Project Mercury, which was a fairly minimalist "proof of concept" and part of the race to put a human in space soonest (which the Soviet Union won with their Vostok project). Mercury was a one-man capsule with no ability to adjust to its own orbit after launch and only one Mercury flight lasted longer than a single day. The last was Project Apollo, which was large, heavy, complicated and expensive but could, of course, fly three men to the moon and back.</p>
  90. <p>Less well known to the modern public, Project Gemini was the "middle child": a two person capsule which could rendezvous and dock with other craft in orbit, could be depressurised and repressurised in orbit to facilitate spacewalks, and whose longest flight was almost two weeks - longer than any Apollo mission! In terms of size, weight and cost Gemini was much closer to Mercury than to Apollo, but in terms of capabilities it was the other way around - there were even plans (which never eventuated) to do circumlunar Gemini flights!</p>
  91. <p>Hopefully the analogy is obvious: Gopher is akin to Mercury, and the web is akin to Apollo. Gemini hopes to sit between the two, doing more with less.</p>
  92. <p>Gemini very deliberately didn't receive a name which had <em>anything</em> to do with gophers, or other rodents, or even other animals. During the earliest phlog-based discussions which eventually grew into Project Gemini, a lack of careful writing meant it was sometimes unclear whether people were talking about replacing Gopher outright, or adding unofficial, compatibility-breaking upgrades into existing Gopher clients and servers. When idle discussion turned into an actual project, it seemed wise to send a clearer message.</p>
  93. <h1>2. Protocol design</h1>
  94. <h2>2.1 What are the design criteria for Gemini?</h2>
  95. <p>The following criteria were informally put in place at the beginning of the project. It's debatable how closely some of these goals have been met, but in general Gemini is still quite close to this target.</p>
  96. <h3>2.1.1 Simplicity</h3>
  97. <p>In particular, Gemini strives for simplicity of client implementation. Modern web browsers are so complicated that they can only be developed by very large and expensive projects. This naturally leads to a very small number of near-monopoly browsers, which stifles innovation and diversity and allows the developers of these browsers to dictate the direction in which the web evolves.</p>
  98. <p>Gemini aims to be simple, but not <em>too</em> simple. Gopher is simpler at a protocol level, but as a consequence the client is eternally uncertain: what character encoding is this text in? Is this text the intended content or an error message from the server? What kind of file is this binary data? Because of this, a robust Gopher client is made <em>less</em> simple by needing to infer or guess missing information. Early Gemini discussion included three clear goals with regard to simplicity:</p>
  99. <ul>
  100. <li>It should be possible for somebody who had no part in designing the protocol to accurately hold the entire protocol spec in their head after reading a well-written description of it once or twice.</li>
  101. <li>A basic but usable (not ultra-spartan) client should fit comfortably within 50 or so lines of code in a modern high-level language. Certainly not more than 100.</li>
  102. <li>A client comfortable for daily use which implements every single protocol feature should be a feasible weekend programming project for a single developer.</li>
  103. </ul>
  104. <p>It's debatable to what extent these goals have been met. Experiments suggest that a very basic interactive client takes more like a minimum of 100 lines of code, and a comfortable fit and moderate feature completeness need more like 200 lines. But Gemini still seems to be in the ballpark of these goals.</p>
  105. <h3>2.1.2 Privacy</h3>
  106. <p>Gemini is designed with an acute awareness that the modern web is a privacy disaster, and that the internet is not a safe place for plaintext. Things like browser fingerprinting and Etag-based "supercookies" are an important cautionary tale: user tracking can and will be snuck in via the backdoor using protocol features which were not designed to facilitate it. Thus, protocol designers must not only avoid designing in tracking features (which is easy), but also assume active malicious intent and avoid designing anything which could be subverted to provide effective tracking. This concern manifests as a deliberate non-extensibility in many parts of the Gemini protocol.</p>
  107. <h3>2.1.3 Generality</h3>
  108. <p>The "first class" application of Gemini is human consumption of predominantly written material - to facilitate something like gopherspace, or like "reasonable webspace" (e.g. something which is comfortably usable in Lynx or Dillo). But, just like HTTP can be, and is, used for much, much more than serving HTML, Gemini should be able to be used for as many other purposes as possible without compromising the simplicity and privacy criteria above. This means taking into account possible applications built around non-text files and non-human clients.</p>
  109. <h2>2.2 Which shortcomings of Gopher does Gemini overcome?</h2>
  110. <p>Gemini allows for:</p>
  111. <ul>
  112. <li>Unambiguous use of arbitrary non-ASCII character sets.</li>
  113. <li>Identifying binary content using MIME types instead of a small set of badly outdated item types.</li>
  114. <li>Clearly distinguishing successful transactions from failed ones.</li>
  115. <li>Linking to non-gopher resources via URLs without ugly hacks.</li>
  116. <li>Redirects to prevent broken links when content moves or is rearranged.</li>
  117. <li>Domain-based virtual hosting.</li>
  118. </ul>
  119. <p>Text in Gemini documents is wrapped by the client to fit the device's viewport, rather than being "hard wrapped" at ~80 characters with newline characters. This means content displays equally well on phones, tablets, laptops and desktops.</p>
  120. <p>Gemini does away with Gopher's strict directory / text dichotomy and lets you insert links in prose.</p>
  121. <p>Gemini mandates the use of TLS encryption.</p>
  122. <h2>2.3 Is Gopher's directory / text dichotomy <em>really</em> a shortcoming?</h2>
  123. <p>Modern usage habits in the phlogosphere would seem to suggest that many people think it is. An increasing number of users are serving content which is almost entirely text as item type 1, so that they can insert a relatively small number of "in line" links to other gopher content, providing some semblance of HTML's hyperlinking - a perfectly reasonable and inoffensive thing to want to do. Without taking this approach, the best Gopher content authors can do is to paste a list of URLs at the bottom of their document, for their readers to manually copy and paste into their client. This is not exactly a pleasant user experience. But forcing hyperlinks into Gopher this way isn't just an abuse of the semantics of the Gopher protocol, it's also a surprisingly inefficient way to serve text, because every single line has to have an item type of i and a phony selector, hostname and port transmitted along with it to make a valid Gopher menu. Any and all claims to simplicity and beauty which Gopher might have are destroyed by this. Gemini takes the simple approach of letting people insert as many or as few links as they like into their text content, with extremely low overhead, but retains the one-link-per-line limitation of Gopher which results in clean, list-like organisation of content. It's hard to see this as anything other than an improvement.</p>
  124. <p>Of course, if you really like the Gopher way, nothing in Gemini stops you from duplicating it. You can serve item type 0 content with a MIME type of text/plain, and you can write text/gemini documents where every single line is a link line, replicating the look and feel of a RFC1436-fearing Gopher menu without that pesky non-standard i item type.</p>
  125. <h2>2.4 Which shortcomings of the web does Gemini overcome?</h2>
  126. <p>Gemini contains no equivalent of User-Agent or Referer headers, and the request format is not extensible so that these cannot be shoehorned in later. In fact, Gemini requests contain nothing other than the URL of the resource being requested. This goes a very long way to preventing user tracking.</p>
  127. <p>The "native content type" of Gemini (analogous to HTML for HTTP(S) or plain text for Gopher) never requires additional network transactions (there are no in-line images, external stylesheets, fonts or scripts, no iframes, etc.). This allows for quick browsing even on slow connections and for full awareness of and control over which hosts connections are made to.</p>
  128. <p>The native content type of Gemini is strictly a document, with no facility for scripting, allowing for easy browsing even on old computers with limited processor speed or memory.</p>
  129. <h2>2.5 Why not just use a subset of HTTP and HTML?</h2>
  130. <p>Many people are confused as to why it's worth creating a new protocol to address perceived problems with optional, non-essential features of the web. Just because websites <em>can</em> track users and run CPU-hogging Javsacript and pull in useless multi-megabyte header images or even larger autoplaying videos, doesn't mean they <em>have</em> to. Why not just build non-evil websites using the existing technology?</p>
  131. <p>Of course, this is possible. "The Gemini experience" is roughly equivalent to HTTP where the only request header is "Host" and the only response header is "Content-type" and HTML where the only tags are &lt;p&gt;, &lt;pre&gt;, &lt;a&gt;, &lt;h1&gt; through &lt;h3&gt;, &lt;ul&gt; and &lt;li&gt; and &lt;blockquote&gt; - and the https://gemini.circumlunar.space website offers pretty much this experience. We know it can be done.</p>
  132. <p>The problem is that deciding upon a strictly limited subset of HTTP and HTML, slapping a label on it and calling it a day would do almost nothing to create a clearly demarcated space where people can go to consume <em>only</em> that kind of content in <em>only</em> that kind of way. It's impossible to know in advance whether what's on the other side of a https:// URL will be within the subset or outside it. It's very tedious to verify that a website claiming to use only the subset actually does, as many of the features we want to avoid are invisible (but not harmless!) to the user. It's difficult or even impossible to deactivate support for all the unwanted features in mainstream browsers, so if somebody breaks the rules you'll pay the consequences. Writing a dumbed down web browser which gracefully ignores all the unwanted features is much harder than writing a Gemini client from scratch. Even if you did it, you'd have a very difficult time discovering the minuscule fraction of websites it could render.</p>
  133. <p>Alternative, simple-by-design protocols like Gopher and Gemini create alternative, simple-by-design spaces with obvious boundaries and hard restrictions. You know for sure when you enter Geminispace, and you can know for sure and in advance when following a certain link will cause you leave it. While you're there, you know for sure and in advance that everybody else there is playing by the same rules. You can relax and get on with your browsing, and follow links to sites you've never heard of before, which just popped up yesterday, and be confident that they won't try to track you or serve you garbage because they <em>can't</em>. You can do all this with a client you wrote yourself, so you <em>know</em> you can trust it. It's a very different, much more liberating and much more empowering experience than trying to carve out a tiny, invisible sub-sub-sub-sub-space of the web.</p>
  134. <h2>2.6 Does Gemini have any shortcomings of it's own?</h2>
  135. <p>Naturally!</p>
  136. <p>Gemini has no support for caching, compression, or resumption of interrupted downloads. As such, it's not very well suited to distributing large files, for values of "large" which depend upon the speed and reliability of your network connection.</p>
  137. <h2>2.7 How can you say Gemini is simple if it uses TLS?</h2>
  138. <p>Some people are upset that the TLS requirement means they need to use a TLS library to write Gemini code, whereas e.g. Gopher allows them full control by writing everything from scratch themselves.</p>
  139. <p>Of course, even a "from scratch" Gopher client actually depends crucially on thousands of lines of complicated code written by other people in order to provide a functioning IP stack, DNS resolver and filesystem. Using a TLS library to provide a trustworthy implementation of cryptography is little different.</p>
  140. <p>Gemini also turns TLS client certificates - very rarely seen on the web - into a first-class citizen with in-band signalling of their requirement. This allows restricting access to Gemini resources to certain parties, or voluntarily establishing "sessions" with server-side applications, without having to pass around cookies, passwords, authentication tokens or anything else you may be used to. It's much closer to SSH's notion of "authorized keys" and is, in fact, a much simpler approach to user authentication.</p>
  141. <h2>2.8 Why use TLS for crypto instead of something more modern like the Noise protocol?</h2>
  142. <p>TLS is certainly not without its shortcomings, but:</p>
  143. <ul>
  144. <li>There are bindings to TLS libraries available for almost every programming language under the sun</li>
  145. <li>Many developers are already at least partially familiar with TLS and therefore don't need to learn anything new to implement Gemini</li>
  146. <li>Most users are already trusting TLS to secure their web browsing and email, and therefore don't need to decide whether or not they want to trust some unfamiliar technology to start using Gemini</li>
  147. <li>TLS is a deeply entrenched industry standard, whose definition and implementations will both continue to be scrutinised and improved by security experts for the foreseeable future, and that work will happen for reasons entirely unrelated to Gemini - it makes a lot of sense for a small project to "freeride" like this.</li>
  148. </ul>
  149. <h2>2.9 Why didn't you just use Markdown instead of defining text/gemini?</h2>
  150. <p>The text/gemini markup borrows heavily from Markdown, which might prompt some people to wonder "Why not just use Markdown as the default media type for Gemini? Sure, it's complicated to implement, but like TLS there are plenty of libraries available in all the major languages". Reasons not to go down this route include:</p>
  151. <ul>
  152. <li>There are actually many subtly different and incompatible variants of Markdown in existence, so unlike TLS all the different libraries are not guaranteed to behave similarly.</li>
  153. <li>The vast majority of Markdown libraries don't actually do anything more than convert Markdown to HTML, which for a Gemini client is a needless intermediary format which is heavier than the original!</li>
  154. <li>Many Markdown variants permit features which were not wanted for Gemini, e.g. inline images.</li>
  155. <li>A desire to preserve Gopher's requirement of "one link per line" on the grounds that it encourages extremely clear site designs.</li>
  156. </ul>
  157. <p>Of course, it is possible to serve Markdown over Gemini. The inclusion of a text/markdown Media type in the response header will allow more advanced clients to support it.</p>
  158. <h2>2.10 Why doesn't text/gemini have support for in-line links?</h2>
  159. <p>Because text/gemini is an entirely new format defined from scratch for Gemini, client authors will typically need to write their own code to parse and render the format from scratch, without being able to rely on a pre-existing, well-tested library implementation. Therefore, it is important that the format is extremely simple to handle correctly. The line-based format where text lines and link lines are separate concepts achieves this. There is no need for clients to scan each line character-by-character, testing for the presence of some special link syntax. Even the simplest special link syntax introduces the possibility of malformed syntax which clients would need to be robust against, and has edge cases whose handling would either need to be explicitly addressed in the protocol specification (leading to a longer, more tedious specification which was less fun to read and harder to hold in your head), or left undefined (leading to inconsistent behaviour across different clients). Even though in-line links may be a more natural fit for some kinds of content, they're just not worth the increased complexity and fragility they would inevitably introduce to the protocol.</p>
  160. <p>It's true that you need to shift your thinking a bit to get used to the one link per line writing style, but it gets easier over time. There are benefits to the style as well. It encourages including only the most important or relevant links, organising links into related lists, and giving each link a maximally descriptive label without having to worry about whether or not that label fits naturally into the flow of your main text.</p>
  161. <h2>2.11 Why isn't there an equivalent of the HTTP Content-length header?</h2>
  162. <p>Non-extensibility of the protocol was a major design principle for Gemini. Things like cookies, Etags and other tracking tools were not present in the original design of HTTP, but could be seamlessly added later because the HTTP response format is open-ended and allows the easy inclusion of new headers. To minimise the risk of Gemini slowly mutating into something more web-like, it was decided to included one and exactly one piece of information in the response header for successful requests. Including two pieces of information with a specified delimiter would provide a very obvious path for later adding a third piece - just use the same delimiter again. There is basically no stable position between one piece of information and arbitrarily many pieces of information, so Gemini sticks hard to the former option, even if it means having to sacrifice some nice and seemingly harmless functionality. Given this restriction, including only an equivalent of Content-type seemed clearly more useful than including only an equivalent of Content-length. The same is true for other harmless and useful HTTP headers, like Last-Modified</p>
  163. <p>Gopher also has no equivalent of the Content-length header, and this has not proven to be a practical obstacle in Gopherspace.</p>
  164. <p>Even without this header, it is possible (unlike in Gopher) for clients to distinguish between a Gemini transaction which has completed successfully and one which has dropped out mid-transfer due to a network fault or malicious attack via the presence or absence of a TLS Shutdown message.</p>
  165. <p>It is true that the inability for clients to tell users how much more of a large file still has to be downloaded and to estimate how long this may take means Gemini cannot provide a very user-friendly experience for large file downloads. However, this would be the case even if Content-length were specified, as such an experience would also require other complications to be added to the protocol e.g. the ability to resume interrupted downloads. Gemini documents can of course straightforwardly link to resources hosted via HTTPS, BitTorrent, IPFS, DAT, etc. and this may be the best option for very large files.</p>
  166. <h2>2.12 Why isn't a protocol version number included with requests or responses?</h2>
  167. <p>This would only be useful if there were plans to smoothly upgrade to a "Gemini 2.0" in the future - and there aren't! Gemini is a "less is more" reaction against web browsers and servers becoming too complicated and too powerful. It makes no sense to plan to add more functionality to Gemini later. Instead the plan is to "get it right the first time", as much as possible, then freeze the protocol specification forever after, without upgrades, enhancements or extensions.</p>
  168. <p>This may seem radical or unwise, but we're cautiously optimistic. The Gopher specification has not been changed in about 30 years, and only a very small number of quite minor unofficial changes to that spec are in common use in today's Gopherspace, which is actually growing in popularity. Gemini combines mature, ubiquitous internet primitives like URIs, MIME media types and TLS in a very straightforward way, and seeks to foster a culture of working within - and even embracing - carefully chosen limitations, rather than removing each constraint as it is encountered to make anything possible. There are plenty of things that Gemini is useful for and good at right now, and there is no reason to think it won't be useful for and good at those same things decades from now.</p>
  169. <h2>2.13 Why don't you care about retrocomputing support?</h2>
  170. <p>Gopher is so simple that computers from the 80s or 90s can easily implement the protocol, and for some people this is one of the great virtues of Gopher. The TLS requirement of Gemini limits it to more modern machines.</p>
  171. <p>Old machines are awesome, and keeping them running, online and useful for as long as possible is an awesome thing to do. But it also makes no sense for the vast majority of internet users to sacrifice any and all privacy protection to facilitate this. Remember, though, that Gemini does not aim to replace Gopher, so the retro-compatible internet is not directly endangered by it. In fact, people serving content via Gopher right now are strongly encouraged to start also serving that same content via Gemini simultaneously. Retrocomputing fans can continue to access the content via Gopher, while modern computer users who wish to can switch to Gemini and reap some benefits.</p>
  172. <h1>3. Getting started in Geminispace</h1>
  173. <h2>3.1 I'm curious about Geminispace, how can I check it out?</h2>
  174. <p>The lowest commitment way to explore Geminispace is to use a web proxy, such as one of the following:</p>
  175. <ul>
  176. <li>https://portal.mozz.us/gemini/gemini.circumlunar.space/</li>
  177. <li>https://proxy.vulpes.one/gemini/gemini.circumlunar.space</li>
  178. </ul>
  179. <p>If you like what you see, you might want to consider installing a dedicated Gemini client. You can find a list of clients (and other software) at gemini://gemini.circumlunar.space/software/.</p>
  180. <p>You can try some terminal clients out without installing them by running:</p>
  181. <blockquote>
  182. <p>ssh kiosk@gemini.circumlunar.space</p>
  183. </blockquote>
  184. <p>This Gemini kiosk was inspired by the Gopher kiosk at bitreich.org!</p>
  185. <h2>3.2 Okay, I've got a client, where can I find content?</h2>
  186. <p>A hand-maintained list of all known Gemini servers is maintained at gemini://gemini.circumlunar.space/servers/, and an automatically generated list can be found at gemini://gus.guru/known-hosts. For now, Geminispace is still small enough that it's feasible to just jump in and explore it manually.</p>
  187. <p>If you are looking for something in particular, Gemini has two search engines:</p>
  188. <ul>
  189. <li>GUS, at gemini://gus.guru</li>
  190. <li>Houston, at gemini://houston.coder.town</li>
  191. </ul>
  192. <p>There are two public aggregators which attempt to make it easier to find recently-updated material in Geminispace:</p>
  193. <ul>
  194. <li>CAPCOM, at gemini://gemini.circumlunar.space/capcom/</li>
  195. <li>Spacewalk, at gemini://rawtext.club:1965/~sloum/spacewalk.gmi</li>
  196. </ul>
  197. <h2>3.3 How can I put some content of my own in Geminspace?</h2>
  198. <p>Of course, one option is to set up your own Gemini server on a VPS or a computer in your home (small SBCs like the RaspberryPi are perfectly capable of acting as Gemini servers). You can find a list of server software at gemini://gemini.circumlunar.space/software/.</p>
  199. <p>Alternatively, you can find somewhere else to host your content for you. For the time being, sftp-managed hosting of static Gemini content is available free of charge at gemini.circumlunar.space - contact <a href="mailto:solderpunk@posteo.net">solderpunk@posteo.net</a> for details. Gemini hosting is also available from:</p>
  200. <ul>
  201. <li>gemini://idf.looting.uk/hosting</li>
  202. </ul>
  203. <p>A number of "pubnix" or "tilde" communities (multi-user unix systems where users interact with one another by sshing in and using local email, chat and BBS apps) also offer Gemini hosting (typically alongside web and/or Gopher hosting). You may be able to get an account of one of the communities listed below (if you're an admin of such a service and would like it added to - or removed from! - this list, please contact <a href="mailto:solderpunk@posteo.net">solderpunk@posteo.net</a>). Please note that most of these communities are older than Gemini itself, and may be focussed on other services, or may be specific to a particular theme or interest. Research your choices carefully and join somewhere you think you might fit in well overall, rather than just treating these amazing little worlds as free space to dump your stuff.</p>
  204. <ul>
  205. <li>gemini://gemini.ctrl-c.club</li>
  206. <li>gemini://envs.net</li>
  207. <li>gemini://tanelorn.city (writer-focussed server)</li>
  208. <li>gemini://tilde.black (privacy-themed server)</li>
  209. <li>gemini://tilde.pink</li>
  210. <li>gemini://rawtext.club</li>
  211. <li>gemini://breadpunk.club/ (baking-themed server)</li>
  212. </ul>
  213. <p>If you do not feel comfortable with the technologies needed to make use of pubnix hosting (ssh or sftp, terminal text editors, unix file permissions, etc) you can get a free account at https://gemlog.blue where you can edit a Gemlog (Gemini log, like a blog or phlog) from your web browser using an ultralight interface which uses no cookies and no Javascript.</p>
  214. <h2>3.4 I set up my own Gemini server, is there anything I should do?</h2>
  215. <p>Please consider joining the mailing list (see section 1.3) so that you can announce your new server to the community (start your post's Subject with "[ANN]"), and keep up to date with e.g. updates to your server software or to the Gemini protocol itself.</p>
  216. <p>You can submit your server's URL to the GUS search engine so that it gets crawled. Visit gemini://gus.guru and follow the relevant link.</p>
  217. <h1>4. Contributing to the Gemini project</h1>
  218. <h2>4.1 I like the sound of the Gemini project, how can I help?</h2>
  219. <p>Gemini already has a surprising number of client and server implementations in existence - which isn't to say more aren't welcome, but the real shortage right now is not of software but of content. The more interesting and exciting stuff people find in Geminispace, the more likely they are to want to add content of their own. So, the greatest contribution you can make to the project is to be a part of this process.</p>
  220. </main>
  221. </article>
  222. <hr>
  223. <footer>
  224. <p>
  225. <a href="/david/" title="Aller à l’accueil">🏠</a> •
  226. <a href="/david/log/" title="Accès au flux RSS">🤖</a> •
  227. <a href="http://larlet.com" title="Go to my English profile" data-instant>🇨🇦</a> •
  228. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel">📮</a> •
  229. <abbr title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340">🧚</abbr>
  230. </p>
  231. <template id="theme-selector">
  232. <form>
  233. <fieldset>
  234. <legend>Thème</legend>
  235. <label>
  236. <input type="radio" value="auto" name="chosen-color-scheme" checked> Auto
  237. </label>
  238. <label>
  239. <input type="radio" value="dark" name="chosen-color-scheme"> Foncé
  240. </label>
  241. <label>
  242. <input type="radio" value="light" name="chosen-color-scheme"> Clair
  243. </label>
  244. </fieldset>
  245. </form>
  246. </template>
  247. </footer>
  248. <script type="text/javascript">
  249. function loadThemeForm(templateName) {
  250. const themeSelectorTemplate = document.querySelector(templateName)
  251. const form = themeSelectorTemplate.content.firstElementChild
  252. themeSelectorTemplate.replaceWith(form)
  253. form.addEventListener('change', (e) => {
  254. const chosenColorScheme = e.target.value
  255. localStorage.setItem('theme', chosenColorScheme)
  256. toggleTheme(chosenColorScheme)
  257. })
  258. const selectedTheme = localStorage.getItem('theme')
  259. if (selectedTheme && selectedTheme !== 'undefined') {
  260. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  261. }
  262. }
  263. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  264. window.addEventListener('load', () => {
  265. let hasDarkRules = false
  266. for (const styleSheet of Array.from(document.styleSheets)) {
  267. let mediaRules = []
  268. for (const cssRule of styleSheet.cssRules) {
  269. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  270. continue
  271. }
  272. // WARNING: Safari does not have/supports `conditionText`.
  273. if (cssRule.conditionText) {
  274. if (cssRule.conditionText !== prefersColorSchemeDark) {
  275. continue
  276. }
  277. } else {
  278. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  279. continue
  280. }
  281. }
  282. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  283. }
  284. // WARNING: do not try to insert a Rule to a styleSheet you are
  285. // currently iterating on, otherwise the browser will be stuck
  286. // in a infinite loop…
  287. for (const mediaRule of mediaRules) {
  288. styleSheet.insertRule(mediaRule.cssText)
  289. hasDarkRules = true
  290. }
  291. }
  292. if (hasDarkRules) {
  293. loadThemeForm('#theme-selector')
  294. }
  295. })
  296. </script>
  297. </body>
  298. </html>