Skip to content

LeoBlackCat/LocalVoice

Repository files navigation

LocalVoice

An iOS app for local AI chat and text-to-speech using Apple Intelligence and llama.cpp.

Requirements

  • Xcode 26.0+
  • iOS 26.0+
  • macOS 14.0+ (for building)
  • CMake 3.28+ (brew install cmake)

Setup

1. Clone with submodules

git clone --recursive https://github.com/LeoBlackCat/LocalVoice.git
cd LocalVoice

Or if already cloned:

git submodule update --init --recursive

2. Build llama.cpp XCFramework

cd llama.cpp
./build-xcframework.sh
cd ..

This takes 10-20 minutes and creates llama.cpp/build-apple/llama.xcframework.

3. Open in Xcode

open LocalVoice.xcodeproj

Select your development team and build.

Features

  • AI Chat - Powered by Apple Intelligence (iOS 26+) or local llama.cpp models
  • Text-to-Speech - Apple TTS with enhanced voice selection
  • Document RAG - Chat with your documents (iOS 26+)

Architecture

  • LocalAI/ - Main app source code
  • llama.cpp/ - Local LLM inference engine (submodule)
  • espeak-ng.xcframework/ - Phonemizer for text processing

About

iOS App: Apple Intelligence, llama.cpp, text-to-speech and speech-to-text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages