A terminal-based digital clock that synchronizes with Network Time Protocol (NTP) servers to display pretty accurate UTC time.
- Real-time clock display in terminal window
- NTP synchronization for accurate timekeeping
- Status bar with connection and synchronization information
- Low CPU usage design
- C compiler (gcc/clang recommended)
- POSIX-compliant system (Linux, macOS, BSD)
- ncurses library for terminal display
- NTP client libraries
- Internet connection for time synchronization
-
Clone the repository:
git clone https://github.com/cpknight/ntp-clock.git cd ntp-clock
-
Build the application:
make
Run the clock with default settings:
./ntp-clock
Use Ctrl-C
to quit the application while running.
This project is licensed under the MIT License - see the LICENSE file for details.