Giter VIP home page Giter VIP logo

impulse's Introduction

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.

impulse's People

Contributors

dependabot[bot] avatar shekohex avatar wezm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wezm

impulse's Issues

Better Website design

The current website seems .. not good, there is no CSS, I didn't give it to much while I develop this tool.
So we need a good and simple website.

Safari compatibility

I think this project looks really useful, but my primary browser is Safari and the netlify site doesn't seem to prompt for notifications permissions with Safari. It looks from OneSignal's documentation like Safari compatibility requires a little additional setup. I realise this special case is Apple's fault not yours, but would it be possible to implement this?

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.