Aardink

Aardink hero image.

Aardink is a production-ready Compose code editing toolkit for Android, published as an open-source Maven module by Aardarch.

It combines high-performance document and token pipelines with a polished editor UI so you can ship in-app editing experiences without building your own editor stack from scratch.

Why teams choose Aardink

Add to your project

Gradle (Kotlin DSL with version catalog)

Declare the dependency in gradle/libs.versions.toml:

[versions]
aardink = "0.2.0"

[libraries]
aardink = { module = "org.aardarch:aardink", version.ref = "aardink" }

Then reference it from your module's build.gradle.kts:

dependencies {
    implementation(libs.aardink)
}

Maven

<dependency>
  <groupId>org.aardarch</groupId>
  <artifactId>aardink</artifactId>
  <version>0.2.0</version>
</dependency>

Feature walkthrough

  1. Start with editor state: initialize CodeEditorState and your tokenizer strategy to drive document updates and rendering.
  2. Render the editor UI: use CodeEditorLayout to enable line numbers, gutter markers, folding, diagnostic annotations, and optional diff indicators.
  3. Enable language intelligence: wire in LanguageService, completion items, and hover docs to provide context-aware assistance.
  4. Tune the editing workflow: configure find/replace, undo/redo behavior, and keyboard toolbar placement for your target user flow.
  5. Apply your brand: style the experience with EditorTheme, built-in theme presets, or parsed VS Code theme JSON.

Module walkthrough

Aardink is organized into modules so you can adopt only what you need:

API reference

Browse the API reference — 12 packages, 64 classes.

Jump straight to module overviews: editor · languages

Source

The module's source code is hosted on GitHub.