1 cc9bf8f2 2021-11-05 op <!doctype html>
2 cc9bf8f2 2021-11-05 op <html lang="en">
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">
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;
18 cc9bf8f2 2021-11-05 op content: "# ";
22 cc9bf8f2 2021-11-05 op margin-top: 40px;
26 cc9bf8f2 2021-11-05 op content: "## ";
30 cc9bf8f2 2021-11-05 op content: "### ";
38 cc9bf8f2 2021-11-05 op blockquote::before {
39 cc9bf8f2 2021-11-05 op content: "> ";
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;
47 cc9bf8f2 2021-11-05 op p.link::before {
48 cc9bf8f2 2021-11-05 op content: "→ ";
54 cc9bf8f2 2021-11-05 op background-color: #222;
56 cc9bf8f2 2021-11-05 op display: block;
57 cc9bf8f2 2021-11-05 op margin: 2em auto;
61 cc9bf8f2 2021-11-05 op overflow: auto;
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;
71 cc9bf8f2 2021-11-05 op color: #9d109d;
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%;
80 cc9bf8f2 2021-11-05 op @media (prefers-color-scheme: dark) {
82 cc9bf8f2 2021-11-05 op background-color: #222;
87 cc9bf8f2 2021-11-05 op filter: brightness(0.65);
88 cc9bf8f2 2021-11-05 op transition: filter 0.2s ease-in-out;
92 cc9bf8f2 2021-11-05 op filter: brightness(1.0);
100 cc9bf8f2 2021-11-05 op background-color: #ddd;
104 cc9bf8f2 2021-11-05 op color: #ff4cff;
108 cc9bf8f2 2021-11-05 op @media (max-width: 400px) {
109 cc9bf8f2 2021-11-05 op pre.banner { font-size: 9px; }
112 cc9bf8f2 2021-11-05 op @media (max-width: 500px) {
113 cc9bf8f2 2021-11-05 op pre.banner { font-size: 10px; }
120 cc9bf8f2 2021-11-05 op Home | <a href="/gallery/">Gallery</a> | <a href="telescope.1.html">Docs</a>
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 d54c55fb 2021-11-29 op |__| v0.6</pre>
129 cc9bf8f2 2021-11-05 op <p>Telescope is a w3m-like browser for Gemini</p>
130 cc9bf8f2 2021-11-05 op </blockquote>
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
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.
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" />
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">
153 cc9bf8f2 2021-11-05 op <p>Source code and precompiled binaries for linux are available:</p>
156 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/telescope-0.6.tar.gz">
157 d54c55fb 2021-11-29 op telescope-0.6.tar.gz
161 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/telescope.linux.aarch64">
162 cc9bf8f2 2021-11-05 op telescope.linux.aarch64
166 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/telescope.linux.amd64">
167 cc9bf8f2 2021-11-05 op telescope.linux.amd64
171 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/telescope-0.6-binaries.tar.gz">
172 d54c55fb 2021-11-29 op telescope-0.6-binaries.tar.gz
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:
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>
186 cc9bf8f2 2021-11-05 op <p>Once all the dependencies are installed, building is as easy as:</p>
187 d54c55fb 2021-11-29 op <pre>$ curl -LO https://github.com/omar-polo/telescope/releases/download/0.6/telescope-0.6.tar.gz
188 d54c55fb 2021-11-29 op $ tar xzvf telescope-0.6.tar.gz
189 d54c55fb 2021-11-29 op $ cd telescope-0.6
190 cc9bf8f2 2021-11-05 op $ ./configure
192 cc9bf8f2 2021-11-05 op $ sudo make install # eventually
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 d54c55fb 2021-11-29 op <code>telescope-0.6.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 d54c55fb 2021-11-29 op <code>telescope-0.7.pub</code> is also included.
205 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/SHA256">
210 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/SHA256.gpg">
215 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/SHA256.sig">
220 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/telescope-0.6.pub">
221 d54c55fb 2021-11-29 op telescope-0.6.pub
225 d54c55fb 2021-11-29 op <a href="https://github.com/omar-polo/telescope/releases/download/0.6/telescope-0.7.pub">
226 d54c55fb 2021-11-29 op telescope-0.7.pub
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 d54c55fb 2021-11-29 op telescope-0.6-binaries.tar.gz: OK
234 cc9bf8f2 2021-11-05 op telescope-0.6.pub: OK
235 d54c55fb 2021-11-29 op telescope-0.6.tar.gz: OK
236 d54c55fb 2021-11-29 op telescope-0.7.pub: OK
237 cc9bf8f2 2021-11-05 op telescope.linux.aarch64: OK
238 cc9bf8f2 2021-11-05 op telescope.linux.amd64: OK
240 cc9bf8f2 2021-11-05 op <p>Finally, it’s possible to fetch the sources using git:</p>
243 cc9bf8f2 2021-11-05 op <a href="https://git.omarpolo.com/telescope/">git repository</a>
246 cc9bf8f2 2021-11-05 op <a href="https://github.com/omar-polo/telescope">GitHub mirror</a>
249 d54c55fb 2021-11-29 op <h2>Changelog for the lastest version</h2>
250 d54c55fb 2021-11-29 op <p>0.6 “Piccola storia ignobile” — Released November 29, 2021</p>
251 d54c55fb 2021-11-29 op <h3>New features</h3>
253 d54c55fb 2021-11-29 op <li>added a pane that lists all the downloads (current or not)</li>
254 d54c55fb 2021-11-29 op <li>download-path is customizable</li>
256 d54c55fb 2021-11-29 op sandbox/safe mode: telescope won't write anything to the file
260 d54c55fb 2021-11-29 op XDG-style directories if ~/.telescope does not exists; idea
261 d54c55fb 2021-11-29 op and implementation by Andrea Feletto, thanks! (there's a
262 d54c55fb 2021-11-29 op script also by him in contrib to migrate the setup)
265 d54c55fb 2021-11-29 op <h3>Improvements</h3>
267 d54c55fb 2021-11-29 op <li>prefill the save prompt with the file name</li>
268 d54c55fb 2021-11-29 op <li>use landlock on linux if available</li>
270 d54c55fb 2021-11-29 op add <code>HOSTCC</code> and <code>HOSTCFLAGS</code> variables
271 d54c55fb 2021-11-29 op for the configure script to allow cross-compiling (<code>pagebundler</code>
272 d54c55fb 2021-11-29 op needs to be built with the host compiler no matter what.)
273 d54c55fb 2021-11-29 op Prompted and tested by Nikolay Korotkiy, thanks!
276 d54c55fb 2021-11-29 op <h3>Bug fixes</h3>
278 d54c55fb 2021-11-29 op <li>fix diff syntax highlighting with more than one header involved</li>
280 d54c55fb 2021-11-29 op [gemini] fix item line detection: a space is required after
281 d54c55fb 2021-11-29 op the <code>*</code> character
284 d54c55fb 2021-11-29 op handle empty replies (i.e. no header.) Found thanks to
285 d54c55fb 2021-11-29 op ondollo' capsule :)
288 d54c55fb 2021-11-29 op fixed a crash on macOs, by Nikolay Korotkiy (sikmir on
289 d54c55fb 2021-11-29 op github). Thanks!
292 d54c55fb 2021-11-29 op mention that telescope expects an UTF-8 environment in the
293 d54c55fb 2021-11-29 op CAVEATS section of the manpage