Skip to content

Simple console text mode NTP clock display

License

Notifications You must be signed in to change notification settings

cpknight/ntp-clock

Repository files navigation

🖥️ Terminal NTP Clock

A terminal-based digital clock that synchronizes with Network Time Protocol (NTP) servers to display pretty accurate UTC time.

NTP Clock Screenshot

Features

  • Real-time clock display in terminal window
  • NTP synchronization for accurate timekeeping
  • Status bar with connection and synchronization information
  • Low CPU usage design

Requirements

  • C compiler (gcc/clang recommended)
  • POSIX-compliant system (Linux, macOS, BSD)
  • ncurses library for terminal display
  • NTP client libraries
  • Internet connection for time synchronization

Installation

  1. Clone the repository:

    git clone https://github.com/cpknight/ntp-clock.git
    cd ntp-clock
    
  2. Build the application:

    make
    

Usage

Run the clock with default settings:

./ntp-clock

Use Ctrl-C to quit the application while running.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Simple console text mode NTP clock display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published