Difference between revisions of "Bitmessage"
From Organic Design wiki
m |
m |
||
Line 1: | Line 1: | ||
− | == Use | + | == Use your mail client 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. | |
− | + | # First enable the [https://bitmessage.org/wiki/API_Reference Bitmessage API] in your local ''keys.dat'' configuration file. | |
− | + | # 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>. | |
− | + | # Install the [http://github.com/Arceliar/bmwrapper bmwrapper] into your home (I used git clone again) | |
− | + | # 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]. | |
+ | # Create a ''.desktop'' file that runs a launch shell script | ||
+ | # Create the launch script that runs a separate launch script for each of the three e.g. | ||
{{code|<pre>#!/bin/sh | {{code|<pre>#!/bin/sh | ||
cd ~/PyBitmessage | cd ~/PyBitmessage | ||
./bm1.sh & ./bm2.sh & ./bm3.sh | ./bm1.sh & ./bm2.sh & ./bm3.sh | ||
</pre>}} | </pre>}} | ||
− | + | # Create each of the three 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>}} | {{code|<pre>python2.7 ~/PyBitmessage/src/bitmessagemain.py</pre>}} | ||
− | + | # 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. | |
+ | # You can check if they're running with '''netstat -nlp''' and check you have apps listening on ''8442'', ''12344'' and ''12345''. |
Revision as of 19:43, 19 June 2013
Use your mail client 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.
- First enable the Bitmessage API in your local keys.dat configuration file.
- Install the PyBitmessage-Daemon script into your home folder (I used git clone git://github.com/Dokument/PyBitmessage-Daemon.git for easy update) and run it with python daemon.py.
- Install the bmwrapper into your home (I used git clone again)
- Set up an account on your mail client on localhost, POP3 on 12344 and SMTP on 12345 as shown here.
- Create a .desktop file that runs a launch shell script
- Create the launch script that runs a separate launch script for each of the three e.g.
- Create each of the three launchers one to run each of the scripts with python2.7, for example the first of mine is:
- 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.
- You can check if they're running with netstat -nlp and check you have apps listening on 8442, 12344 and 12345.