Overview
A Swift package for connecting to Omi devices. It transcribes locally with Whisper, so no cloud API is required.Swift Package
Native iOS/macOS support
Local Transcription
Whisper runs on-device
Simple API
Connect with a few calls
Installation
1
Create a New Project
Open Xcode → File → New Project → iOS → App
Select Storyboard as the Interface option.
2
Add the Swift Package
- Navigate to File → Swift Packages → Add Package Dependency…
- Select your project
- Paste the repository URL:
https://github.com/BasedHardware/omi - Click Next
3
Add Bluetooth Permission
Go to Targets → Your Project → Info and add this permission:
Quick start
Get live transcription running:1
Copy This Code
Replace your
ViewController.swift with:2
Build and Run
- Select your development team
- Connect your iPhone via cable (simulators don’t support Bluetooth)
- Run the project
3
Test It
- Turn on your Omi device
- The app should connect automatically
- Speak. You’ll see transcription in the Xcode console
There’s no UI in this example. Transcription appears in the Xcode logs.
API Reference
TheOmiManager class provides all device interaction methods:
Device Scanning
Connection Management
Live Data
- Live Transcription
- Live Audio
OmiManager Methods
Streaming STT (Deepgram)
Transcribe streaming audio with customizable Deepgram model and language options:License
MIT License. Omi’s Swift SDK is open source.Related
SDK Overview
Compare all available SDKs
GitHub Source
View source code and contribute