Skip to content

About

Node.JS script allowing to send Epitech intranet's messages to Slack

Resources

Stars

1 star

Watchers

2 watching

Forks

 
 

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

intra-slack

Node.JS script allowing to send Epitech intranet's messages to Slack.

Features

  • Retrieves messages from Epitech's intranet
  • Send the title, content and date of any new messages to a configured Slack hook
  • Replace potential HTML link by a Slack compliant version

Installation

  • Simply clone this depot anywhere on your server.
  • Copy config.json.example file into a config.json file.
  • Add your intranet login/password to the config.json file.
  • Install a incoming-webhooks on your Slack.
  • Add your link of the Slack incoming-webhooks in the config.json file.
  • Optional (but recommended) : Install a task scheduler (like CRON) to run the script regularly.

Configuration

  • login : Your intranet login.
  • password : Your intranet password.
  • hostname : Hostname of the intranet API to retrieve all messages (You shouldn't have to change this).
  • path : Path of the intranet API to retrieve all messages (You shouldn't have to change this).
  • slackHookUrl : Link to your Slack incoming-webhooks.
  • slackHookName : Name to display when you will get notified on Slack.

About

Node.JS script allowing to send Epitech intranet's messages to Slack

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages