Updated README.
[elpher.git] / README.md
1 # Elpher
2
3 Elpher aims to provide a full-featured gopher client for GNU Emacs.
4
5 It supports:
6 - simple keyboard and mouse-driven browsing, including out-of-the-box
7   compatibility with evil-mode,
8 - caching of visited sites,
9 - clean and configurable visualization of Gopher directories,
10 - direct visualisation of image files,
11 - jumping directly to links by name (with autocompletion),
12 - clickable web and gopher links in plain text.
13
14 Keep the non-web internet alive!
15
16 ## Installation
17
18 Elpher is available from [MELPA](https://melpa.org).  If you have
19 never installed packages from this repository before, you'll need
20 to follow the instructions at https://melpa.org/#/getting-started.
21
22 To install Elpher, using the following:
23
24     M-x package-install RET elpher RET
25
26 To uninstall, use `M-x package-delete RET elpher RET`.
27
28 ## Usage
29
30 Once installed, use `M-x elpher` to launch the browser.  This will
31 open a start page which documents the default key bindings and
32 provides some links to help kick start your exploration of gopherspace.
33
34 To customize the various faces Elpher uses, the start page
35 and a few other odds and ends, simply use `M-x customize-group`
36 and enter "elpher" at the group prompt.
37
38 ## History and Caching
39
40 This is an aspect of Elpher that perhaps requires separate explanation.
41
42 Every item you visit with Elpher is modeled as a "node" in a tree.
43 For instance, a gopher directory represents a single node.  When
44 you open such a directory, Elpher creates nodes for every entry
45 in that directory and makes these children of the original directory node:
46
47                X  <- current directory node
48                |
49             -------
50             |  |  |
51             o  o  o  <- nodes representing entries in directory
52
53 If one of those entries is itself a directory and you click on it,
54 Elpher marks that node the current node, and extends the tree as follows:
55
56                o  <- original directory node
57                |
58             -------
59             |  |  |
60             o  o  X  <- current directory node (marked with X)
61                   |
62               ---------
63               | | | | |
64               o o o o o  <- nodes representing entries in new directory
65               
66 Pressing the 'u' key (introduced on page which opens when elopher starts)
67 always moves to the page representing "parent" node, whatever that is.
68
69 Once a node is visited, its "contents" (i.e. whatever is retrieved
70 from the gopher server) are recorded with the corresponding node.  The
71 cursor position (point) is also stored. If the node is visited again,
72 the cached contents are displayed and the cursor returns to its
73 previous position.  This makes navigating amongst different documents
74 referenced from within the same directory very snappy.
75
76 This hierarchy is also maintained when gopher URLs are followed from plain
77 text documents, and when directories are retrieved explicitly using the 'g'
78 key.
79
80 ## Licence
81
82 Elpher is free software and is distributed under the terms of version
83 3 the GNU General Public License, which can be found in the file named
84 COPYING.