跳到正文
GitHub·· 7 天前AI 评分36

Piper 离线神经语音合成应用上架 App Store

IhorShevchuk/piper-app

AI 导读

Piper 现已上架 App Store,可在设备本地直接运行高质量离线神经文本转语音。该应用要求 iOS 18.0+ 或 macOS 13.3+,使用 Xcode 26+ 构建,采用 Tuist 与 Swift Package Manager 管理依赖,并提供 TestFlight Beta 供提前体验新功能。项目以 MIT 许可开源,捆绑资源遵循 GPL-3.0。

正文


Piper is now available on the App Store! 🎉
Experience high-quality offline neural text-to-speech directly on your device.

Want to try the latest features early?
Join the TestFlight Beta 🚀

Build

📥 Cloning & Building Piper

System Requirements

  • iOS 18.0+
  • macOS 13.3+
  • Xcode 26+
  • mise

Getting the Sources

git clone https://github.com/IhorShevchuk/piper-app.git
cd piper-app

Install Toolchain (via mise)

Piper uses mise to manage development tools.

Install mise

curl https://mise.run | sh

Then install tools:

mise install

This installs:

  • Tuist
  • SwiftLint

Generate the Xcode Project

Piper uses Tuist with Swift Package Manager for dependencies. First resolve SPM dependencies, then generate the workspace:

mise run install
mise run generate

Open the generated Piper.xcworkspace in Xcode.

open Piper.xcworkspace

Note: Run mise run install whenever Package.swift or dependencies change. Otherwise mise run generate alone is sufficient.

Available Mise Tasks

Task Description
mise run install Resolve SPM dependencies (Package.swift)
mise run generate Generate Xcode project
mise run build <number> [simulator|device] Build from command line (for CI)
mise run lint [--fix] Run SwiftLint

📱 Running the App

Simulator

  1. Open the generated workspace
  2. Select an iOS Simulator
  3. Build & Run Piper

Physical Device

  1. Open the generated workspace
  2. Select your device
  3. Configure code signing for:
    • Piper
    • PiperTTS

Project Structure

  • PiperApp – Main iOS/macOS app
  • PiperTTS – Audio Unit extension
  • PiperAppUtils – Shared utilities, model management, constants
  • PiperTests – Unit tests for PiperAppUtils
  • Screenshots – UI tests for App Store screenshots

License

MIT – see LICENSE-MIT, GPL-3.0 for bundled resources

来源:GitHub · github.com