Git Product home page Git Product logo

nfa's Introduction

nfa

A Go command line app to send notifications to Notifications for Android TV / Notifications for Fire TV

Instructions

  1. go get github.com/robbiet480/nfa
  2. $GOPATH/bin/nfa

Usage

Sends a notification to Notifications for Android TV/Notifications for Fire TV.

Usage:
  nfa notify [flags]

Flags:
  -a, --address ip                IP Address Notifications for Android TV or Notifications for Fire TV is running on.
  -n, --app-name string           App name to display the notification as generated by (default "nfa.go")
  -b, --background-color string   Background color of the notification, given in hex format. (default "#607d8b")
  -d, --duration duration         The duration in seconds for which the notification will be displayed. (default 5s)
  -i, --icon string               Path to icon (default "/Users/robbiet480/gocode/src/github.com/robbiet480/nfa.go/gopher.png")
  -x, --interrupt                 If set, the notification is interactive and can be dismissed or selected to display more details. Depending on the running app (e.g. Netflix), this may stop playback.
  -m, --message string            Message to show (default "Hello from nfa.go!")
  -p, --port int                  Port to connect on (default 7676)
  -o, --position string           Position of the notification on screen. Must be one of bottom-right|bottom-left|top-right|top-left|center (default "bottom-right")
  -t, --title string              Title of notification (default "nfa.go")
  -s, --transparency string       Transparency percentage. Must be one of default|0%|25%|50%|75%|100%. (default "default")

Global Flags:
      --config string   config file (default is $HOME/.nfa.yaml)

Contributing

  1. Fork
  2. Create branch
  3. Create changes
  4. Submit PR
  5. ...
  6. Profit

Credits

gopher.png is from here.

License

MIT

nfa's People

Contributors

robbiet480 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.