explaingit

nilava/tabtype

Analysis updated 2026-05-18

5SwiftAudience · generalComplexity · 2/5LicenseSetup · moderate

TLDR

A free, open source, on device AI autocomplete for macOS that shows ghost text word predictions in almost any app, without cloud or subscription.

Mindmap

mindmap
  root((TabType))
    What it does
      Ghost text predictions
      On device inference
      Context aware suggestions
    Tech stack
      Swift
      MLX
      Qwen3
    Use cases
      Faster chat replies
      Long form writing help
      Private Cotypist alternative
    Audience
      Mac users
      Privacy focused typists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Get inline ghost text word predictions while typing in chat apps, writing apps, and browsers on macOS

USE CASE 2

Speed up repetitive typing like sign offs, names, and jargon using learned phrase memory

USE CASE 3

Run a private, local alternative to Cotypist without sending any keystrokes to the cloud

What is it built with?

SwiftMLXQwen3

How does it compare?

nilava/tabtypealamofire/rdar-urlsessiontaskmetricsanywhere-music-player/codexlimits
Stars554
LanguageSwiftSwiftSwift
Last pushed2017-12-15
MaintenanceDormant
Setup difficultymoderateeasymoderate
Complexity2/51/52/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires macOS 14 or newer on Apple Silicon, the app is unnotarized alpha software so macOS Gatekeeper may warn on first launch.

Free to use, modify, and share for any purpose under the MIT license.

In plain English

TabType is a free, open source autocomplete tool for macOS that predicts what you are about to type and shows the prediction as dimmed ghost text right where you are typing, in almost any application. You press Tab to accept a word at a time, or accept the whole suggestion at once. Everything runs locally on your Mac using a small open source language model called Qwen3, so no keystrokes are sent to the cloud, no account is required, and there is no subscription. The project describes itself as an open source alternative to a paid app called Cotypist. The suggestions try to fit the context of what you are actually doing. In chat apps like Slack, WhatsApp, Telegram, and Discord, and in chat websites like Claude and ChatGPT, TabType reads the visible conversation using the operating system's accessibility features rather than screenshots, though it falls back to reading the screen when that is not available. In writing apps like Pages, Word, and Notes, it reads a window of text around your cursor plus the start of the document so long documents stay on topic. A settings screen shows exactly what context each app is allowed to see, and you can change that behavior per app. The tool also remembers recent messages and phrases you type often, like names or sign offs, so its suggestions match your own writing style over time. Privacy is a core focus: inference happens entirely on your device, the only network call is a one time download of the language model from Hugging Face, optional typing history is encrypted locally, and password fields are never read. You can choose from a curated set of small local models or load your own from Hugging Face, and on newer Macs there is an option to use Apple's own on-device Apple Intelligence engine instead. Extra features include inline shortcuts like typing a date or converting units, emoji shortcuts, and autocorrect support for several Indian languages in addition to English. The project is an early alpha built mostly in spare time by one developer with heavy use of AI coding assistance, so it is described as useful but rough around the edges, and the author is actively looking for bug reports and contributions. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me install TabType and pick a local Qwen3 model size for my Mac's RAM
Prompt 2
Explain how to change TabType's per-app context settings so it doesn't read my code editor's main pane
Prompt 3
Show me how to set up TabType's inline macros like /date and unit conversion shortcuts
Prompt 4
Walk me through the difference between TabType's accessibility tree context and its screenshot OCR fallback

Frequently asked questions

What is tabtype?

A free, open source, on device AI autocomplete for macOS that shows ghost text word predictions in almost any app, without cloud or subscription.

What language is tabtype written in?

Mainly Swift. The stack also includes Swift, MLX, Qwen3.

What license does tabtype use?

Free to use, modify, and share for any purpose under the MIT license.

How hard is tabtype to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tabtype for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.