Carry a small light. Everything else can wait in the dark.
A tiny macOS menu-bar app that softly dims your whole screen —
except the line you are reading.
A screen full of text can be exhausting. Paragraphs, sidebars, menus, notifications — everything competes for your eyes at once.
Many people read much more comfortably one line at a time. Lantern makes that possible on the whole Mac:
- 🌗 Everything is gently darkened.
- 🏮 Only a soft light stays where you are reading.
- 🫧 The light moves calmly with you — no flicker, no harsh edges.
Lantern is for anyone who finds dense screens overwhelming, gets tired from reading on a display, or just wants to focus on one line.
Finds where you are reading
- 🖱️ Follows the mouse pointer. Move it along like a finger under a line.
- 🧲 Snaps to real text lines. The light fits itself around the actual line of text.
- ⌨️ Follows your typing. While you write, the light stays on your text cursor.
- 📏 Reading ruler. Freeze the light and step line by line with the keyboard.
Gentle on the eyes
- Soft, feathered edges and calm, smoothed motion
- Fades in and out — it never flashes
- Six shade colours: black, graphite, warm amber, sepia, night blue, forest
- Optional blur outside the light (experimental)
- Optional guide line under the current line
Helpful extras
- 🔊 Reads the current line aloud, with on-device speech
- 🖥️ Works on every display; other displays can be fully dimmed
- 📋 Menus always stay bright, so you can always reach Turn Off
- 🚀 Can launch at login
Switch shapes any time with ⌃⌥S.
There is no download yet. You build Lantern yourself — it takes about a minute.
You need: macOS 14 Sonoma or newer, and Xcode 16 or newer (free in the App Store).
git clone https://github.com/nordavid/lantern.git
cd lantern
make installThen open Lantern from your Applications folder (in your home folder).
A small icon appears in the menu bar: three short lines, the middle one bold.
On first launch, Lantern asks for Accessibility access (System Settings → Privacy & Security → Accessibility).
- Without it, Lantern follows the mouse pointer.
- With it, Lantern can also snap to text lines and follow your typing.
Tip
If you have an Apple Development certificate, the build uses it automatically. Otherwise the app is signed "ad hoc", and macOS may forget the permission after each rebuild. If snapping stops working, remove Lantern from the Accessibility list and add it again.
| How | |
|---|---|
| Finger under the line | Move the mouse slowly down the text. With Snap to Text Lines on, the light steps calmly from line to line. |
| Reading ruler | Press ⌃⌥F to freeze the light, then ⌃⌥↓ for the next line. Hands off the mouse. |
| Teleprompter | Freeze the light in the middle of the screen and scroll the text through it. |
| Writing | In Automatic mode the light jumps to your text cursor as soon as you type. |
| Listening | Press ⌃⌥R to hear the current line. |
| Shortcut | Action |
|---|---|
| ⌃⌥L | Lantern on / off |
| ⌃⌥F | Freeze / unfreeze the light |
| ⌃⌥↓ ⌃⌥↑ | One line down / up |
| ⌃⌥S | Next shape |
| ⌃⌥] ⌃⌥[ | Stronger / weaker shade |
| ⌃⌥= ⌃⌥- | Taller / shorter light |
| ⌃⌥R | Read the line aloud |
⌃ is Control, ⌥ is Option.
On keyboards without a direct ], [, = or - key, the shortcut uses the key in the US position.
If another app already uses a shortcut, Lantern lists it in Settings → Shortcuts.
Click the Lantern icon in the menu bar → Settings…
| Section | What you can change |
|---|---|
| Light | Shape, height, spotlight size, edge softness, corner roundness |
| Shade | Strength, colour, blur outside the light |
| Focus | Follow mouse / text cursor / both, snap to lines, steady band, calm ↔ snappy motion |
| Screen | Keep the menu bar bright, dim other displays, guide line |
| Read Aloud | Speaking speed |
Changes apply live, so you can watch the screen while you adjust.
Snapping uses the macOS accessibility information that apps provide, so it depends on the app.
| Works well | Usually works | Falls back to the pointer |
|---|---|---|
| Native apps: TextEdit, Notes, Mail, Pages, Xcode | Safari and other WebKit apps, Chrome, Edge, Electron apps (VS Code, Slack, Obsidian) | Apps that draw their own text: Google Docs, Figma, games, some terminals |
Lantern always keeps working: where it can't find a line, it follows the pointer.
- No network access. Lantern contains no networking code at all.
- Nothing is stored or sent. The line position and text are used in memory for that moment only.
- Read-aloud is on-device (Apple's built-in speech).
- Password fields are never read aloud.
make build # debug build (swift build)
make app # release build → build/Lantern.app
make run # build and open the app
make install # copy to ~/Applications
make icon # redraw the app icon
make clean # remove build productsA Swift package with AppKit and SwiftUI. No dependencies.
Sources/Lantern/
├─ Core/ Settings, shared types, coordinate helpers
├─ Focus/ where the light goes: pointer, text lines, text cursor, reading ruler
├─ Overlay/ the shade: one click-through window per display, GPU-composited layers
└─ App/ menu bar, settings & welcome windows, shortcuts, read aloud
More detail: docs/ARCHITECTURE.md · Ideas: docs/BRAINSTORM.md
- Per-app profiles (on for reading, off for video)
- A magnifier strip that shows the current line larger
- A reader mode: one line or one word at a time in a calm window
- Custom shortcuts and schedules
- Gaze tracking with the camera, to pick the column or display
Ideas, bug reports and pull requests are very welcome.
Feedback from people who use Lantern every day is the most valuable: what helps, what still strains, and which apps don't snap well.
Lantern is a comfort and focus tool. It is not a medical device and does not diagnose or treat any condition. If reading on screens causes you discomfort, please also talk to an eye-care professional.
MIT — free to use, change and share.
Made with care for tired eyes. 🏮