2017 © Pedro Peláez
 

project slack-unfurl

Extensible Slack App for link unfurling

image

glen/slack-unfurl

Extensible Slack App for link unfurling

  • Friday, June 1, 2018
  • by glen
  • Repository
  • 1 Watchers
  • 1 Stars
  • 40 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 12 Versions
  • 33 % Grown

The README.md

Extensible Slack App for link unfurling

Slack app for unfurling issue links, (*1)

Slack App

Create or Manage your app., (*2)

You need Verification Token (SLACK_VERIFICATION_TOKEN) for next step., (*3)

Under Features: - enable Events API for link_shared event with links:read scope. 1. Click Event Subscriptions on the left. 2. Click Enable Events. 3. Click Add Workspace Event and add link_shared. 4. Click Add Domain and type your domain. 5. Click Save Changes. - add links:write permission scope 1. Click OAuth & Permissions on the left. 2. Go to Scopes section and select Add link previews to messages in the list of permissions. 3. Click Save Changes. - enable Incoming Webhooks, (*4)

Obtain OAuth Access Token (SLACK_API_TOKEN) under OAuth & Permissions, (*5)

Configuration

cp env.example .env

Adding providers

The app itself handles no links, you need to add some providers:, (*6)

Troubleshoot

If the unfurl is not happening check that the domain is not blacklisted., (*7)

If you modify app domains, you need to Install App (/install-on-team as url) again to re-authorize: - https://api.slack.com/reference/messaging/link-unfurling#configuring_domains, (*8)

Development

Install composer deps and start builtin HTTP server:, (*9)

composer install
composer run server

To build docker image locally and run it:, (*10)

docker build -t slack-unfurl .
docker run --rm -p 4390:4390 -v $(pwd)/var/log:/app/var/log -v $(pwd)/.env:/app/.env slack-unfurl

The service is accessible from http://slack-unfurl.127.0.0.1.xip.io:4390/ or just http://localhost:4390/, (*11)

The Versions

01/06 2018

dev-master

9999999-dev

Extensible Slack App for link unfurling

  Sources   Download

MIT

The Requires

 

The Development Requires

01/06 2018

v0.8.0

0.8.0.0

Extensible Slack App for link unfurling

  Sources   Download

MIT

The Requires

 

The Development Requires

18/05 2018

v0.7.0

0.7.0.0

Extensible Slack App for link unfurling

  Sources   Download

MIT

The Requires

 

The Development Requires

18/05 2018

dev-appdir

dev-appdir

Extensible Slack App for link unfurling

  Sources   Download

MIT

The Requires

 

The Development Requires

18/05 2018

v0.6.0

0.6.0.0

Extensible Slack App for link unfurling

  Sources   Download

MIT

The Requires

 

The Development Requires

18/05 2018

dev-var-log-path

dev-var-log-path

Extensible Slack App for link unfurling

  Sources   Download

MIT

The Requires

 

The Development Requires

20/03 2018

v0.5.0

0.5.0.0

Extensible Slack App for link unfurling

  Sources   Download

MIT

The Requires

 

The Development Requires

01/03 2018

v0.4.0

0.4.0.0

Extensible Slack App for link unfurling

  Sources   Download

MIT

The Requires

 

The Development Requires

28/02 2018

v0.3.0

0.3.0.0

Slack app for unfurling Eventum issue links

  Sources   Download

BSD

The Requires

 

The Development Requires

16/02 2018

v0.2.0

0.2.0.0

Slack app for unfurling Eventum issue links

  Sources   Download

BSD

The Requires

 

The Development Requires

08/02 2018

v0.1.1

0.1.1.0

Slack app for unfurling Eventum issue links

  Sources   Download

BSD

The Requires

 

The Development Requires

08/02 2018

v0.1.0

0.1.0.0

Slack app for unfurling Eventum issue links

  Sources   Download

BSD

The Requires

 

The Development Requires