Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/ci-expo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,44 @@ on:
branches: [main]
paths:
- 'libraries/expo-ondevice-ai/**'
- '!libraries/expo-ondevice-ai/**/*.md'
- '!libraries/expo-ondevice-ai/**/*.mdx'
- '!libraries/expo-ondevice-ai/example/app/(tabs)/settings.tsx'
- '.github/workflows/ci-expo.yml'
pull_request:
branches: [main]
paths:
- 'libraries/expo-ondevice-ai/**'
- '!libraries/expo-ondevice-ai/**/*.md'
- '!libraries/expo-ondevice-ai/**/*.mdx'
- '!libraries/expo-ondevice-ai/example/app/(tabs)/settings.tsx'
- '.github/workflows/ci-expo.yml'

jobs:
changes:
name: Detect Changes
runs-on: ubuntu-latest
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@v4

- name: Filter changed files
id: filter
uses: dorny/paths-filter@v3
with:
filters: |
library:
- '.github/workflows/ci-expo.yml'
- 'libraries/expo-ondevice-ai/**'
- '!libraries/expo-ondevice-ai/**/*.md'
- '!libraries/expo-ondevice-ai/**/*.mdx'
- '!libraries/expo-ondevice-ai/example/app/(tabs)/settings.tsx'

lint-and-test:
name: Lint & Test
needs: changes
if: needs.changes.outputs.library == 'true'
runs-on: ubuntu-latest
defaults:
run:
Expand Down Expand Up @@ -57,6 +85,8 @@ jobs:

build-android:
name: Build Android
needs: changes
if: needs.changes.outputs.library == 'true'
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -100,6 +130,8 @@ jobs:

build-ios:
name: Build iOS
needs: changes
if: needs.changes.outputs.library == 'true'
runs-on: macos-latest

steps:
Expand Down Expand Up @@ -156,6 +188,8 @@ jobs:

build-web:
name: Build Web
needs: changes
if: needs.changes.outputs.library == 'true'
runs-on: ubuntu-latest

steps:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/ci-flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,44 @@ on:
branches: [main]
paths:
- 'libraries/flutter_ondevice_ai/**'
- '!libraries/flutter_ondevice_ai/**/*.md'
- '!libraries/flutter_ondevice_ai/**/*.mdx'
- '!libraries/flutter_ondevice_ai/example/lib/screens/settings_screen.dart'
- '.github/workflows/ci-flutter.yml'
pull_request:
branches: [main]
paths:
- 'libraries/flutter_ondevice_ai/**'
- '!libraries/flutter_ondevice_ai/**/*.md'
- '!libraries/flutter_ondevice_ai/**/*.mdx'
- '!libraries/flutter_ondevice_ai/example/lib/screens/settings_screen.dart'
- '.github/workflows/ci-flutter.yml'

jobs:
changes:
name: Detect Changes
runs-on: ubuntu-latest
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@v4

- name: Filter changed files
id: filter
uses: dorny/paths-filter@v3
with:
filters: |
library:
- '.github/workflows/ci-flutter.yml'
- 'libraries/flutter_ondevice_ai/**'
- '!libraries/flutter_ondevice_ai/**/*.md'
- '!libraries/flutter_ondevice_ai/**/*.mdx'
- '!libraries/flutter_ondevice_ai/example/lib/screens/settings_screen.dart'

analyze-and-test:
name: Analyze & Test
needs: changes
if: needs.changes.outputs.library == 'true'
runs-on: ubuntu-latest

steps:
Expand Down
33 changes: 32 additions & 1 deletion .github/workflows/ci-react-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,44 @@ on:
branches: [main]
paths:
- 'libraries/react-native-ondevice-ai/**'
- '!libraries/react-native-ondevice-ai/**/*.md'
- '!libraries/react-native-ondevice-ai/**/*.mdx'
- '!libraries/react-native-ondevice-ai/example/src/screens/SettingsScreen.tsx'
- '.github/workflows/ci-react-native.yml'
pull_request:
branches: [main]
paths:
- 'libraries/react-native-ondevice-ai/**'
- '!libraries/react-native-ondevice-ai/**/*.md'
- '!libraries/react-native-ondevice-ai/**/*.mdx'
- '!libraries/react-native-ondevice-ai/example/src/screens/SettingsScreen.tsx'
- '.github/workflows/ci-react-native.yml'

jobs:
changes:
name: Detect Changes
runs-on: ubuntu-latest
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@v4

- name: Filter changed files
id: filter
uses: dorny/paths-filter@v3
with:
filters: |
library:
- '.github/workflows/ci-react-native.yml'
- 'libraries/react-native-ondevice-ai/**'
- '!libraries/react-native-ondevice-ai/**/*.md'
- '!libraries/react-native-ondevice-ai/**/*.mdx'
- '!libraries/react-native-ondevice-ai/example/src/screens/SettingsScreen.tsx'

lint-and-test:
name: Lint & Test
needs: changes
if: needs.changes.outputs.library == 'true'
runs-on: ubuntu-latest
defaults:
run:
Expand Down Expand Up @@ -64,6 +92,8 @@ jobs:

build-android:
name: Build Android
needs: changes
if: needs.changes.outputs.library == 'true'
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -99,6 +129,8 @@ jobs:

build-ios:
name: Build iOS
needs: changes
if: needs.changes.outputs.library == 'true'
runs-on: macos-latest

steps:
Expand Down Expand Up @@ -153,4 +185,3 @@ jobs:
-configuration Debug \
build \
CODE_SIGNING_ALLOWED=NO

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Locanara is an on-device AI framework inspired by LangChain, purpose-built for m

No cloud. No data leaves. Privacy by design.

**Documentation**: [locanara.com](https://locanara.com) | **Blog**: [LangChain for Mobile, Entirely On-Device — Meet Locanara](https://medium.com/dooboolab/langchain-for-mobile-entirely-on-device-meet-locanara-33112ade3b0e)
**Documentation**: [locanara.hyo.dev](https://locanara.hyo.dev) | **Blog**: [LangChain for Mobile, Entirely On-Device — Meet Locanara](https://medium.com/dooboolab/langchain-for-mobile-entirely-on-device-meet-locanara-33112ade3b0e)

---

Expand Down Expand Up @@ -282,7 +282,7 @@ suspend fun pipelineExample(context: Context) {
| Rewrite | `Rewrite(style:)` | `.rewrite(style:)` | `RewriteResult` |
| Extract | `Extract(entityTypes:)` | `.extract(entityTypes:)` | `ExtractResult` |

> **Full tutorial**: [locanara.com/docs/tutorials/pipeline](https://locanara.com/docs/tutorials/pipeline)
> **Full tutorial**: [locanara.hyo.dev/docs/tutorials/pipeline](https://locanara.hyo.dev/docs/tutorials/pipeline)

---

Expand All @@ -297,7 +297,7 @@ suspend fun pipelineExample(context: Context) {
[![Maven Central](https://img.shields.io/maven-central/v/com.locanara/locanara?label=Maven%20Central)](https://central.sonatype.com/artifact/com.locanara/locanara)
[![CI Android](https://github.com/hyodotdev/locanara/actions/workflows/ci-android.yml/badge.svg)](https://github.com/hyodotdev/locanara/actions/workflows/ci-android.yml)

- [**site**](packages/site) — Website + Documentation → [locanara.com](https://locanara.com)
- [**site**](packages/site) — Website + Documentation → [locanara.hyo.dev](https://locanara.hyo.dev)

## Libraries

Expand Down
2 changes: 1 addition & 1 deletion libraries/expo-ondevice-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const translated = await translate('Hello', {

## Documentation

Full API documentation and guides are available at **[locanara.com/docs/libraries/expo](https://locanara.com/docs/libraries/expo)**.
Full API documentation and guides are available at **[locanara.hyo.dev/docs/libraries/expo](https://locanara.hyo.dev/docs/libraries/expo)**.

## License

Expand Down
2 changes: 1 addition & 1 deletion libraries/expo-ondevice-ai/example/app/(tabs)/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function SettingsScreen() {
};

const handleOpenDocs = () => {
Linking.openURL('https://locanara.com/docs');
Linking.openURL('https://locanara.hyo.dev/docs');
};

const handleOpenGitHub = () => {
Expand Down
4 changes: 2 additions & 2 deletions libraries/flutter_ondevice_ai/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flutter_ondevice_ai

Flutter plugin for on-device AI using [Locanara SDK](https://locanara.com).
Flutter plugin for on-device AI using [Locanara SDK](https://locanara.hyo.dev).

Supports iOS (Apple Intelligence / llama.cpp), Android (Gemini Nano), and Web (Chrome Built-in AI) from a single Dart API.

Expand All @@ -27,7 +27,7 @@ if (capability.isSupported) {

## Documentation

Full documentation at [locanara.com/docs/libraries/flutter](https://locanara.com/docs/libraries/flutter)
Full documentation at [locanara.hyo.dev/docs/libraries/flutter](https://locanara.hyo.dev/docs/libraries/flutter)

## License

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class SettingsScreen extends StatelessWidget {
icon: Icons.menu_book,
label: 'Documentation',
trailing: Icons.open_in_new,
onTap: () => _launchUrl('https://locanara.com/docs'),
onTap: () => _launchUrl('https://locanara.hyo.dev/docs'),
),
const _Separator(),
_ActionRow(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function SettingsScreen() {
};

const handleOpenDocs = () => {
Linking.openURL('https://locanara.com/docs');
Linking.openURL('https://locanara.hyo.dev/docs');
};

const handleOpenGitHub = () => {
Expand Down
10 changes: 5 additions & 5 deletions llms-full.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Locanara Community SDK Complete Reference

> Locanara: Unified on-device AI SDK for iOS/macOS and Android
> Documentation: https://locanara.com
> Quick Reference: https://locanara.com/llms.txt
> Documentation: https://locanara.hyo.dev
> Quick Reference: https://locanara.hyo.dev/llms.txt
> Generated: 2026-02-16T13:55:08.262Z

## Table of Contents
Expand Down Expand Up @@ -1917,7 +1917,7 @@ try await llmSession?.prewarm()

## Links & Resources

- Documentation: https://locanara.com
- Documentation: https://locanara.hyo.dev
- GitHub: https://github.com/hyodotdev/locanara
- Types Reference: https://locanara.com/docs/types
- APIs Reference: https://locanara.com/docs/apis
- Types Reference: https://locanara.hyo.dev/docs/types
- APIs Reference: https://locanara.hyo.dev/docs/apis
6 changes: 3 additions & 3 deletions llms.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Locanara Community SDK Quick Reference

> Locanara: On-device AI SDK for iOS/macOS and Android
> Documentation: https://locanara.com
> Full Reference: https://locanara.com/llms-full.txt
> Documentation: https://locanara.hyo.dev
> Full Reference: https://locanara.hyo.dev/llms-full.txt
> Generated: 2026-02-16T13:55:08.262Z

## Overview
Expand Down Expand Up @@ -105,5 +105,5 @@ enum LocanaraError: Error {

## Links

- Docs: https://locanara.com
- Docs: https://locanara.hyo.dev
- GitHub: https://github.com/hyodotdev/locanara
2 changes: 1 addition & 1 deletion packages/android/locanara/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ mavenPublishing {
pom {
name.set("Locanara Android SDK")
description.set("On-device AI SDK for Android using Gemini Nano")
url.set("https://locanara.com")
url.set("https://locanara.hyo.dev")

licenses {
license {
Expand Down
11 changes: 7 additions & 4 deletions packages/site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://locanara.com/" />
<meta property="og:url" content="https://locanara.hyo.dev/" />
<meta
property="og:title"
content="Locanara - On-Device AI SDK for iOS and Android"
Expand All @@ -46,7 +46,7 @@
property="og:description"
content="Privacy-first, unified on-device AI SDK for mobile developers. Build AI-powered apps without compromising user privacy."
/>
<meta property="og:image" content="https://locanara.com/og-image.png" />
<meta property="og:image" content="https://locanara.hyo.dev/og-image.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:type" content="image/png" />
Expand All @@ -55,7 +55,7 @@

<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://locanara.com/" />
<meta name="twitter:url" content="https://locanara.hyo.dev/" />
<meta
name="twitter:title"
content="Locanara - On-Device AI SDK for iOS and Android"
Expand All @@ -64,7 +64,10 @@
name="twitter:description"
content="Privacy-first, unified on-device AI SDK for mobile developers. Build AI-powered apps without compromising user privacy."
/>
<meta name="twitter:image" content="https://locanara.com/og-image.png" />
<meta
name="twitter:image"
content="https://locanara.hyo.dev/og-image.png"
/>

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down
14 changes: 7 additions & 7 deletions packages/site/public/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Locanara is a privacy-first, on-device AI SDK that enables mobile developers to
## Project Information

- **Name**: Locanara
- **Website**: https://locanara.com
- **Documentation**: https://locanara.com/docs
- **Community Forum**: https://locanara.com/community
- **Website**: https://locanara.hyo.dev
- **Documentation**: https://locanara.hyo.dev/docs
- **Community Forum**: https://locanara.hyo.dev/community
- **GitHub Repository**: https://github.com/hyodotdev/locanara
- **License**: AGPL-3.0 (free and open-source)

Expand Down Expand Up @@ -431,16 +431,16 @@ A: On iOS, Locanara supports both Apple Intelligence (Foundation Models) and dow

## Support & Community

- **Documentation**: https://locanara.com/docs
- **Community Forum**: https://locanara.com/community
- **Documentation**: https://locanara.hyo.dev/docs
- **Community Forum**: https://locanara.hyo.dev/community
- **GitHub Issues**: https://github.com/hyodotdev/locanara/issues
- **Email**: support@locanara.com

## Legal

- License: AGPL-3.0 (https://github.com/hyodotdev/locanara/blob/main/LICENSE)
- Privacy Policy: https://locanara.com/privacy-policy
- Terms of Service: https://locanara.com/terms-of-service
- Privacy Policy: https://locanara.hyo.dev/privacy-policy
- Terms of Service: https://locanara.hyo.dev/terms-of-service

---

Expand Down
6 changes: 3 additions & 3 deletions packages/site/public/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Free and open-source. No API keys, no usage limits, no per-request fees.

## Links

- Docs: https://locanara.com/docs
- Full info: https://locanara.com/llms-full.txt
- Community: https://locanara.com/community
- Docs: https://locanara.hyo.dev/docs
- Full info: https://locanara.hyo.dev/llms-full.txt
- Community: https://locanara.hyo.dev/community
- GitHub: https://github.com/hyodotdev/locanara
Loading
Loading