Skip to content
Project discontinued
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Fixed Android tests to work on emulator Oct 9, 2016
buildSrc @ fc9d326 Updated to latest build tools Sep 30, 2016
core
docs Added bachelor thesis Aug 26, 2016
gradle Updated to latest build tools Sep 30, 2016
graphics Fixed screenshot size Aug 26, 2016
integration Uncommented integration test code Sep 24, 2016
server Bumped version to 0.5.2 Sep 28, 2016
.gitignore Added .apk files to .gitignore. Jan 25, 2016
.gitmodules Updated to latest build tools Sep 30, 2016
.travis.yml
LICENSE Changed license to MPLv2 (fixes #47) Aug 27, 2016
PROTOCOL.md Allow adding other device by address, auto request public key Sep 12, 2016
README.md
build.gradle Updated to latest build tools Sep 30, 2016
gradlew Initial commit. Oct 3, 2014
gradlew.bat
settings.gradle Implemented AODVv2, including integration test (fixes #33). May 29, 2016

README.md

PROJECT DISCONTINUED

Unfortunately, I won't be able to continue development on Ensichat, due to lack of time. I suggest you give Briar a try instead.

If you wish to take over maintenance of the project, please contact me.

Ensichat

Build Status License: MPLv2

Instant messenger for Android that is fully decentralized, and uses strong end-to-end encryption. Messages are sent directly between devices via Bluetooth or Internet, without any central server. Relay nodes are used to ensure message delivery, even if the target node is offline.

For details on how Ensichat works, you can check out my bachelor thesis, and read the protocol definition.

screenshot 1

screenshot 2

screenshot 3

Get it on Google Play Get it on F-Droid

To set up a server, please follow the instructions on the wiki.

Building

To setup a development environment, just install Android Studio and import the project.

Alternatively, you can use the command line. To create a debug apk, run ./gradlew assembleDevDebug. This requires at least Android Lollipop on your development device. If you don't have 5.0 or higher, you have to use ./gradlew assembleRelDebug. However, this results in considerably slower incremental builds. To create a release apk, run ./gradlew assembleRelRelease.

Testing

You can run the unit tests with ./gradlew test. After connecting an Android device, you can run the Android tests with ./gradlew connectedDevDebugAndroidTest (or ./gradlew connectedRelDebugAndroidTest if your Android version is lower than 5.0).

To run integration tests for the core module, use ./gradlew integration:run. If this fails (or is very slow), try changing the value of Crypto#PublicKeySize to 512 (in the core module).

License

The project is licensed under the MPLv2.

The launcher icon is based on the Bubbles Icon created by Paomedia which is available under CC BY 3.0.

You can’t perform that action at this time.