This is a repository containing the source code to my blog post about how to build a home-made OMEMO chat application in less than 200 lines of code.
You can clone the repository using git clone https://git.fsfe.org/vanitasvitae/HomeMadeOmemo.git
Next navigate to the root folder and compile using
cd HomeMadeOmemo/de.vanitasvitae.homemadeomemo
./gradlew build
You can run the application as follows:
java -jar build/libs/de.vanitasvitae.homemadeomemo.jar user@server.tld password