Lantern Focus

by Ash Otis
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

0
stars
90
downloads
0
forks
20
days
8
days
8
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
3
total issues
0
open issues
3
closed issues
5
commits

Latest Version

9 days ago

Changelog

Lantern Focus 1.2.0: Dot mode

Long focus sessions drift. Dot mode gives your attention a gentle reset without stopping the clock.

What's new

Dot mode. Switch on the new Dot button, to the left of 25 min. It works with any session length (25, 50 or 90). While you focus, the whole window goes blank every so often, with a single quiet dot in the middle, then fades back to your work. The timer keeps running throughout.

  • The screen uses your theme's own background, fully solid, so nothing of Obsidian shows behind it.
  • The dot uses your theme's muted text colour: light on a dark theme, dark on a light theme.
  • It appears only while you're focusing, not during breaks or pauses.
  • Click anywhere or press Escape to let it go early.

Dot settings

  • Dot appears every: 8, 16, 24, 32 or 44 minutes (default 16)
  • Dot stays for: 5, 10, 15, 20 or 30 seconds (default 10)

Show the dot screen on demand. A new command, Lantern Focus: Show the dot screen, can be given its own hotkey in Settings → Hotkeys. Press it any time you feel your attention slipping, and press it again to dismiss.

Improved

  • The sidebar holding Lantern now dims during focus along with the rest of Obsidian, but stays readable (about 45%) so the time and playback controls remain usable. Hover over it to bring it back to full strength.
  • The right sidebar now fades along with the left when "Fade the file list too" is on.

Upgrading

Settings carry over. No action needed.

README file from

Github

Lantern Focus

Focus sessions for wandering minds. One note, one block of time, and a calm screen, with your music close at hand. Made with ADHD in mind, and useful for anyone whose attention likes to drift.

Lantern Focus mid-session

How it works

  1. Open the note you're going to work on. Lantern shows it as "Focusing on" and links it in your log.
  2. Pick a length: 25, 50 or 90 minutes, each followed by a short break (5, 10 or 15 minutes).
  3. Press play. A soft chime starts the session, your music starts, and the screen goes quiet.
  4. When a stray thought turns up, park it and get straight back to work.
  5. At the end, a chime marks the break, your music pauses (unless you've chosen to keep it playing), and the session goes into your daily note. Parked thoughts sit as tasks in one list at the top of the note.

Features

  • Focus sessions: a ring timer that glows warm while you focus and cool on a break. Pause, add five minutes, or stop early (the minutes you did still count). After every few rounds you get a longer break. The next round waits until you press play, so a break never runs straight into work.
  • Now playing: shows what's playing in my other players, Static FM, Hi-Fi Tuner, Aurora MP3 and MFP Player, and, through Aurora MP3's What's playing on your computer (Windows), apps such as Spotify. You get the cover, the track, and play/pause, previous and next. Lantern plays no sound of its own except its chimes. With Music follows the session, your music starts with a focus session and pauses for the break, or turn off Pause music for breaks to keep it playing.
  • Park a thought: type it in the panel, or run Lantern Focus: Park a thought from anywhere (give it a hotkey in Settings → Hotkeys). Parked thoughts are saved as tasks in one list under Parked thoughts at the top of your daily note (change the heading in settings), out of your head and out of the way.
  • Calm screen: while you focus, the ribbon, tabs, headers, status bar and file list fade back, and themes with glowing or picture backgrounds quieten down. Only your note stands out. Hover over anything to bring it back. Everything returns on your break.
  • Daily note log: each session adds a line such as 09:00–09:50 Focused 50 min on Chapter three. You can turn this off.
  • Today's total: the minutes you've focused today, at the top of the panel.
  • Status bar: the time left. Click it to open the panel.
  • Survives a restart: close Obsidian mid-session and the session is still there when you come back.

Why these pieces

  • Steady background sound: a 2024 review of the research found steady background noise gave a small but real boost to task performance for young people with ADHD (and not for others). Static FM makes that noise, and Now playing keeps it one click away.
  • Short, timed blocks with real breaks: these make starting and stopping easier, which is often the hard part.
  • Writing a thought down: this lets you let go of it without losing it.
  • A quieter screen: this means fewer things competing for your attention.

None of this is treatment. It's a set of small helpers that you can switch off.

Commands

Open, Start, pause or resume, Stop the session, Five more minutes, Park a thought and Calm screen on or off.

Privacy

Lantern Focus makes no network requests, runs no programs and collects nothing. It writes only to today's daily note (when logging is on) and to its own data.json.

Building from source

There are no dependencies. Run python3 build.py to write main.js, styles.css and manifest.json to dist/.

Support

If it helps, you can buy me a coffee. Questions or problems: open an issue, or email [email protected].

License

GNU AGPL v3 or later © AshOtis