Giter Club home page Giter Club logo

7clock's Introduction

Seven-segment clock (7clock)

7clock.3.mp4

This is a clock for terminals that uses the Unicode seven-segment display characters added in Unicode 13.0. It runs on most commonly used operating systems, including BSD, Linux, macOS, and Windows.

You need to have a font installed that has glyphs for the seven-segment display characters. I use PragmataPro. Another option is Iosevka.

Note: It doesn't actually cycle through colours when it's running, that was just for demonstration in the video.

Building

Build Status

Ensure you have installed the Rust compiler, then:

cargo build --release --locked

Running

After building the binary will be at target/release/7clock.

Run the binary to get the default 12-hour clock without seconds. The following options are supported:

  • -24 — use 24-hour time
  • --colour — set the colour of the clock (see --help for more info)
  • --seconds — display seconds

Credits

  • This clock is partially inspired by clock-tui

Licence

This project is dual licenced under either of:

at your option.

7clock's People

Contributors

wezm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.