dorkhub

timer

Simple countdown terminal alarm. Useful for pomodoros too.

pando85
Rust632 forksGPL-3.0updated 3 days ago
git clone https://github.com/pando85/timer.gitpando85/timer


logo
Timer

demo

Build status Timer license

Simple count down terminal alarm.

Features

  • Parse multiple input options
  • Play sound when finished (Beep included!)
  • Send terminal bell
  • Big centered output
  • Repeat countdown infinitely

Installation

Cargo

cargo install timer-cli

Arch Linux

yay -S timer-rs

or the binary from AUR:

yay -S timer-rs-bin

Binaries

Binaries are made available each release for the Linux and MacOS operating systems.

You can download a prebuilt binary from our Releases.

curl -s https://api.github.com/repos/pando85/timer/releases/latest \
  | grep browser_download_url \
  | grep -v sha256 \
  | grep $(uname -m) \
  | grep linux \
  | cut -d '"' -f 4 \
  | xargs curl -L \
  | tar xvz
sudo mv timer /usr/local/bin

Beep

If you want to enable beep from your built-in case speaker you will need to run one of these kernel modules: pcspkr (recommended) or snd-pcsp.

In addition, to use beep as normal user read the PERMISSIONS.md file.

Terminal bell

If executed with -t, --terminal-bell option it will send a bell character. Same as:

echo -e '\a'

This is useful for visual bell. Remember that you have to enable it in your terminal configuration. Usage example:

timer -t -s 11:00

more like this

anne-key

Firmware for Anne Pro Keyboard written in Rust

Rust572

TachiSnap

TachiSnap — Pixel Snapper for animation pixel artists. Rust + WebAssembly client-side tool for cleaning up AI-generated…

HTML50

meine

meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…

Python50

bit_gossip

Pathfinding library for calculating all node pairs' shortest paths in an unweighted undirected graph.

Rust50

search

search projects, people, and tags