🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

geoslack

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geoslack

Geolocate your team in Slack

Source
npmnpm
Version
0.3.2
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

GeoSlack

npm Downloads Dependency Status devDependency Status Build Status

Sponsor

Slack integration that lets your team plot and share their locations on a map.

Find Me

Prerequisites

  • You must be an admin for a Slack Workspace
  • You must have a way to deploy this node.js app such as
    • Heroku
    • Zeit Now
    • Host it yourself
  • You must have team members in the same Slack Team/Workspace (optional 😜)

Tracking

Create a Incoming Webhook

This is necessary for the GeoSlack app to post a message in slack with a map/location of the user.

  • Login to your Slack workspace
  • Go to api.slack.com/incoming-webhooks
  • Click on incoming webhook integration near the top
  • Select a channel and then click the big green Add Incoming WebHooks Integration button IncomingWebhook01
  • Scroll down to the Integration Settings
  • Double check the channel name
  • Copy the Webhook URL for later
  • Assign a Custom Name such as "GeoSlack"
  • Assign a Custom Icon such as the :world_map: emoji IncomingWebHook02
  • Click the Save Settings button

Deployment

The following assumes you want to deploy GeoSlack to Heroku.

However, you can deploy to any server that can run Node.js and change environment variables.

  • Click this button Deploy
  • Type in a name for your app such as "geoslack"
  • Click the Deploy App button
  • Click the Settings tab at the top
  • Click the Reveal Config Vars button to show environment variables
  • Add the following key/value pairs:
    • APP_URL - From "domains", format: http://<your_heroku_domain>/findme
    • SLACK_WEBHOOK_URL - From Step 1 above, format: https://hooks.slack.com/<more>
    • GMAPS_API_KEY - From Google Maps click to get api key
    • DESTINATION - optional address or coordinates of your team's workplace HerokuConfigVars

(Optional) Create an Outgoing Webhook

This is optional but will allow you to type a keyword and get a link to the GeoSlack app.

Prior Art

This code was forked from concurlabs/geoslack which is no longer maintained. Since forking, I added a couple new features including

  • A page to show everyone's location
  • ETA to your destination
  • (future) Periodically update location

Keywords

geolocation

FAQs

Package last updated on 04 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts