Skip to content

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

License

Notifications You must be signed in to change notification settings

0DUDDU/intra-slack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%