0.2.0 • Published 7 years ago

chatwork-to-slack v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

chatwork-to-slack

npm version Build Status Dependency Status devDependency Status MIT

Transfer chat messages from ChatWork to Slack

Why ???

  • ChatWork is not user friendly (especially for engineers)
  • I don't wish to launch many chat tools
  • I want to read chat message only from Slack

Getting started

chatwork-to-slack requires Node v6.0.0 or later.

$ node -v
6.0.0

$ npm i -g chatwork-to-slack

To start chatwork-to-slack, you need to install and launch MongoDB.

$ chatwork-to-slack \
   --chatwork-room-id=12345 \
   --chatwork-api-token=YOUR_CHATWORK_API_TOKEN \
   --slack-webhook-url=YOUR_SLACK_WEBHOOK_URL \
   --slack-channel=CHANNEL_NAME \
   --mongodb-url=mongodb://localhost/chatwork

The command is not deamonized. You can use chatwork-to-slack along with Cron.

Test

If you want to run test in local computer, you should launch MongoDB.

$ npm test

Example

See also

License

MIT License