Skip to content

๐ŸŽ‡ send a push notification when your long build command finish

License

Notifications You must be signed in to change notification settings

shekohex/impulse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Impulse ๐Ÿ””

A CLI Tool to Send a Push Notifications when a command completes.

About

Example:

$ impulse 'cargo build'

Install

  1. Github Releases

  2. Or if you want to build it localy

$ git clone https://github.com/shekohex/impulse.git
$ cd impulse
$ cargo install

Usage

  1. Goto Impulse Website and enable push notifications (the small red bell in the bottom right corner).
  2. Copy your UserID and set IMPULSE_USER_IDS env to the UserID value.
Usage: impulse <cmd> [--uids <uids>] [-s <success-message>] [-e <error-message>]

Send push notification when your long build command finish

Options:
  --uids            override the UserIDs that we will send notification to.
                    normally this will be stored in `IMPULSE_USER_IDS` env. UIDs
                    is separated by `,`.
  -s, --success-message
                    set the success message. default to: Build exit successfully
  -e, --error-message
                    set the error message. default to: Build errored
  --help            display usage information

FAQ

  1. How do I support more than device (like my other laptop or mobile)?
  • the IMPULSE_USER_IDS env accept more than one UID. just seprate them by a ,.
  1. How do I ..?
  • Open an issue :)

Contributing

Want to join us? Check out our "Contributing" guide and take a look at some of these issues:

Safety

This crate uses #![deny(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.

License

Licensed under MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the MIT license, without any additional terms or conditions.