Difference between revisions of "Bitmessage"

From Organic Design wiki
(done)
m
Line 1: Line 1:
== Use your mail client as the UI ==
+
== Use Thunderbird as the UI ==
Brilliant little script that sets up a basic ''POP3'' and ''SMTP'' server on ''localhost'' to give Bitmessage an email interface for example that Thunderbird can connect to. This mean the messages can be organised in a local folder structure or easily coped to your ''IMAP'' structure.
+
1. set up https://bitmessage.org/wiki/API_Reference
# First enable the [https://bitmessage.org/wiki/API_Reference Bitmessage API] in your local ''keys.dat'' configuration file.
+
2. https://github.com/Dokument/PyBitmessage-Daemon
# Install the [https://github.com/Dokument/PyBitmessage-Daemon PyBitmessage-Daemon] script into your home folder (I used <tt>git clone git://github.com/Dokument/PyBitmessage-Daemon.git</tt> for easy update) and run it with <tt>python daemon.py</tt>.
+
3. http://github.com/Arceliar/bmwrapper
# Install the [http://github.com/Arceliar/bmwrapper bmwrapper] into your home (I used git clone again)
+
4. Create a ''.desktop'' file that runs a launch shell script
# Set up an account on your mail client on ''localhost'', POP3 on ''12344'' and SMTP on ''12345'' as shown [https://github.com/Arceliar/bmwrapper here].
+
5. Create the launch script that runs a separate launch script for each of the three e.g.
 +
{{code|<pre>#!/bin/sh
 +
cd ~/PyBitmessage
 +
./bm1.sh & ./bm2.sh & ./bm3.sh
 +
</pre>}}
 +
6. Create each of the 3 launchers one to run each of the scripts with ''python2.7'', for example the first of mine is:
 +
{{code|<pre>python2.7 ~/PyBitmessage/src/bitmessagemain.py</pre>}}
 +
7. Ensure all the launchers have executable permission. This complicated procedure is required because each one is a daemon that doesn't return and won't run in the background using the ampersand.

Revision as of 19:41, 19 June 2013

Use Thunderbird as the UI

1. set up https://bitmessage.org/wiki/API_Reference 2. https://github.com/Dokument/PyBitmessage-Daemon 3. http://github.com/Arceliar/bmwrapper 4. Create a .desktop file that runs a launch shell script 5. Create the launch script that runs a separate launch script for each of the three e.g.

#!/bin/sh
cd ~/PyBitmessage
./bm1.sh & ./bm2.sh & ./bm3.sh

6. Create each of the 3 launchers one to run each of the scripts with python2.7, for example the first of mine is:

python2.7 ~/PyBitmessage/src/bitmessagemain.py

7. Ensure all the launchers have executable permission. This complicated procedure is required because each one is a daemon that doesn't return and won't run in the background using the ampersand.