This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Felix Ableitner 1be5ca31ab Fixed screenshot size 2016-08-27 01:51:08 +02:00
android Refactored class layout of core package. 2016-08-20 16:13:29 +02:00
core Limit retry count value to 6 2016-08-20 16:18:46 +02:00
docs Added bachelor thesis 2016-08-26 17:37:14 +02:00
gradle Updated dependencies. 2016-01-27 21:23:09 +01:00
graphics Fixed screenshot size 2016-08-27 01:51:08 +02:00
integration Refactored class layout of core package. 2016-08-20 16:13:29 +02:00
server Refactored class layout of core package. 2016-08-20 16:13:29 +02:00
.gitignore Added .apk files to .gitignore. 2016-01-25 22:47:20 +01:00
LICENSE Added license information. 2014-10-03 13:05:28 +03:00
PROTOCOL.md Added message confirmations to protocol (ref #22). 2016-07-17 17:05:12 +02:00
README.md Added bachelor thesis 2016-08-26 17:37:14 +02:00
build.gradle Updated dependencies. 2016-01-27 21:23:09 +01:00
gradlew Initial commit. 2014-10-03 12:55:35 +03:00
gradlew.bat Initial commit. 2014-10-03 12:55:35 +03:00
settings.gradle Implemented AODVv2, including integration test (fixes #33). 2016-05-29 18:35:50 +02:00

README.md

Ensichat

Instant messenger for Android that is fully decentralized. Messages are encrypted and 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

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

All code is licensed under the GPL, v3 or later.

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