clock-rs is a modern digital clock for the terminal. It is designed as an alternative to tty-clock, adding extensive configuration together with timer and stopwatch functionality. Settings can be stored in a TOML configuration file while individual values can be overridden from the command line. The clock supports major desktop operating systems and adapts well to both permanent terminal displays and occasional use.
This is free and open source software.
Key Features
- Displays a large digital clock directly in the terminal.
- Provides dedicated clock, timer, and stopwatch modes.
- Lets you pause and restart timers and the stopwatch from the keyboard.
- Supports configurable clock colours, including standard, bright, and hexadecimal colours.
- Lets you position the clock at the start, centre, or end of the horizontal and vertical axes.
- Supports both 12-hour and 24-hour time formats.
- Can display UTC instead of local time.
- Lets you hide seconds from the clock.
- Supports a blinking colon and bold text.
- Offers custom date formatting using Chrono format strings.
- Stores persistent settings in a TOML configuration file.
- Command-line options override values stored in the configuration file.
- Lets you reload the configuration without restarting the application.
- Generates shell completion files for Bash, Zsh, Fish, PowerShell, and Elvish.
- Available through Cargo, the Arch User Repository, Nixpkgs, Homebrew, and NetBSD pkgsrc.
- Timer durations can be specified using hours, minutes, and seconds.
- Can automatically terminate when a timer finishes.
- Supports configurable display polling intervals.
Website: github.com/Oughie/clock-rs
Support:
Developer: Oughie
License: Apache License 2.0

clock-rs is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Terminal-Based Clocks | |
|---|---|
| sigye | Much more sophisticated than the typical tray |
| Peaclock | Customizable clock, timer, and stopwatch for the terminal |
| ClockTemp | Inspired by tty-clock that displays the time, date, temperature and more |
| tty-clock | Terminal digital clock |
| talking-clock | Highly configurable talking clock |
| shalarm | Bash script that functions like an alarm clock |
| mongoclock | Humongous clock for the terminal |
| clock-tui | Clock app in terminal which supports local clock, timer and stopwatch |
| TetroTime | Clock, timer, and stopwatch that renders time using falling tetromino shapes |
| stardial | Space-anime themed terminal clock |
| Clox | Geeky clock for terminal enthusiasts |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.