Ghost Text

An inline AI predictive text suggestion tool

Backend + AI
Ghost Text screenshot

Overview

An inline AI predictive text generation tool designed to keep you in the flow of typing. Uses a registered hotkey to insert the suggested word, which gets displayed in a draggable Tkinter UI. The user can choose the local AI model to suit their GPU specs.

Tech Stack

  • Python

    Python

  • Claude

    Claude

Key Decisions

1.

Hotkey Configuration

The chosen hotkeys always ended up clashing with hotkeys in various applications. Added a hotkey configurator to allow users to choose their own hotkeys.

2.

Key Suppression

To execute the hotkey, the keys must be suppressed to prevent the key from inserting. Had to carefully add the key suppression logic to prevent key blocking, which would disrupt the user's flow.