Oxide-Lab-Mobile

0

Описание

Языки

  • Kotlin90,1%
  • Rust5,9%
  • Batchfile1,4%
  • CMake1,3%
  • Shell1,3%
README.md

Oxide Lab Mobile

An Android mobile application developed using Kotlin and Jetpack Compose with Rust/Candle integration for local chat-bot functionality.

Features

  • Modern Android UI with Jetpack Compose
  • Local chat-bot implementation using Rust and Candle ML framework
  • Native performance with Rust backend
  • Code quality enforcement with ktlint and detekt

Prerequisites

  • Android Studio
  • JDK 11 or higher
  • Rust toolchain
  • Android NDK
  • cargo-ndk

Setup

  1. Clone the repository
  2. Open in Android Studio
  3. Sync Gradle dependencies
  4. Build and run on emulator or device

Architecture

The application follows a standard Android architecture with:

  • Kotlin for the frontend UI
  • Rust for the backend processing with Candle ML
  • JNI for communication between Kotlin and Rust

Building

The Rust library is automatically built when you build the Android app. You can also build it manually:

On Unix-like systems:

On Windows:

Code Quality

This project uses ktlint and detekt for code quality enforcement:

Running Linters

Documentation

License

MIT