GitXplorerGitXplorer
c

alt-text-unfurl

public
4 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
f2eb5bbf4f5a13ffb30e3176594c72deeba67dc8

Do not post alt text if there's no image

committed 4 years ago
Verified
c80542dff52f6e02ee23f20c20a8bfdb75c9829a

add screenshot to readme

cckundo committed 4 years ago
Unverified
bc7b5a791b8ed89547b2f7273b8bf22c18e4c24a

Add tweet mode extended and author README

committed 4 years ago
Unverified
a4ea6fc36f4ab4ce2916eae9ca8eb7b7e78292d0

Use twitter-lite and improve missing alt handling

cckundo committed 4 years ago
Unverified
749ea7853de8f2176cffde617a624dba7ae2ede6

Wait for slack API request to finish

cckundo committed 4 years ago
Unverified
41c6be5cce077acc23c77dc02f3ea6cb70f275b3

Add twitter fetch and auth

cckundo committed 4 years ago

README

The README file for this repository.

Alt Text Unfurl for Slack

Slack does not preview (unfurl) alt text from tweets with images. Add this integration to get alt text unfurling.

Installation

The project runs on AWS Lambda.

  1. clone the repo and npm install.
  2. run brew install awscli && aws configure to set your AWS access tokens.
  3. copy .env.sample to .env and set your Twitter and Slack secrets.
  4. run npx serverless deploy.
  5. copy the lambda url printed in the output, and add it to the Event Subscriptions Slack app config.

Usage

In Slack:

/invite @Alt Text Unfurl

Paste a link to a tweet that has alt text into the channel. For example https://twitter.com/philosophequeer/status/1404408769551994880

Screen Shot 2021-06-17 at 12 10 22 PM