diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-07-04 12:47:40 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-07-04 12:47:40 +0200 |
commit | 22732501605af681f671b988ac0c892d1b09faa6 (patch) | |
tree | ed8167a7817e249ecd3dc577d4b7bd5317542093 | |
parent | dc9fc1a0a3bfc271d292b93df8f144b4fce8d5e4 (diff) | |
download | www-22732501605af681f671b988ac0c892d1b09faa6.tar.gz www-22732501605af681f671b988ac0c892d1b09faa6.zip |
Adjusted use information and applications regarding chatting
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | static/images/messenger-cli.png | bin | 0 -> 18532 bytes | |||
-rw-r--r-- | template/applications.html.j2 | 123 | ||||
-rw-r--r-- | template/use.html.j2 | 105 |
4 files changed, 110 insertions, 120 deletions
@@ -29,3 +29,5 @@ locale/ko/LC_MESSAGES/messages.mo | |||
29 | locale/pt/LC_MESSAGES/messages.mo | 29 | locale/pt/LC_MESSAGES/messages.mo |
30 | locale/zh_Hant/LC_MESSAGES/messages.mo | 30 | locale/zh_Hant/LC_MESSAGES/messages.mo |
31 | 31 | ||
32 | .project | ||
33 | |||
diff --git a/static/images/messenger-cli.png b/static/images/messenger-cli.png new file mode 100644 index 00000000..89a40b9c --- /dev/null +++ b/static/images/messenger-cli.png | |||
Binary files differ | |||
diff --git a/template/applications.html.j2 b/template/applications.html.j2 index bee316e4..15bd42d7 100644 --- a/template/applications.html.j2 +++ b/template/applications.html.j2 | |||
@@ -93,83 +93,88 @@ | |||
93 | </div> | 93 | </div> |
94 | <div class="row"> | 94 | <div class="row"> |
95 | <div class="col-lg-6"> | 95 | <div class="col-lg-6"> |
96 | <section> | 96 | <section> |
97 | <h3>{{ _("GNU Taler (Alpha)") }}</h3> | 97 | <h3>{{ _("GNU Taler (Alpha)") }}</h3> |
98 | <p> | 98 | <p> |
99 | {% trans %} | 99 | {% trans %} |
100 | <a href="https://taler.net/">GNU Taler</a> | 100 | <a href="https://taler.net/">GNU Taler</a> |
101 | is a new privacy-preserving electronic payment system. | 101 | is a new privacy-preserving electronic payment system. |
102 | Payments are cryptographically | 102 | Payments are cryptographically |
103 | secured and are confirmed within milliseconds with | 103 | secured and are confirmed within milliseconds with |
104 | extremely low transaction costs. | 104 | extremely low transaction costs. |
105 | {% endtrans %} | 105 | {% endtrans %} |
106 | </p> | 106 | </p> |
107 | </section> | 107 | </section> |
108 | </div> | 108 | </div> |
109 | <div class="col-lg-4"> | 109 | <div class="col-lg-4"> |
110 | <center><img style="width: 20em" src="{{ url_static('images/logo-2018-dold.svg') }}" alt="Taler" /></center> | 110 | <center> |
111 | </div> | 111 | <img style="width: 20em" src="{{ url_static('images/logo-2018-dold.svg') }}" alt="Taler" /> |
112 | 112 | </center> | |
113 | </div> | ||
113 | </div> | 114 | </div> |
114 | <hr/> | 115 | <hr/> |
115 | <div class="row"> | 116 | <div class="row"> |
116 | <div class="col-lg-6"> | 117 | <div class="col-lg-6"> |
117 | <section> | 118 | <section> |
118 | <h3>{{ _("secushare") }}</h3> | 119 | <h3>{{ _("secushare") }}</h3> |
119 | <p> | 120 | <p> |
120 | {% trans %} | 121 | {% trans %} |
121 | <a href="https://secushare.org/">secushare</a> | 122 | <a href="https://secushare.org/">secushare</a> |
122 | is creating a decentralized social networking | 123 | is creating a decentralized social networking |
123 | application on top of GNUnet. Using overlay | 124 | application on top of GNUnet. Using overlay |
124 | multicast and the extensible PSYC protocol, notifications are | 125 | multicast and the extensible PSYC protocol, notifications are |
125 | distributed end-to-end encrypted to authorized recipients only. | 126 | distributed end-to-end encrypted to authorized recipients only. |
126 | {% endtrans %} | 127 | {% endtrans %} |
127 | </p> | 128 | </p> |
128 | </section> | 129 | </section> |
129 | </div> | 130 | </div> |
130 | <div class="col-lg-4"> | 131 | <div class="col-lg-4"> |
131 | <center><img style="width: 14em" src="{{ url_static('images/secushare-0444.png') }}" alt="secushare" /></center> | 132 | <center> |
133 | <img style="width: 14em" src="{{ url_static('images/secushare-0444.png') }}" alt="secushare" /> | ||
134 | </center> | ||
135 | </div> | ||
132 | </div> | 136 | </div> |
133 | 137 | <hr/> | |
134 | <div class="row"> | 138 | <div class="row"> |
135 | <div class="col-lg-6"> | 139 | <div class="col-lg-6"> |
136 | <section> | 140 | <section> |
137 | <h3>{{ _("Messenger-GTK") }}</h3> | 141 | <h3>{{ _("Messenger-GTK") }}</h3> |
138 | <p> | 142 | <p> |
139 | {% trans %} | 143 | {% trans %} |
140 | <a href="https://git.gnunet.org/messenger-gtk.git/">Messenger-GTK</a> | 144 | <a href="https://git.gnunet.org/messenger-gtk.git/">Messenger-GTK</a> |
141 | is a convergent GTK messaging application using the GNUnet Messenger | 145 | is a convergent GTK messaging application using the GNUnet Messenger |
142 | service. The goal is to provide private and secure communication | 146 | service. The goal is to provide private and secure communication |
143 | between any group of devices. | 147 | between any group of devices. |
144 | {% endtrans %} | 148 | {% endtrans %} |
145 | </p> | 149 | </p> |
146 | </section> | 150 | </section> |
147 | </div> | 151 | </div> |
148 | <div class="col-lg-4"> | 152 | <div class="col-lg-4"> |
149 | <center><img style="width: 8em" src="{{ url_static('images/messenger-gtk.svg') }}" alt="messenger-gtk" /></center> | 153 | <center> |
150 | </div> | 154 | <img style="width: 8em" src="{{ url_static('images/messenger-gtk.svg') }}" alt="messenger-gtk" /> |
151 | 155 | </center> | |
152 | </div> | 156 | </div> |
153 | <hr/> | 157 | </div> |
154 | <div class="row"> | 158 | <hr/> |
159 | <div class="row"> | ||
155 | <div class="col-lg-6"> | 160 | <div class="col-lg-6"> |
156 | <section> | 161 | <section> |
157 | <h3>{{ _("groupchat") }}</h3> | 162 | <h3>{{ _("messenger-cli") }}</h3> |
158 | <p> | 163 | <p> |
159 | {% trans %} | 164 | {% trans %} |
160 | <a href="https://git.gnunet.org/groupchat.git/">groupchat</a> | 165 | <a href="https://git.gnunet.org/messenger-cli.git/">messenger-cli</a> |
161 | is a terminal user interface providing messaging using the CADET subsystem. It is | 166 | is a terminal user interface providing messaging using the GNUnet Messenger |
162 | developed using nim. Cadet-GTK and groupchat are planned to be compatible. | 167 | service. It is developed in C using ncurses. Messenger-GTK and messenger-cli |
163 | {% endtrans %} | 168 | are fully compatible. |
164 | </p> | 169 | {% endtrans %} |
170 | </p> | ||
165 | </section> | 171 | </section> |
166 | </div> | 172 | </div> |
167 | <div class="col-lg-4"> | 173 | <div class="col-lg-4"> |
168 | <center><img style="width: 14em" src="{{ url_static('images/groupchat.png') }}" alt="groupchat" /></center> | 174 | <center> |
169 | </div> | 175 | <img style="width: 10em" src="{{ url_static('images/messenger-cli.png') }}" alt="messenger-cli" /> |
170 | 176 | </center> | |
171 | </div> | 177 | </div> |
172 | |||
173 | </div> | 178 | </div> |
174 | </div> | 179 | </div> |
175 | </div> | 180 | </div> |
diff --git a/template/use.html.j2 b/template/use.html.j2 index 5ee408cf..d2617386 100644 --- a/template/use.html.j2 +++ b/template/use.html.j2 | |||
@@ -11,7 +11,7 @@ | |||
11 | <nav class="nav subnav position-fixed flex-column border-right" style="position:fixed"> | 11 | <nav class="nav subnav position-fixed flex-column border-right" style="position:fixed"> |
12 | <a class="nav-link" href="#filesharing">{{ _("Filesharing") }}</a> | 12 | <a class="nav-link" href="#filesharing">{{ _("Filesharing") }}</a> |
13 | <a class="nav-link" href="#cadet">{{ _("CADET") }}</a> | 13 | <a class="nav-link" href="#cadet">{{ _("CADET") }}</a> |
14 | <a class="nav-link" href="#groupchat">{{ _("Minimal Groupchat") }}</a> | 14 | <a class="nav-link" href="#messenger">{{ _("Convenient Messenger") }}</a> |
15 | <a class="nav-link" href="#gns_cli">{{ _("GNS with CLI") }}</a> | 15 | <a class="nav-link" href="#gns_cli">{{ _("GNS with CLI") }}</a> |
16 | <a class="nav-link" href="#gns_browser">{{ _("GNS with Browser") }}</a> | 16 | <a class="nav-link" href="#gns_browser">{{ _("GNS with Browser") }}</a> |
17 | <a class="nav-link" href="#vpn">{{ _("VPN") }}</a> | 17 | <a class="nav-link" href="#vpn">{{ _("VPN") }}</a> |
@@ -213,69 +213,52 @@ | |||
213 | </p> | 213 | </p> |
214 | </section> | 214 | </section> |
215 | 215 | ||
216 | |||
217 | |||
218 | <section> | 216 | <section> |
219 | <h3><a name="groupchat" class="subnav-anchor"></a>{{ _("Chatting with a (simple) client") }}</h3> | 217 | <h3><a name="messenger" class="subnav-anchor"></a>{{ _("Chatting with a convenient client") }}</h3> |
220 | <div class="alert" style="background-color: #419edb;"> | 218 | <p> |
221 | <div class="alert-content"> | 219 | To make chatting a tiny bit easier and prettier, we need to install additional software. |
222 | Notice: The groupchat code is not working with the actual GNUnet release atm! | 220 | </p> |
223 | </div> | 221 | <p> |
224 | </div> | 222 | You can select one of the options listed <a href="applications.html">here</a> under applications |
225 | <p> | 223 | using the Messenger service. Those are generally compatible with each other using the same |
226 | To make chatting a tiny bit easier and prettier, we need to install and compile additional software. | 224 | underlying <a href="https://git.gnunet.org/libgnunetchat.git/">library</a> but tell apart in their |
227 | </p> | 225 | user interface and design. |
228 | <p> | 226 | </p> |
229 | First we have to install the Nim programming language. Please refer to their <a href="https://nim-lang.org/install.html">project site</a> for further details. The preferred method is using you distributions package manager, e.g. for Debian it would look like this: | 227 | <p> |
230 | </p> | 228 | In other words: You can choose by your own preference how to chat. |
231 | <code> | 229 | </p> |
232 | $ sudo apt install nim<br> | 230 | <p> |
233 | $ nim --version<br> | 231 | After you have picked an application (for example <a href="https://git.gnunet.org/messenger-gtk.git/">Messenger-GTK</a> |
234 | Nim Compiler Version 1.2.2 [Linux: amd64]<br> | 232 | or <a href="https://git.gnunet.org/messenger-cli.git/">messenger-cli</a>), follow the instructions for build and installation. |
235 | Compiled at 2020-06-16<br> | 233 | Notice that depending on the picked application, you might need additional dependencies besides the library for the chatting |
236 | Copyright (c) 2006-2020 by Andreas Rumpf<br> | 234 | functionality. |
237 | <br> | 235 | </p> |
238 | active boot switches: -d:release -d:nativeStackTrace<br> | 236 | <p> |
239 | </code> | 237 | Once you installed the application and started it, a dialog should open to ask you for an account to use or whether you want |
240 | <p> | 238 | to create a new one. An account is pretty much an identity which can also be used for <a href="#gns_cli">GNS</a> capabilities. |
241 | If the displayed version is <b>1.2.2 or newer</b>, we have a compatible version and can continue downloading and compiling the groupchat. If the version is older (like on Ubuntu 18.04) we can install Nim using a tool called <i>choosenim</i>: | 239 | Accounts don't require any information besides a chosen identifier or nick. |
242 | </p> | 240 | </p> |
243 | <code> | 241 | <p> |
244 | $ curl https://nim-lang.org/choosenim/init.sh -sSf | sh | 242 | Next step is to enter a chat room via your application. The easiest step is choosing a public chat room which is similar to |
245 | </code> | 243 | communicate via <a href="#cadet">CADET</a> through a shared port. Look for a function to add a new room or "platform". |
246 | <p> | 244 | You should be able to enter any sort of text as key for the room and confirm. |
247 | Then we follow the onscreen instructions. More information can be found in the <a href="https://nim-lang.org/install.html">official documentation</a>. | 245 | </p> |
248 | </p> | 246 | <p> |
249 | <p>In the onscreen instructions you'll be ask to add a line to your bashrc - once you've done that, re-read your bash environment to make the change active: | 247 | A chat room should open using the entered key as identifier and any other person you share the key with should be able to join |
250 | </p> | 248 | this room as well using one of the compatible applications as linked above. From here you can simply write text in a proper field |
251 | <code> | 249 | and send it as a message to communicate. |
252 | $ source ~/.bashrc | 250 | </p> |
253 | </code> | 251 | <p> |
254 | 252 | In case of any more advanced functionality it is recommended to look for a guide or more detailed information on the source of the | |
255 | <p> | 253 | used application since implementations can vary, especially the design of user interface. |
256 | After we have installed (and maybe upgraded) Nim we download and compile the GNUnet groupchat application: | 254 | </p> |
257 | </p> | 255 | <p> |
258 | <p> | 256 | Also you can always use the simplified command line tool `gnunet-messenger` provided by GNUnet itself to open or join a chat with |
259 | <code> | 257 | its key in a similar way as described above. See the more detailed information in the |
260 | $ git clone https://git.gnunet.org/groupchat.git<br> | 258 | <a href="https://docs.gnunet.org/handbook/gnunet.html#Using-the-GNUnet-Messenger">handbook</a> to use it. |
261 | $ cd groupchat<br> | 259 | </p> |
262 | $ make<br> | ||
263 | </code> | ||
264 | <p> | ||
265 | <p> | ||
266 | We can now try to enter a chat server running on another GNUnet node using the command: | ||
267 | </p> | ||
268 | <p> | ||
269 | <code> | ||
270 | $ LD_LIBRARY_PATH=/path/to/gnunetlibs ./groupchat --config=/path/to/gnunet.conf --server=88RXABKJNMT426FY81N2DXN0M2X37SW5Q1NR005YPDZ1Q7A22CHG --port=t3ss --nick=YOURNICK<br> | ||
271 | </code> | ||
272 | <p> | ||
273 | The peer key and port name given in this example should work as they are almost always online and running groupchat on port "t3ss". | ||
274 | <p> | ||
275 | </section> | 260 | </section> |
276 | 261 | ||
277 | |||
278 | |||
279 | <section> | 262 | <section> |
280 | <h3><a name="gns_cli" class="subnav-anchor"></a>{{ _("Name resolution using GNS on the command line") }}</h3> | 263 | <h3><a name="gns_cli" class="subnav-anchor"></a>{{ _("Name resolution using GNS on the command line") }}</h3> |
281 | <p>The GNU Name Service (GNS) is a fully decentralized alternative to the Domain Name System (DNS). Where GNS does not suffer the same major <a href="https://en.wikipedia.org/wiki/Domain_Name_System#Security_issues">security flaws as DNS</a>. | 264 | <p>The GNU Name Service (GNS) is a fully decentralized alternative to the Domain Name System (DNS). Where GNS does not suffer the same major <a href="https://en.wikipedia.org/wiki/Domain_Name_System#Security_issues">security flaws as DNS</a>. |