# Show HN: Glossbeam – Highlight text on your Mac to see an explanation beside it

> Source: <https://github.com/YasserShkeir/glossbeam-open>
> Published: 2026-11-27 20:34:54+00:00

**Key takeaway:** Glossbeam's open edition builds from source with XcodeGen 2.46.0 and Xcode 27.0 (27A266a), routes selected text directly to a user-supplied Anthropic or OpenAI key or ChatGPT plan with no intermediary server, and stores history locally.

A Mac app that explains whatever you are reading. Select text in any app and the explanation opens right beside it. No copying, no pasting, no second tab.

This is the open edition: the whole Mac app, with nothing locked. You bring your own model.

**Don't want to build it?** The official app downloads ready to open, with the answers included: [glossbeam.com/download](https://www.glossbeam.com/download).

[Website](https://www.glossbeam.com) · [X](https://x.com/getglossbeam) · [Instagram](https://www.instagram.com/getglossbeam/) · [LinkedIn](https://www.linkedin.com/company/glossbeam/) · [Reddit](https://www.reddit.com/user/Glossbeam/)

Code explained step by step, with what it returns at the end.

Translate turns a selected sentence into your language.

Settings, where you choose what answers: your Anthropic key, your OpenAI key or your ChatGPT plan.

History keeps every answer on your Mac, filed under topics; the map joins the ones that share a topic.

| Choice | What you need | 
|---|---|
| Your own Anthropic API key | A key from platform.claude.com | 
| Your own OpenAI API key | A key from platform.openai.com | 
| Your ChatGPT plan | A ChatGPT plan that OpenAI lets other apps use. Choose **Continue with ChatGPT** ; answers count against your plan's usage | 

Animated explanations are drawn by Claude only. With an OpenAI choice the animation controls step aside and say so.

Your text goes straight from your Mac to the provider you chose. There is no Glossbeam server in between, and no account to make.

You need:

- a Mac on macOS 14 or later;
- Xcode. This release was built with Xcode 27.0 (27A266a); an older Xcode may not have every API it uses;
- [XcodeGen](https://github.com/yonaskolb/XcodeGen) , which makes the Xcode project from`project.yml` . This release was built with XcodeGen 2.46.0. Install it with`brew install xcodegen` , or download it from its releases page.

Then:

```
xcodegen generate
open Glossbeam.xcodeproj
```

Build and run the **Glossbeam** scheme. It appears in the menu bar.

Xcode's Run makes a **Debug** build. For a **Release** build, the kind you would keep in Applications:

```
xcodebuild -project Glossbeam.xcodeproj -scheme Glossbeam -configuration Release -derivedDataPath build
```

The app is then in `build/Build/Products/Release/Glossbeam.app`.

The first time, macOS asks for **Accessibility** permission: that is how Glossbeam reads the text you select. A build signed "to run locally" gets a new identity each time it is built, so macOS asks again after every build. To avoid that, sign with your own Apple Development identity: in `project.yml`, set `CODE_SIGN_STYLE: Automatic` and `DEVELOPMENT_TEAM` to your team, then run `xcodegen generate` again.

Open Settings from the menu bar icon and go to **Answers**. Under **Answer with**, choose one of the three. The menu offers the same three on a new Mac.

- **My Anthropic API key.** Create a key at platform.claude.com (Settings, then API keys), paste it into the box and press**Save** . Anthropic bills you for what you use.
- **My OpenAI API key.** Create a key at platform.openai.com (API keys), paste it and press**Save** . OpenAI bills you for what you use.
- **My ChatGPT plan.** Press**Continue with ChatGPT** and sign in in the browser. See below for what happens.

Glossbeam starts switched off. The first time a key is saved or the ChatGPT sign-in works, it switches itself on once and says so. After that the switch at the top of the menu is yours.

- Your browser opens OpenAI's sign-in page, at auth.openai.com.
- While you sign in, Glossbeam listens on this Mac only (127.0.0.1, one of ports 1455 to 1459) for the browser to come back, for at most five minutes. Cancel stops it.
- The first sign-in registers Glossbeam with OpenAI on that Mac, and the client ID it gets is kept in the Keychain.
- The sign-in tokens are kept in the Keychain and renewed by themselves. **Sign out** removes them from the Mac and asks OpenAI to revoke them.
- Answers count against your ChatGPT plan's usage. **Manage usage** opens ChatGPT's settings, where you can see that usage and set a limit for Glossbeam.
- This uses an OpenAI sign-in for other apps that is still in preview. Which plans can use it is OpenAI's decision; their pages have the current list.

1. Select text anywhere. The answer opens beside it.
2. Click elsewhere and the answer fades out of the way; rest the pointer on it, or press `⌃⌥B` , to bring it back.
3. Ask a follow-up in the box under the answer, or press **Simpler** ,**Animate** or**Translate** .

`⌃⌥G` answers the current selection (or what you copied), even while Glossbeam is off. `⌃⌥⇧G` turns Glossbeam on and off. `⌃⌥M` moves to the next mode, and `⌃⌥T` opens a box for telling Glossbeam what you are working on.

Here: the Mac app, in Swift and SwiftUI, in five languages (English, Arabic, French, Spanish, German).

Not here: the hosted Glossbeam plan (answers with no key of your own) and the iPhone and iPad companion. Those are the official apps, at [glossbeam.com](https://www.glossbeam.com).

```
Scripts/qa-openai-engine/run.sh
```

runs the checks for the OpenAI engine and the ChatGPT sign-in. They need no key, no network and no browser. The workflow in `.github/workflows/build.yml` runs them and builds both configurations on every push.

What leaves your Mac, and where it goes:

- **The text you select** , sent only when you select something (or press the send key, in the modes that wait for it). With it go the chat so far, your own instructions from Settings > Answers, and the notes you gave Glossbeam with`⌃⌥T` .
- **With Memory on** (Settings > Memory): excerpts from up to three earlier selections that relate to this one, the names of the apps they came from, short summaries of their answers, and the names of your topics. Turn Memory off and none of this is added.
- **File older answers** (Settings > Memory, or History) sends excerpts and answer summaries from up to 30 earlier answers per request, so they can be given topics.
- It all goes only to the provider you chose: `api.anthropic.com` , or`api.openai.com` . The ChatGPT sign-in also talks to`auth.openai.com` .`chatgpt.com` and`glossbeam.com` are opened only when you press a link to them.

What stays on your Mac:

- Keys and sign-in tokens, in your Mac's Keychain.
- History, in `~/Library/Application Support/Glossbeam Open/cards.json` . It is not encrypted beyond what your Mac's own disk encryption does. Clear history in Settings > Memory deletes it.
- Password fields are never read, and the apps listed under Settings > Reading > Never read in are skipped.

"Glossbeam" and its icon belong to the Glossbeam project. If you publish a changed version, give it another name and icon, and change `PRODUCT_BUNDLE_IDENTIFIER` in `project.yml` so it doesn't collide with this one.

News, new versions and short films of it in use:

- Website: [glossbeam.com](https://www.glossbeam.com)
- X: [@getglossbeam](https://x.com/getglossbeam)
- Instagram: [@getglossbeam](https://www.instagram.com/getglossbeam/)
- LinkedIn: [Glossbeam](https://www.linkedin.com/company/glossbeam/)
- Reddit: [u/Glossbeam](https://www.reddit.com/user/Glossbeam/)

Questions: [support@glossbeam.com](mailto:support@glossbeam.com)

See [CONTRIBUTING.md](https://github.com/YasserShkeir/glossbeam-open/blob/main/CONTRIBUTING.md) for how changes are taken, and [SECURITY.md](https://github.com/YasserShkeir/glossbeam-open/blob/main/SECURITY.md) to report a problem privately.

See [LICENSE](https://github.com/YasserShkeir/glossbeam-open/blob/main/LICENSE).
