Skip to content

A bot to add link previews to arxiv.org URLs sent on Slack.

Notifications You must be signed in to change notification settings

rshin/arxiv-slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

To use this code:

  • Host this code somewhere. You might be able to use AWS Lambda or Google Cloud Functions.
  • Create a new Slack app in your Slack team.
    • Obtain credentials as needed for index.js
    • Under Event Subscriptiptions:
      1. Enable Events and give the URL of where the app is hosted. If the token is initially unknown, disable the req.body.token !== APP_TOKEN check to have the Request URL verified.
      2. Add arxiv.org to App Unfurl Domains.
    • Under OAuth & Permissions:
      1. Add the links:write permission scope.
      2. Install the app with your account in your Slack team.

As the OAuth token is hardcoded, this app might not work in chats and channels which do not involve the user that installed the app.

About

A bot to add link previews to arxiv.org URLs sent on Slack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published