1.9.1 • Published 11 years ago

holler v1.9.1

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

Holler.js

real-time, in-app notifications for web and mobile via the command line. see it in action

##Usage Sending notifications with Holler is as easy as four steps:

###1. Install a module Holler is built with Node, uses Faye for communication, and uses Alertify for notifications. If you don't have Node yet, install the hell out of it. After doing so, the npm command should be available via the command line. Then we just install Faye:

npm install faye

###2. Add a script tag On the client, Holler can be easily configured to use a specific host and port regardless of the app's http server. This is done via a global hollerConfig object. The holler-client.js script tag should then be included:

<script>
      var hollerConfig = {
        host: "http://127.0.0.1",
        port: "1337"
      }
</script>
<script type="text/javascript" src="PATH/TO/holler-client.min.js"></script>

###3. Start a server The server can be started with an optional port. If no port is specified, it will be defaulted to 1337.

cd path/to/holler/src 
node holler-server.js 1337

###4. Holler stuff Show notifications to all users currently using your app in real-time using holler.js. Notifications use Alertify so they look nice and sexy.

  • Log Messages

npm.io

node holler.js http://yourServerUrl:port log "This is a standard log message."
  • Success Messages

npm.io

node holler.js http://yourServerUrl:port success "This is a success message."
  • Error Messages

npm.io

node holler.js http://yourServerUrl:port error "This is an error message."

##Going forward I definitely need to address the following:

  • Security: need a way to lock down notifications so that only auth'd users can send them
  • Simplicity: need a way to simplify the holler.js command (it's ugly to pass in 3 options)

##License WTFPL

1.9.1

11 years ago

1.9.0

11 years ago

1.8.1

11 years ago

1.0.8

11 years ago

1.0.7

11 years ago

1.0.6

11 years ago

1.0.5

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago