Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Opentypist macOS Swift Apple Silicon

Real-time local AI ghost-text autocomplete for macOS. Suggestions appear inline as you type, across any app, powered entirely on-device.

Features

  • Ghost-text suggestions rendered as a floating overlay anchored to your cursor
  • On-device inference via Apple MLX
  • Ollama fallback over localhost:11434 when MLX is unavailable
  • Sub-150ms latency through debouncing and in-flight cancellation
  • Per-app blacklist — suppresses suggestions in terminals and IDEs
  • Menu bar tray — lightweight, no Dock icon

Requirements

  • macOS 14+
  • Apple Silicon (M1 or later)
  • Xcode 15+
  • Accessibility permission (granted on first launch)
  • Ollama installed (optional, for fallback inference)

Installation

For Users

Download the lastest .dmg installer from releases. Open the .dmg file and drag Opentypist into the Applications folder shortcut.

For Developers

git clone https://github.com/tahashafiei/Opentypist.git
cd Opentypist
open Opentypist/Opentypist.xcodeproj

Build and run via Xcode (⌘R). On first launch, grant Accessibility permission when prompted.

Usage

  1. Launch Opentypist. It will appear in the menu bar
  2. Start typing anywhere; ghost-text suggestions appear after a brief pause
  3. Press Tab or ` to accept a suggestion
  4. Press Escape to dismiss

Building & Testing

Build

xcodebuild -project Opentypist/Opentypist.xcodeproj -scheme Opentypist build

Unit tests

xcodebuild -project Opentypist/Opentypist.xcodeproj -scheme OpentypistTests test

UI tests

xcodebuild -project Opentypist/Opentypist.xcodeproj -scheme OpentypistUITests test

Wiki

See our Wiki for full documentation for both users and developers.

Privacy

All inference runs locally on your device. No keystrokes, text, or suggestions are transmitted anywhere.