Skip to content

koma-im/koma-library

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Kotlin Matrix library

Implementation of matrix api in pure kotlin.

This is the library behind the desktop client continuum. kotlinx.serialization is used for json serialization and deserialization. Codegen is used to avoid reflection, reducing package size and improving performance. Ktor is used to interface with the api. kotlinx-coroutines are used to make the code both non-blocing and easy to read. Exception-handling is mostly done with Result type optimized with inline classes.

Usage

Builds are provided automatically by jitpack. If you are using Gradle, add the following to repositories.

maven {
    url = 'https://jitpack.io'
}

Then in dependencies, add:

compile 'io.github.koma-im:koma-library:0.7.6.5'

where 0.7.6.5 is a tag on Github.

Projects based on koma

  • continuum: Desktop client built with tornadofx
  • userbots: Bots that use the user api

About

Lightweight kotlin library for matrix client API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages