Blame


1 cc9bf8f2 2021-11-05 op <!doctype html>
2 cc9bf8f2 2021-11-05 op <html lang="en">
3 cc9bf8f2 2021-11-05 op <head>
4 cc9bf8f2 2021-11-05 op <title>Telescope</title>
5 cc9bf8f2 2021-11-05 op <meta charset="utf8">
6 cc9bf8f2 2021-11-05 op <meta name="viewport" content="width=device-width, initial-scale=1">
7 cc9bf8f2 2021-11-05 op <style>
8 cc9bf8f2 2021-11-05 op body {
9 cc9bf8f2 2021-11-05 op font-family: monospace;
10 cc9bf8f2 2021-11-05 op font-size: 14px;
11 cc9bf8f2 2021-11-05 op max-width: 780px;
12 cc9bf8f2 2021-11-05 op margin: 0 auto;
13 cc9bf8f2 2021-11-05 op padding: 20px;
14 cc9bf8f2 2021-11-05 op padding-bottom: 80px;
15 cc9bf8f2 2021-11-05 op }
16 cc9bf8f2 2021-11-05 op
17 cc9bf8f2 2021-11-05 op h1::before {
18 cc9bf8f2 2021-11-05 op content: "# ";
19 cc9bf8f2 2021-11-05 op }
20 cc9bf8f2 2021-11-05 op
21 cc9bf8f2 2021-11-05 op h2 {
22 cc9bf8f2 2021-11-05 op margin-top: 40px;
23 cc9bf8f2 2021-11-05 op }
24 cc9bf8f2 2021-11-05 op
25 cc9bf8f2 2021-11-05 op h2::before {
26 cc9bf8f2 2021-11-05 op content: "## ";
27 cc9bf8f2 2021-11-05 op }
28 cc9bf8f2 2021-11-05 op
29 cc9bf8f2 2021-11-05 op h3::before {
30 cc9bf8f2 2021-11-05 op content: "### ";
31 cc9bf8f2 2021-11-05 op }
32 cc9bf8f2 2021-11-05 op
33 cc9bf8f2 2021-11-05 op blockquote {
34 cc9bf8f2 2021-11-05 op margin: 0;
35 cc9bf8f2 2021-11-05 op padding: 0;
36 cc9bf8f2 2021-11-05 op }
37 cc9bf8f2 2021-11-05 op
38 cc9bf8f2 2021-11-05 op blockquote::before {
39 cc9bf8f2 2021-11-05 op content: "> ";
40 cc9bf8f2 2021-11-05 op }
41 cc9bf8f2 2021-11-05 op
42 cc9bf8f2 2021-11-05 op blockquote p {
43 cc9bf8f2 2021-11-05 op font-style: italic;
44 cc9bf8f2 2021-11-05 op display: inline;
45 cc9bf8f2 2021-11-05 op }
46 cc9bf8f2 2021-11-05 op
47 cc9bf8f2 2021-11-05 op p.link::before {
48 cc9bf8f2 2021-11-05 op content: "→ ";
49 cc9bf8f2 2021-11-05 op }
50 cc9bf8f2 2021-11-05 op
51 cc9bf8f2 2021-11-05 op hr {
52 cc9bf8f2 2021-11-05 op border: 0;
53 cc9bf8f2 2021-11-05 op height: 1px;
54 cc9bf8f2 2021-11-05 op background-color: #222;
55 cc9bf8f2 2021-11-05 op width: 100%;
56 cc9bf8f2 2021-11-05 op display: block;
57 cc9bf8f2 2021-11-05 op margin: 2em auto;
58 cc9bf8f2 2021-11-05 op }
59 cc9bf8f2 2021-11-05 op
60 cc9bf8f2 2021-11-05 op pre {
61 cc9bf8f2 2021-11-05 op overflow: auto;
62 cc9bf8f2 2021-11-05 op }
63 cc9bf8f2 2021-11-05 op
64 cc9bf8f2 2021-11-05 op pre.banner {
65 cc9bf8f2 2021-11-05 op display: flex;
66 cc9bf8f2 2021-11-05 op flex-direction: row;
67 cc9bf8f2 2021-11-05 op justify-content: center;
68 cc9bf8f2 2021-11-05 op }
69 cc9bf8f2 2021-11-05 op
70 cc9bf8f2 2021-11-05 op code, kbd {
71 cc9bf8f2 2021-11-05 op color: #9d109d;
72 cc9bf8f2 2021-11-05 op }
73 cc9bf8f2 2021-11-05 op
74 cc9bf8f2 2021-11-05 op img {
75 cc9bf8f2 2021-11-05 op display: block;
76 cc9bf8f2 2021-11-05 op margin: 0 auto;
77 cc9bf8f2 2021-11-05 op max-width: 100%;
78 cc9bf8f2 2021-11-05 op }
79 cc9bf8f2 2021-11-05 op
80 cc9bf8f2 2021-11-05 op @media (prefers-color-scheme: dark) {
81 cc9bf8f2 2021-11-05 op body {
82 cc9bf8f2 2021-11-05 op background-color: #222;
83 cc9bf8f2 2021-11-05 op color: white;
84 cc9bf8f2 2021-11-05 op }
85 cc9bf8f2 2021-11-05 op
86 cc9bf8f2 2021-11-05 op img {
87 cc9bf8f2 2021-11-05 op filter: brightness(0.65);
88 cc9bf8f2 2021-11-05 op transition: filter 0.2s ease-in-out;
89 cc9bf8f2 2021-11-05 op }
90 cc9bf8f2 2021-11-05 op
91 cc9bf8f2 2021-11-05 op img:hover {
92 cc9bf8f2 2021-11-05 op filter: brightness(1.0);
93 cc9bf8f2 2021-11-05 op }
94 cc9bf8f2 2021-11-05 op
95 cc9bf8f2 2021-11-05 op a {
96 cc9bf8f2 2021-11-05 op color: aqua;
97 cc9bf8f2 2021-11-05 op }
98 cc9bf8f2 2021-11-05 op
99 cc9bf8f2 2021-11-05 op hr {
100 cc9bf8f2 2021-11-05 op background-color: #ddd;
101 cc9bf8f2 2021-11-05 op }
102 cc9bf8f2 2021-11-05 op
103 cc9bf8f2 2021-11-05 op code, kbd {
104 cc9bf8f2 2021-11-05 op color: #ff4cff;
105 cc9bf8f2 2021-11-05 op }
106 cc9bf8f2 2021-11-05 op }
107 cc9bf8f2 2021-11-05 op
108 cc9bf8f2 2021-11-05 op @media (max-width: 400px) {
109 cc9bf8f2 2021-11-05 op pre.banner { font-size: 9px; }
110 cc9bf8f2 2021-11-05 op }
111 cc9bf8f2 2021-11-05 op
112 cc9bf8f2 2021-11-05 op @media (max-width: 500px) {
113 cc9bf8f2 2021-11-05 op pre.banner { font-size: 10px; }
114 cc9bf8f2 2021-11-05 op }
115 cc9bf8f2 2021-11-05 op </style>
116 cc9bf8f2 2021-11-05 op </head>
117 cc9bf8f2 2021-11-05 op <body>
118 cc9bf8f2 2021-11-05 op <header>
119 cc9bf8f2 2021-11-05 op <nav>
120 cc9bf8f2 2021-11-05 op Home | <a href="/gallery/">Gallery</a> | <a href="telescope.1.html">Docs</a>
121 cc9bf8f2 2021-11-05 op </nav>
122 cc9bf8f2 2021-11-05 op </header>
123 cc9bf8f2 2021-11-05 op <pre class="banner"> _______ __
124 cc9bf8f2 2021-11-05 op |_ _|.-----.| |.-----.-----.----.-----.-----.-----.
125 cc9bf8f2 2021-11-05 op | | | -__|| || -__|__ --| __| _ | _ | -__|
126 cc9bf8f2 2021-11-05 op |___| |_____||__||_____|_____|____|_____| __|_____|
127 cc9bf8f2 2021-11-05 op |__| v0.5.2</pre>
128 cc9bf8f2 2021-11-05 op <blockquote>
129 cc9bf8f2 2021-11-05 op <p>Telescope is a w3m-like browser for Gemini</p>
130 cc9bf8f2 2021-11-05 op </blockquote>
131 cc9bf8f2 2021-11-05 op <p>
132 cc9bf8f2 2021-11-05 op Telescope is written entirely for fun, as a hobbystic project in
133 cc9bf8f2 2021-11-05 op my free time. As such, it lacks a ton of features you’ll find
134 cc9bf8f2 2021-11-05 op in more mature Gemini browsers, but it also has some unique
135 cc9bf8f2 2021-11-05 op ones.
136 cc9bf8f2 2021-11-05 op </p>
137 cc9bf8f2 2021-11-05 op <p>
138 cc9bf8f2 2021-11-05 op The UI is strongly inspired from Emacs and W3M, so you’ll find
139 cc9bf8f2 2021-11-05 op some familiar concepts, such as the minibuffer or the tabline,
140 cc9bf8f2 2021-11-05 op and the default keybindigs also reflect this, but keys familiar
141 cc9bf8f2 2021-11-05 op for vi and CUA users are also present by default.
142 cc9bf8f2 2021-11-05 op </p>
143 cc9bf8f2 2021-11-05 op <p>
144 cc9bf8f2 2021-11-05 op <a href="https://asciinema.org/a/426862" target="_blank">
145 cc9bf8f2 2021-11-05 op <img src="https://asciinema.org/a/426862.svg" />
146 cc9bf8f2 2021-11-05 op </a>
147 cc9bf8f2 2021-11-05 op </p>
148 cc9bf8f2 2021-11-05 op <h2>Install</h2>
149 cc9bf8f2 2021-11-05 op <p>Some distros provide a package — thanks to the maintainers!</p>
150 cc9bf8f2 2021-11-05 op <a href="https://repology.org/project/telescope/versions">
151 cc9bf8f2 2021-11-05 op <img src="https://repology.org/badge/vertical-allrepos/telescope.svg" alt="Packaging status">
152 cc9bf8f2 2021-11-05 op </a>
153 cc9bf8f2 2021-11-05 op <p>Source code and precompiled binaries for linux are available:</p>
154 cc9bf8f2 2021-11-05 op <ul>
155 cc9bf8f2 2021-11-05 op <li>
156 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/telescope-0.5.2.tar.gz">
157 cc9bf8f2 2021-11-05 op telescope-0.5.2.tar.gz
158 cc9bf8f2 2021-11-05 op </a>
159 cc9bf8f2 2021-11-05 op </li>
160 cc9bf8f2 2021-11-05 op <li>
161 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/telescope.linux.aarch64">
162 cc9bf8f2 2021-11-05 op telescope.linux.aarch64
163 cc9bf8f2 2021-11-05 op </a>
164 cc9bf8f2 2021-11-05 op </li>
165 cc9bf8f2 2021-11-05 op <li>
166 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/telescope.linux.amd64">
167 cc9bf8f2 2021-11-05 op telescope.linux.amd64
168 cc9bf8f2 2021-11-05 op </a>
169 cc9bf8f2 2021-11-05 op </li>
170 cc9bf8f2 2021-11-05 op <li>
171 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/telescope-0.5.2-binaries.tar.gz">
172 cc9bf8f2 2021-11-05 op telescope-0.5.2-binaries.tar.gz
173 cc9bf8f2 2021-11-05 op </a>
174 cc9bf8f2 2021-11-05 op </li>
175 cc9bf8f2 2021-11-05 op </ul>
176 cc9bf8f2 2021-11-05 op <p>
177 cc9bf8f2 2021-11-05 op When in doubt, compile from source. It’s easy and takes less
178 cc9bf8f2 2021-11-05 op than a minute on a raspberry pi 3. The dependencies are:
179 cc9bf8f2 2021-11-05 op </p>
180 cc9bf8f2 2021-11-05 op <ul>
181 cc9bf8f2 2021-11-05 op <li>libncurses</li>
182 cc9bf8f2 2021-11-05 op <li>libevent</li>
183 cc9bf8f2 2021-11-05 op <li>libtls (from either LibreSSL or libretls)</li>
184 cc9bf8f2 2021-11-05 op <li>yacc (or GNU bison)</li>
185 cc9bf8f2 2021-11-05 op </ul>
186 cc9bf8f2 2021-11-05 op <p>Once all the dependencies are installed, building is as easy as:</p>
187 cc9bf8f2 2021-11-05 op <pre>$ curl -LO https://github.com/omar-polo/telescope/releases/download/0.5.2/telescope-0.5.2.tar.gz
188 cc9bf8f2 2021-11-05 op $ tar xzvf telescope-0.5.2.tar.gz
189 cc9bf8f2 2021-11-05 op $ cd telescope-0.5.2
190 cc9bf8f2 2021-11-05 op $ ./configure
191 cc9bf8f2 2021-11-05 op $ make
192 cc9bf8f2 2021-11-05 op $ sudo make install # eventually
193 cc9bf8f2 2021-11-05 op </pre>
194 cc9bf8f2 2021-11-05 op <p>
195 cc9bf8f2 2021-11-05 op A SHA256 file containing the checksums is available. However,
196 cc9bf8f2 2021-11-05 op that only checks for accidental corruption: you can use signify
197 cc9bf8f2 2021-11-05 op (<code>SHA256.sig</code> and the public key
198 cc9bf8f2 2021-11-05 op <code>telescope-0.5.pub</code>) or GPG. The hash of the signify
199 cc9bf8f2 2021-11-05 op public key is also included in the SHA256 file and signed with
200 cc9bf8f2 2021-11-05 op my GPG too. The signify public key for the next release
201 cc9bf8f2 2021-11-05 op <code>telescope-0.6.pub</code> is also included.
202 cc9bf8f2 2021-11-05 op </p>
203 cc9bf8f2 2021-11-05 op <ul>
204 cc9bf8f2 2021-11-05 op <li>
205 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/SHA256">
206 cc9bf8f2 2021-11-05 op SHA256
207 cc9bf8f2 2021-11-05 op </a>
208 cc9bf8f2 2021-11-05 op </li>
209 cc9bf8f2 2021-11-05 op <li>
210 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/SHA256.gpg">
211 cc9bf8f2 2021-11-05 op SHA256.gpg
212 cc9bf8f2 2021-11-05 op </a>
213 cc9bf8f2 2021-11-05 op </li>
214 cc9bf8f2 2021-11-05 op <li>
215 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/SHA256.sig">
216 cc9bf8f2 2021-11-05 op SHA256.sig
217 cc9bf8f2 2021-11-05 op </a>
218 cc9bf8f2 2021-11-05 op </li>
219 cc9bf8f2 2021-11-05 op <li>
220 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/telescope-0.5.pub">
221 cc9bf8f2 2021-11-05 op telescope-0.5.pub
222 cc9bf8f2 2021-11-05 op </a>
223 cc9bf8f2 2021-11-05 op </li>
224 cc9bf8f2 2021-11-05 op <li>
225 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope/releases/download/0.5.2/telescope-0.6.pub">
226 cc9bf8f2 2021-11-05 op telescope-0.6.pub
227 cc9bf8f2 2021-11-05 op </a>
228 cc9bf8f2 2021-11-05 op </li>
229 cc9bf8f2 2021-11-05 op </ul>
230 cc9bf8f2 2021-11-05 op <p>How to verify the signature with signify:</p>
231 cc9bf8f2 2021-11-05 op <pre>$ signify -C -p telescope-0.5.pub -x SHA256.sig
232 cc9bf8f2 2021-11-05 op Signature Verified
233 cc9bf8f2 2021-11-05 op telescope-0.5.2-binaries.tar.gz: OK
234 cc9bf8f2 2021-11-05 op telescope-0.5.pub: OK
235 cc9bf8f2 2021-11-05 op telescope-0.5.2.tar.gz: OK
236 cc9bf8f2 2021-11-05 op telescope-0.6.pub: OK
237 cc9bf8f2 2021-11-05 op telescope.linux.aarch64: OK
238 cc9bf8f2 2021-11-05 op telescope.linux.amd64: OK
239 cc9bf8f2 2021-11-05 op </pre>
240 cc9bf8f2 2021-11-05 op <p>Finally, it’s possible to fetch the sources using git:</p>
241 cc9bf8f2 2021-11-05 op <ul>
242 cc9bf8f2 2021-11-05 op <li>
243 cc9bf8f2 2021-11-05 op <a href="https://git.omarpolo.com/telescope/">git repository</a>
244 cc9bf8f2 2021-11-05 op </li>
245 cc9bf8f2 2021-11-05 op <li>
246 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope">GitHub mirror</a>
247 cc9bf8f2 2021-11-05 op </li>
248 cc9bf8f2 2021-11-05 op </ul>
249 cc9bf8f2 2021-11-05 op <h2>Changelog for the last versions</h2>
250 cc9bf8f2 2021-11-05 op <p>0.5.2 “Le Nuvole” bugfix release — Released September 13, 2021</p>
251 cc9bf8f2 2021-11-05 op <p>Bugfixes:</p>
252 cc9bf8f2 2021-11-05 op <ul>
253 cc9bf8f2 2021-11-05 op <li>
254 cc9bf8f2 2021-11-05 op some very long pages can cause (rarely) telescope to render a
255 cc9bf8f2 2021-11-05 op blank page
256 cc9bf8f2 2021-11-05 op </li>
257 cc9bf8f2 2021-11-05 op <li>allow creating files in <code>~/Downloads</code> on OpenBSD</li>
258 cc9bf8f2 2021-11-05 op <li>reset download byte counter</li>
259 cc9bf8f2 2021-11-05 op </ul>
260 cc9bf8f2 2021-11-05 op <hr />
261 cc9bf8f2 2021-11-05 op <p>0.5.1 “Le Nuvole” bugfix release — Released August 28, 2021</p>
262 cc9bf8f2 2021-11-05 op <p>
263 cc9bf8f2 2021-11-05 op Telescope used to trim the initial “/” in gopher requests: this
264 cc9bf8f2 2021-11-05 op is not correct and while some servers are forgiving, other
265 cc9bf8f2 2021-11-05 op (rightfully) aren't.
266 cc9bf8f2 2021-11-05 op </p>
267 cc9bf8f2 2021-11-05 op <hr />
268 cc9bf8f2 2021-11-05 op <p>0.5 “Le Nuvole” — Released August 27, 2021</p>
269 cc9bf8f2 2021-11-05 op <h3>New features</h3>
270 cc9bf8f2 2021-11-05 op <ul>
271 cc9bf8f2 2021-11-05 op <li>Support for the finger protocol</li>
272 cc9bf8f2 2021-11-05 op <li>
273 cc9bf8f2 2021-11-05 op Support for the gopher protocol (only item types 0, 1, and 7
274 cc9bf8f2 2021-11-05 op for the moment)
275 cc9bf8f2 2021-11-05 op </li>
276 cc9bf8f2 2021-11-05 op <li>Highlight diff/patches</li>
277 cc9bf8f2 2021-11-05 op <li>
278 cc9bf8f2 2021-11-05 op Typing the protocol of a URI is not needed anymore: added some
279 cc9bf8f2 2021-11-05 op heuristics to assume file:// URLs and fall back to gemini://
280 cc9bf8f2 2021-11-05 op as default
281 cc9bf8f2 2021-11-05 op </li>
282 cc9bf8f2 2021-11-05 op <li>Open local files and directories</li>
283 cc9bf8f2 2021-11-05 op <li>Add an autosave timer to persist the session once in a while</li>
284 cc9bf8f2 2021-11-05 op <li>Scroll completions with M-v/C-v (mini-scroll-up/mini-scroll-down)</li>
285 cc9bf8f2 2021-11-05 op <li>Variable `tab-bar-show' contrlos the visibility of the tab bar</li>
286 cc9bf8f2 2021-11-05 op </ul>
287 cc9bf8f2 2021-11-05 op <h3>Improvements</h3>
288 cc9bf8f2 2021-11-05 op <ul>
289 cc9bf8f2 2021-11-05 op <li>
290 cc9bf8f2 2021-11-05 op New heuristics to extract a title for page without headings:
291 cc9bf8f2 2021-11-05 op use the domain name or the "tilde username"
292 cc9bf8f2 2021-11-05 op </li>
293 cc9bf8f2 2021-11-05 op <li>About:new updated with some gopher links too</li>
294 cc9bf8f2 2021-11-05 op <li>Reload doesn't push the current url to the history anymore</li>
295 cc9bf8f2 2021-11-05 op <li>
296 cc9bf8f2 2021-11-05 op Push-button-new-tab opens a new tab *right after* the current
297 cc9bf8f2 2021-11-05 op one, not as the last
298 cc9bf8f2 2021-11-05 op </li>
299 cc9bf8f2 2021-11-05 op <li>Improved the crash detection</li>
300 cc9bf8f2 2021-11-05 op <li>M-[ and M-] are bind to tab-move-to/tab-move</li>
301 cc9bf8f2 2021-11-05 op </ul>
302 cc9bf8f2 2021-11-05 op <h3>Bug fixes</h3>
303 cc9bf8f2 2021-11-05 op <ul>
304 cc9bf8f2 2021-11-05 op <li>Fixed some crashes caused by cursor movements on empty pages</li>
305 cc9bf8f2 2021-11-05 op <li>Correctly parse multiple attributes</li>
306 cc9bf8f2 2021-11-05 op </ul>
307 cc9bf8f2 2021-11-05 op </body>
308 cc9bf8f2 2021-11-05 op </html>