Public | Automated Build

Last pushed: 10 months ago
Short Description
Slurk Slack bot
Full Description

SLURK - Slack Bot

Stores and indexes URL:s posted in Slack.

URL:s and "unfurled" metadata are stored in plain JSON and indexed using Elasticlunr.js full-text search engine.

Usage

  • Paste an URL to a channel where Slurk is active, or as a direct message.
  • Wait for Slurk to mark your message with a :white_check_mark:.
  • Search by mention bot name followed with a search string. Example @slurk github.

Searchable fields:

  • Message text
  • URL Parts
  • Service name (unfurled)
  • Description (unfurled)
  • Title (unfurled)
  • User

Setup

Create Slack Bot integration

Go to Create a Slack Bot page and, if you haven't already, generate a token. This is your SLACK_API_TOKEN.

Docker

docker run -d -name "slurk" -v /($pwd)/:/data -e "SLACK_API_TOKEN=abc123"  itjope/slurk

You can map the container's volumes to a directory on the host, so that the data is kept between runs of the container. This example uses your current directory, but that is in general not the correct place to store your persistent data!

Node.js

npm install itjope/slurk

SLACK_API_TOKEN=abc123 DB_FILE_PATH=data/db.json npm start
Docker Pull Command
Owner
itjope
Source Repository