termStopWatch

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

README

Contributors Forks Stargazers Issues GPL License


Logo

An incredible, elegant multi-font ASCII art CLI stopwatch

State-of-the-art terminal chrono-measurement boii. It starts. It stops. It's got all sorts of tricks.

· Report Bug · Request Feature

Demo

Logo

"Why settle for an average, humdrum, run-of-the-mill stopwatch when you can dazzle your retinas with a text-based spectacle like no other?"    – Steve Jobs

termstopwatch is not just a stopwatch; it's an experience. Written in Go, this terminal app manifests the future of time-keeping through the cutting-edge technology of ASCII art. Yes, we went there.

Features so magical, they'll turn you into a newt:

  • Stopwatch Reimagined
    • Behold the sheer elegance of elapsed time ticking away — in beautifully hand-crafted ASCII art.

  • Fonts Galore
    • Tired of regular old LCD displays? Choose from an overwhelming array of fonts stored in our luxury fonts/ directory, in which you can also put your own figlet font files. It's basically like changing the drapes in a mansion.

  • Keyboard Shortcuts
    • With hotkeys so intuitive, you'd think they were telepathic. Pause, reset, toggle milliseconds like you're typing Shakespeare.

  • Help Text
    • For the unlikely event that a modern-day Einstein like yourself needs it. Toggle on and off for those "just in case I forget I'm a genius" moments.

Getting Started

It almost couldn't be easier, my friend.

Precompiled binaries

Download one of the binary packages from Releases

(Supported platforms: Linux, macOS, Windows, Android, FreeBSD, OpenBSD, NetBSD, Plan9, AIX, Dragonfly, Solaris, Illumos, JS WASM)

Build from source

So you wanna hack at it, you little hacker you? Do it!

Prerequisites

You'll ned go to compile termstopwatch, so

  • Install Go
Installation

When you have go, you can install termstopwatch like so:

go install https://github.com/n0kovo/termstopwatch@latest

Usage

When termstopwatch is running, you can use these carefully selected keys to change the behavior:

  • (SPACE) - Start/Stop the timer
  • (M) - Toggle displaying of milliseconds
  • (R) - Reset to 00:00:00.000
  • (H) - Hide help text
  • (ESC) or Ctrl-c - Exit :(

You can also run it with these command line flags, which you probably will, since you're an advanced user:

Usage of ./termstopwatch:
  -d, --debug         Show debug text.
  -f, --font string   Font to use. Must be in fonts/ directory. (default "Georgia11")
  -q, --hide-help     Hide help text.
  -n, --noms          Hide milliseconds.
  -p, --pause         Start paused.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

I know it's hard to imagine, but if you have a suggestion that would improve termstopwatch, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GNU GPL 3 License. See LICENSE for more information.

Contact

n0kovo - Mastodon

Project Link: https://github.com/n0kovo/termstopwatch

Acknowledgments

(back to top)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL