Skip to content
@kormium

Kormium

Reflection-free Kotlin Multiplatform infrastructure — ORM, hybrid search and in-memory store on every KMP target.

Kormium — reflection-free Kotlin Multiplatform infrastructure

Data, search and storage libraries with one implementation and identical behaviour on every target — JVM, Android, iOS, Native, Node and the browser.

Kotlin Maven Central License Targets


Why

Most Kotlin Multiplatform "multiplatform" libraries are a thin expect/actual shell over a different native engine per target — SQLite here, a JNI index there, a JS shim for the browser. Behaviour drifts, binaries balloon, and the web target is usually an afterthought.

Kormium libraries take the opposite route: pure Kotlin, no reflection, no native linking. One engine, compiled for every target, behaving the same everywhere. That makes offline-first clients, on-device AI features and shared server/client data models genuinely practical.

  • No reflection — mapping and field access are resolved at compile time, so Native and Wasm are first-class, not degraded modes.
  • Explicit beats implicit — no session, no dirty checking, no lazy loading. The SQL is exactly what the DSL renders, an update writes only the fields you assigned, and anything sharp is behind an opt-in rather than a silent default.
  • Fail at startup, not at runtime — schemas, migrations and configuration are validated while the database or index is being built, not on the one query in production that happens to hit the problem.
  • Same code on server and client — one schema, one query model, one index format.
  • Web is a real target — every library compiles and is tested for Wasm/JS.
  • Apache 2.0 across the board.

Projects

kormium kromus
kemus decimal
sqlite-wasm-kt playground

At a glance

Project What it is Artifact Version
kormium Type-safe ORM and SQL DSL. Tables, entities, typed predicates, transactions, migrations, joins. PostgreSQL / MySQL / SQLite, JDBC and R2DBC, Ktor integration. io.github.kormium:kormium-core 0.11.1
kromus Embedded hybrid search — pure-Kotlin HNSW vector index + BM25 full-text + RRF fusion, quantization, metadata filters, optional ONNX embedder. io.github.kormium:kromus-core 0.14.0
kemus In-memory data store with Redis-flavoured commands. One KemusCommands API over an embedded engine or a remote server; real RESP wire protocol, offline→online sync. io.github.kormium:kemus-core 0.3.0
decimal Arbitrary-precision decimal value type. Zero dependencies, java.math.BigDecimal-compatible, oracle-verified. io.github.kormium:decimal 0.1.0
sqlite-wasm-kt Kotlin/Wasm bindings for the official @sqlite.org/sqlite-wasm — suspend-friendly SQLite in the browser, in-memory or OPFS, with a Worker RPC bundle. io.github.kormium:sqlite-wasm-kt 0.1.0
playground Small runnable demos built on the libraries above. — —

Everything is pre-1.0 and published to Maven Central. APIs may still change; releases follow semantic versioning and every breaking change is listed in each project's CHANGELOG.md.

Getting started

// settings.gradle.kts / build.gradle.kts
repositories {
    mavenCentral()
}

dependencies {
    implementation("io.github.kormium:kormium-core:0.11.1")  // ORM + SQL DSL
    implementation("io.github.kormium:kromus-core:0.14.0")   // hybrid search
    implementation("io.github.kormium:kemus-core:0.3.0")     // in-memory store
}

Each project ships a BOM (kormium-bom, kemus-bom) if you prefer aligned versions.

Contributing

Issues and pull requests are welcome on every repository. Start with CONTRIBUTING.md, and please report security problems privately as described in SECURITY.md.

Popular repositories Loading

  1. kormium kormium Public

    A type-safe, reflection-free Kotlin Multiplatform ORM / SQL DSL for server and client. One schema and query model for PostgreSQL, MySQL and SQLite; runs on JVM, Native, R2DBC, Node, Android, iOS a…

    Kotlin 19 2

  2. decimal decimal Public

    Arbitrary-precision decimal value type for Kotlin Multiplatform — zero dependencies, java.math.BigDecimal-compatible, oracle-verified

    Kotlin 2

  3. playground playground Public

    Small demos built on Kormium

    Kotlin

  4. sqlite-wasm-kt sqlite-wasm-kt Public

    Kotlin/Wasm bindings for the official @sqlite.org/sqlite-wasm — suspend-friendly SQLite in the browser (in-memory or OPFS via opfs-wl), plus a Worker RPC bundle for hosting connections off the main…

    Kotlin

  5. kemus kemus Public

    Kotlin multiplatform in-memory data store — embedded-first, Redis-style commands, RESP server, offline→online sync

    Kotlin

  6. kromus kromus Public

    Embedded, reflection-free hybrid search engine for Kotlin Multiplatform — pure-Kotlin HNSW vector + BM25 full-text + RRF fusion, on every KMP target.

    Kotlin 1

Repositories

Showing 10 of 10 repositories
  • kromus Public

    Embedded, reflection-free hybrid search engine for Kotlin Multiplatform — pure-Kotlin HNSW vector + BM25 full-text + RRF fusion, on every KMP target.

    kormium/kromus's past year of commit activity
    Kotlin 0 Apache-2.0 1 3 6 Updated Oct 2, 2026
  • kormium Public

    A type-safe, reflection-free Kotlin Multiplatform ORM / SQL DSL for server and client. One schema and query model for PostgreSQL, MySQL and SQLite; runs on JVM, Native, R2DBC, Node, Android, iOS and the browser (Wasm), with transactions and compile-time catalog safety.

    Kotlin 19 Apache-2.0 2 43 0 Updated Sep 23, 2026
  • sqlite-extensions Public

    SQLite extensions packaged for Kormium — add a dependency, name it in the sqlite { } block

    kormium/sqlite-extensions's past year of commit activity
    Kotlin 0 Apache-2.0 0 0 0 Updated Sep 1, 2026
  • sqlite-wasm-engines Public

    WebAssembly SQLite builds for Kormium's browser engines: plain, and one with Emscripten dynamic linking so extensions can be loaded at runtime

    kormium/sqlite-wasm-engines's past year of commit activity
    Shell 0 Apache-2.0 0 0 0 Updated Aug 31, 2026
  • kidx Public

    Typed Kotlin storage over IndexedDB: schema, rows, indexed queries, migrations and change notification, for Kotlin/JS and Kotlin/Wasm.

    kormium/kidx's past year of commit activity
    Kotlin 0 Apache-2.0 0 0 0 Updated Aug 7, 2026
  • .github Public

    Organization profile and default community health files for Kormium

    kormium/.github's past year of commit activity
    Python 0 0 0 0 Updated Aug 6, 2026
  • kemus Public

    Kotlin multiplatform in-memory data store — embedded-first, Redis-style commands, RESP server, offline→online sync

    kormium/kemus's past year of commit activity
    Kotlin 0 Apache-2.0 0 0 0 Updated Aug 6, 2026
  • playground Public

    Small demos built on Kormium

    kormium/playground's past year of commit activity
    Kotlin 0 Apache-2.0 0 0 0 Updated Jul 21, 2026
  • sqlite-wasm-kt Public

    Kotlin/Wasm bindings for the official @sqlite.org/sqlite-wasm — suspend-friendly SQLite in the browser (in-memory or OPFS via opfs-wl), plus a Worker RPC bundle for hosting connections off the main thread

    kormium/sqlite-wasm-kt's past year of commit activity
    Kotlin 0 Apache-2.0 0 0 0 Updated Jul 10, 2026
  • decimal Public

    Arbitrary-precision decimal value type for Kotlin Multiplatform — zero dependencies, java.math.BigDecimal-compatible, oracle-verified

    Kotlin 2 Apache-2.0 0 0 0 Updated Jul 4, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…