Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

28 lines (24 loc) · 1.09 KB

Slack-arxiv

Where Kixlab's slack messages are archived. Messages are indexed in Elasticsearch, and only lab members can search them using Kibana served by OAuth proxy server.

How to run

  1. Create GitHub OAuth app link
  2. Create Slack legacy token here
  3. Create .env file like .env.example
docker-compose up
  1. Now proxied Kibana is up at port 4180.

How to fetch latest history, and keep crawling every two hour

docker-compose run collector python loader.py --dump_history --keep_crawling

How to import exported files

  1. Dump all the message here
  2. Copy dumped data inside dump_data folder
  3. Pass the name of directory (not path) as argument in the command below
docker-compose run collector python loader.py --export_dir NAME_OF_DIRECTORY