GithubHelp home page GithubHelp logo

ocaml-pirates / fugit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drup/fugit

0.0 1.0 0.0 38 KB

A small CLI to launch notifications at a given time

License: ISC License

Makefile 2.11% OCaml 97.89%

fugit's Introduction

Fugit

A small CLI to launch notifications at a given time

% fugit tea in 3min30s # The optimal brewing time for tea
Alert will trigger in 3 minutes.

% fugit "look at the oven" 1.5h # Remind you to look at the oven
Alert will trigger in 1 hour and 30 minutes.

It has a mildly clever parser that understands durations in english-ish. You can also feed it ISO8601 if you are Totally A Human. Long (>1h) timers will persist (and properly notify you on wakeup/boot/etc).

It can also record commands that you launch often:

% fugit record tea 3.5m # Record a tea alert

% fugit list
tea:
  message: tea
  duration: 3 minutes and 30 seconds

% fugit show tea
message: tea
duration: 3 minutes and 30 seconds

% fugit tea
Alert will trigger in 3 minutes and 30 seconds.

It has a nice editable configuration file under $HOME/.config/fugit/config.

Compatibility

It might work under my linux setup. It probably doesn't work anywhere else. It uses notify-send and either sleep (for short durations) or systemd (for long durations). Additional notification and/or delay implementations are welcome.

fugit's People

Contributors

drup avatar mreppen avatar

Watchers

 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.