Time Narrator
Time Narrator is a background service for the Sway window manager that periodically tells you the time and summarizes your recent activity. It's a tool designed to foster time awareness and mindful computing without interrupting your workflow.
The Benefit of Audible Feedback
In the age of deep work and digital immersion, it's easy to lose track of time. You might sit down to work on a small task, only to find that hours have passed by unnoticed. Time Narrator aims to solve this by providing gentle, ambient, and audible feedback.
- Maintain Time Awareness: By narrating the time at semi-random intervals, the tool helps you build a better internal clock. This can improve time management and prevent you from spending unintended amounts of time on a single task.
- Promote Mindful Computing: The activity summary encourages a moment of reflection. Hearing "In the past 20 minutes, you were working on Project X" reinforces that you're on track, while hearing "you weren't at your computer" can be a useful reminder of your breaks. It provides a low-friction form of accountability.
- Reduce Distractions: Unlike visual notifications, audible alerts don't require you to shift your visual focus. You can continue typing, reading, or designing while the narrator speaks, keeping you in your flow state.
Prerequisites
Before installing, you need to have the following installed on your system:
- Sway and
swayidle: The tool is built specifically for the Sway environment. - TTS Engine:
espeak-ngorpiperor other.. You pick the comand.
Installation
uvx time-narrator
Configuration
uv run time-narrator --write-default-config
This will create a new file at ~/.config/time-narrator/config.toml.
Options
tts_command: The shell command used to speak text. The script pipes the narration text to this command's standard input.- Example #1:
tts_command = "espeak-ng" - Example #2 (higher quality):
tts_command = "piper --model /path/to/en_US-lessac-medium.onnx --output-file - | pw-play"
- Example #1:
base_interval_sec: The base interval for reminders, in seconds. (Default:600, i.e., 10 minutes).random_window_sec: A window to add or subtract from the base interval, in seconds. (Default:300, i.e., +/- 5 minutes). This means reminders will occur every 5 to 15 minutes.idle_threshold_sec: The number of seconds of inactivity before you are considered "idle". (Default:60).
Usage
Launching from sway config
exec time-narrator
Metadata
Release files for time-narrator 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| time_narrator-0.2.0.tar.gz | 45.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| time_narrator-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.2 kB
Release files / time_narrator-0.2.0.tar.gz
| Download URL | time_narrator-0.2.0.tar.gz |
|---|---|
| Size | 45.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a1e50399e75705d630ba2a94d7a5693aa1e3bca426e40eaba29deca19f12670
|
|
BLAKE2b-256 checksum How to use checksums |
79f5300a23cf8f5ff47badd0eb34b852f9b5488fafc4187854fb1f8a5e120335
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / time_narrator-0.2.0-py3-none-any.whl
| Download URL | time_narrator-0.2.0-py3-none-any.whl |
|---|---|
| Size | 34.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28b3829c354aa0891af63055b7d60bc3361023e9eb7f03d8cf042e4d074cfefa
|
|
BLAKE2b-256 checksum How to use checksums |
ba42a34b2d2ef4e4a395ae5733730f6d17d9f3f3c5361133aef7cec06c0261d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for time-narrator 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.