This package has been deprecated
This package has moved to @bitpshr.net/holler. Please see https://git.io/vA5qB for more information.
real-time, in-app notifications and admin for web and mobile via the command line. see it in action
Sending notifications with Holler is as easy as four steps:
1. Install a module
npm install holler -g
2. Include Holler
New! Be sure to include the
holler.css stylesheet as of v1.9.0:
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:
3. Start a server
The server can be started with an optional port. If no port is specified, it will be defaulted to 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
holler log "This is a standard log message."
- Success Messages
holler success "This is a success message."
- Error Messages
holler error "This is an error message."
- Refresh Page
Now you can use holler to perform admin tasks such as refreshing the current page. Again, all users using the app will have their page refreshed in real-time.
- Error Messages
You can also redirect the current page to a new url. Again, all users using the app will have their page redirected in real-time.
git clone https://github.com/bitpshr/holler.git && cd hollergit submodule update --recursive --initnpm install# start a server at localhost (e.g. )holler-server# view demo.html in a browser# send a log messageholler http://127.0.0.1:1337 log "foobar"