Skip to content

Set your status on Slack based on the WiFi network you are connected to.

License

Notifications You must be signed in to change notification settings

petergrau/slack-status-based-on-wifi-name

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack-status-based-on-wifi-name

Set your status on Slack based on the WiFi network you are connected to.

How to run it?

You need to obtain a Slack token for your account from https://api.slack.com/custom-integrations/legacy-tokens. Copy and paste the token into a file called .env or set it as an environment variable SLACK_TOKEN.

set SLACK_TOKEN=xoxp-...

You also need to have node.js installed to run the script. Currently it works on Windows and macOS only.

node app.js

How does it work?

The script checks periodically the WiFi network name (SSID) you are connected to and sets your status on Slack according to the mapping defined in config.js.

About

Set your status on Slack based on the WiFi network you are connected to.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%