An open API service indexing awesome lists of open source software.

https://github.com/xvvcs/wdym

Wdym is a lightweight macOS app that instantly turns your messy speech-to-text into sharp, AI-ready prompts with a single shortcut. Works with any app - Claude Code, Cursor, OpenCode. You name it.
https://github.com/xvvcs/wdym

ai-tool open-source prompt-engineering prompt-optimization prompt-tuning

Last synced: 3 months ago
JSON representation

Wdym is a lightweight macOS app that instantly turns your messy speech-to-text into sharp, AI-ready prompts with a single shortcut. Works with any app - Claude Code, Cursor, OpenCode. You name it.

Awesome Lists containing this project

README

          


image

wdym

What do you mean? โ€” Turn rough dictation and messy text into sharp, AI-ready prompts in an instant

[![macOS 14+](https://img.shields.io/badge/macOS-14%2B-black?logo=apple&logoColor=white)](https://github.com/xvvcs/wdym/releases)
[![Swift](https://img.shields.io/badge/Swift-6.0-f05138?logo=swift&logoColor=white)](https://swift.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Releases](https://img.shields.io/github/v/release/xvvcs/wdym?label=latest)](https://github.com/xvvcs/wdym/releases)

---

## What is wdym?

**wdym** is a lightweight macOS menu bar app for people who think faster than they type or dictate.

Press a global shortcut from **any app**, and wdym instantly captures whatever is in your focused text field, cleans it up, and replaces it with a clear, structured prompt โ€” ready for your AI coding assistant, chat tool, or search bar.

No window switching. No copy-paste loops. Just better prompts, instantly.

---

## Screenshots / Demo

> ๐Ÿ“ธ _Screenshots and a short demo video will be added here once the first public release is available._
>
>
>
> | Menu Bar | Options Panel | Fast prompt styles switches |
> |----------|---------------|-----------------------------|
> | image | image | image |

---

## Highlights

| Feature | Details |
|---------|---------|
| ๐Ÿ–ฅ๏ธ **Menu bar first** | Lives quietly in your menu bar โ€” no Dock icon, no windows in the way |
| โŒจ๏ธ **Global shortcut** | Trigger from any app with a fully customisable key combination |
| โœ๏ธ **Smart cleanup** | Removes filler words, fixes punctuation, and structures your intent |
| ๐Ÿค– **AI refinement** | Optional Groq integration for fast, high-quality LLM polish |
| ๐ŸŽจ **Prompt styles** | General, Coding, Writing, Search, Research, Best Practices |
| ๐Ÿ” **Style switch HUD** | Cycle prompt styles from a dedicated shortcut with an on-screen visual picker |
| ๐Ÿ“‹ **Flexible output** | Replace in-field, copy to clipboard, or both โ€” your choice |
| ๐Ÿฑ **Terminal-aware** | First-class Kitty/OpenCode support via remote control integration |
| ๐Ÿ”’ **Privacy first** | No history, no analytics โ€” keys in Keychain, prefs in UserDefaults |

---

## Installation

### Download (recommended)

**Latest release:** [**can be checked here**](https://github.com/xvvcs/wdym/releases/latest)

1. Grab the latest from the [**Releases page**](https://github.com/xvvcs/wdym/releases):
- `wdym_installer.dmg` โ€” drag-and-drop installer
- `wdym_installer.zip` โ€” manual fallback
2. Move `wdym.app` to `/Applications`.
3. In the dialog that appears, click Open again.

If macOS still blocks it:

1. Open System Settings โ†’ Privacy & Security.

2. Scroll down to โ€œโ€Ž`wdym.app` was blocked from useโ€ฆโ€ and click Open Anyway.

> **Note:** Free releases are unsigned. macOS may block first launch.
>
> - Right-click `wdym.app` โ†’ **Open**, or
> - **System Settings โ†’ Privacy & Security โ†’ Open Anyway**
>
> Terminal fallback:
> ```bash
> cp -R "/Volumes/wdym/wdym.app" /Applications/
> xattr -dr com.apple.quarantine /Applications/wdym.app
> open /Applications/wdym.app
> ```

### Build from source

Requirements: Xcode 16+, macOS 14+

```bash
git clone https://github.com/xvvcs/wdym.git
cd wdym
open PromptRefactorApp/PromptRefactorApp.xcodeproj
```

Build and run the `PromptRefactorApp` scheme on your local Mac.

---

## Quick Start

1. **Launch** `wdym` โ€” a menu bar icon appears.
2. Open **Options** and grant **Accessibility** permission when prompted.
3. Choose your **output mode**, **prompt style**, and **shortcut**.
4. Place your cursor in any text field (or select text) in any app.
5. Press your shortcut โ€” wdym refines the text and applies the output.

---

## Configuration

All settings live in the **Options** panel in the menu bar.

| Setting | Options |
|---------|---------|
| **Output mode** | Replace + Copy ยท Replace only ยท Copy only |
| **Prompt style** | General ยท Coding ยท Writing ยท Search ยท Research ยท Best Practices |
| **Style switch shortcut** | Dedicated global shortcut for cycling prompt styles with a transient HUD |
| **Shortcut** | Choose a preset or record your own key combination |
| **AI refinement** | Enable Groq and enter your API key for LLM-powered polish |
| **Groq model** | Speed-first default (`llama-3.1-8b-instant`), configurable |
| **Auto-select** | Automatically select all text in focused field before capture |

API keys are stored securely in **macOS Keychain**. All other preferences are stored in **UserDefaults** and never leave your machine.

---

## Kitty / OpenCode Integration

For deterministic text capture inside Kitty terminal (e.g. with OpenCode), enable Remote Control:

1. Add to your Kitty config (`~/.config/kitty/kitty.conf`):

```text
allow_remote_control socket-only
listen_on unix:/tmp/prompt-refactor-kitty
```

2. Restart Kitty.
3. In wdym **Options**, set the Kitty socket address to match (e.g. `unix:/tmp/prompt-refactor-kitty`).
4. Use **Run Kitty Check** in Options to verify the connection.

wdym will now read the focused prompt field directly via Kitty RC and write back via paste โ€” no clipboard interference.

---

## Privacy

wdym is designed to stay out of your way and out of your data.

- โŒ No prompt history stored
- โŒ No analytics or telemetry
- โœ… Prompt text handled in memory, discarded after processing
- โœ… Local-only processing when Groq is disabled
- โœ… When Groq is enabled, only the current prompt text is sent over HTTPS
- โœ… API keys stored in macOS Keychain; preferences stored in UserDefaults

---

## Contributing

Contributions are welcome! Here's how to get started:

```bash
# Run core package tests
swift test

# Run app tests
xcodebuild \
-project "PromptRefactorApp/PromptRefactorApp.xcodeproj" \
-scheme "PromptRefactorApp" \
-destination "platform=macOS" \
-only-testing:PromptRefactorAppTests \
test
```

The release workflow is [`.github/workflows/release-and-publish.yml`](.github/workflows/release-and-publish.yml).

---

## License

[MIT](LICENSE) ยฉ 2026 Prompt Refactor contributors