CocoaPods trunk is moving to be read-only. Read more on the blog, there are 10 months to go.

Locanara 1.1.0

Locanara 1.1.0

Maintained by hyodotdev.



Locanara 1.1.0

  • By
  • Locanara

Locanara

Locanara

Unified On-Device AI SDK for iOS and Android

License


Overview

Locanara provides a unified API for on-device AI across platforms:

  • iOS/macOS: Apple Intelligence (Foundation Models)
  • Android: Gemini Nano (ML Kit GenAI)

All AI processing happens locally on the device. No cloud. No data leaves.


Packages


Features

Feature iOS Android
Summarize Apple Intelligence Gemini Nano
Classify Apple Intelligence Gemini Nano
Extract Apple Intelligence Gemini Nano
Chat Apple Intelligence Gemini Nano
Translate Apple Intelligence Gemini Nano
Rewrite Apple Intelligence Gemini Nano
Proofread Apple Intelligence Gemini Nano

Quick Start

iOS/macOS (Swift Package Manager)

// Package.swift
dependencies: [
    .package(url: "https://github.com/hyodotdev/locanara", from: "1.0.0")
]
import Locanara

// Check device capability
let capability = await Locanara.getDeviceCapability()

// Summarize text
let result = await Locanara.summarize(text: "Your text here...")

iOS/macOS (CocoaPods)

pod 'Locanara', '~> 1.0'

Android (Gradle)

// build.gradle.kts
dependencies {
    implementation("com.locanara:locanara:1.0.0")
}
import com.locanara.Locanara

// Check device capability
val capability = Locanara.getDeviceCapability()

// Summarize text
val result = Locanara.summarize(text = "Your text here...")

Requirements

iOS/macOS

  • iOS 26+ / macOS 26+
  • Device with Apple Intelligence support

Android

  • Android 14+ (API 34+)
  • Device with Gemini Nano support

Documentation

Full documentation is available at locanara.dev.


License

MIT License - see LICENSE for details.


Built with conviction that AI should run where your data lives - on your device.