Kiwix is an offline reader for Web content. One of its main purposes is to make Wikipedia available offline. This is done by reading the content of a file in the ZIM format, a highly compressed open format with additional meta-data.
Kiwix is written in Kotlin (with a few old pieces in Java).
Production releases of the app should be built with our companion build repository kiwix-build.
To build this repository alone for development purposes you can simply import the project into Android Studio and the hard work will be done for you. If you prefer to build without Android Studio you must first set up the Android SDK and then run the command: ./gradlew build
from the root directory of the project.
We utilize different build variants (flavours) to build various different versions of our app. Ensure your build variant is kiwixDebug to build the standard app.
- Dagger 2 - A fast dependency injector for Android and Java
- Retrofit - Retrofit turns your REST API into a Java interface
- OkHttp - An HTTP+SPDY client for Android and Java applications
- Butterknife - View "injection" library for Android
- Mockito - Most popular Mocking framework for unit tests written in Java
- RxJava - Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
- [ObjectBox] (https://github.com/objectbox/objectbox-java) - Reactive NoSQL Databse to replace SquiDb
- [MockK] (https://github.com/mockk/mockk) - Kotlin mocking library that allows mocking of final classes by default.
- [JUnit5] (https://github.com/junit-team/junit5/) - The next generation of JUnit
- [AssertJ] (https://github.com/joel-costigliola/assertj-core) - Fluent assertions for test code
Before contributing be sure to check out the CONTRIBUTION guidelines.
We currently have a series of automated Unit and Integration tests. These can be run locally and are also run when submitting a pull request.
For contributions please read the CODESTYLE carefully. Pull requests that do not match the style will be rejected.
For writing commit messages please read the COMMITSTYLE carefully. Kindly adhere to the guidelines. Pull requests not matching the style will be rejected.
Please use IRC to discuss questions regarding the project: #kiwix on irc.freenode.net
You can use IRC web interface on http://chat.kiwix.org/.
Our other sources of communications include
- Email: [email protected] or [email protected]
- Jabber: [email protected]
For more information, please refer to https://wiki.kiwix.org/wiki/Communication.
Please refer to COPYING.