Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.22 KB

README.MD

File metadata and controls

35 lines (30 loc) · 1.22 KB

Slack logger bot

Simple slack bot that can save all of your team messages on your server so that you can still read them even if you exceeds the 10,000 messages in the archive.

The application is built with Express 4 on Node.js

Version

1.0.0

How to deply the bot

  1. Install Node.js. Check this link
  2. clone the repo:
    git@github.com:mlegy/slack-logger-bot.git
  1. install the application
    npm install & mkdir logs
  1. Install forever to make the application run permanently.
   sudo npm install -g forever
  1. Run the application as a service with forever
   forever start app.js
  1. Add an Outgoing WebHooks Integration in your Slack one for each channel form here
  2. In the URL filed of every Outgoing WebHooks write your server IP or your domain name followed by port number 3000 and logbot route. for example: http://myteam.com:3000/logbot
  3. The logs will be saved at eg http://myteam.com/slackbot/logs/channel_name.html

Credits