-
Notifications
You must be signed in to change notification settings - Fork 26
Installation
The client has been built successfully on the following platforms:
- Ubuntu 14.10
- Arch Linux
Install dependencies:
aptitude install golang mercurial
Install dependencies:
pacman -S go mercurial
You can technically put your GOPATH whereever you like as long as you like, we use ~/go/bin as an example:
mkdir ~/go/bin; export GOPATH=~/go; export PATH=$PATH:$GOPATH go get github.com/janimo/textsecure/ cd ~/go/src/github.com/janimo/textsecure/cmd/textsecure go build
Adjust the config file in `~/go/src/github.com/janimo/textsecure/cmd/textsecure/.config/config.yml`, e.g. adjust your phone number (or change verificationType to voice for landline numbers):
tel: "+49174XXX"
Now start registration on the WhisperSystem server
./textsecure
Input the numer you recieved on your mobile phone via SMS
Enter verification number (without the '-')>427-741 2014/12/21 15:59:25 Registration done
After the successfull response, close the application. To send a message, create a contact in `~/go/src/github.com/janimo/textsecure/cmd/textsecure/.config/contacts.yml` and use this command:
./textsecure -to="Simon" -message="Secret Hello World"
you can also send attachments, e.g.
./textsecure -to="Simon" -message="Secret Hello World" -attachment="~/mypicture.png"