gitter-logger

0.0.4 • Public • Published

logger

Join the chat at https://gitter.im/melvincarvalho/logger

Setup

  1. Firstly you will need a gitter API access token available from: https://developer.gitter.im/apps

    export TOKEN=<token>

  2. Secondly you will need some storage space e.g available from : https://linkeddata.github.io/signup/?tab=signup

    export DOMAIN=<domain> (e.g. foo.databox.me)

  3. You will need the gitter room ID (use inspect element .data-id)

    export ROOM_ID=<room_id>

Export environement vaiables before running

  1. Optional debugging

    export DEBUG=gitter

  2. Optional certificate for access control

    export CERT=<path>

Running

nodejs history.js [roomId] [lastMessage]

run once to set up the history, lastMessage will only save messages up to that Id

nodejs gitter.js [roomId]

run logger in realtime, if ROOM_ID was not set it can be supplied as an argument

Readme

Keywords

Package Sidebar

Install

npm i gitter-logger

Weekly Downloads

3

Version

0.0.4

License

MIT

Last publish

Collaborators

  • melvincarvalho