# Slack-Summary
**Repository Path**: mirrors_Automattic/Slack-Summary
## Basic Information
- **Project Name**: Slack-Summary
- **Description**: A python application for summarizing Slack threads
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-08
- **Last Updated**: 2026-05-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Slack Summary
Summarize it is a chat summarizer plugin for instant messaging applications. It summarizes the large content of chat logs which enables users to quickly understand the current context of the conversation. Currently Summarize it works on top of Slack as its plugin.
The original relied on an HP cloud concepts expraction api. We've pulled that out to remove any reliance on 3rd party apis, and are going to improve the summarizations.
## Installing Summarize It plugin for your slack
To install the summary package
Firsts, create a token for your team `https://api.slack.com/web`
pip install flask requests slacker wsgiref jupyter mock pbr spacy numpy
Then run
python -m spacy.en.download all
Edit the `config.py` file that it includes the line
keys = {
"slack": "your-token-here"
}
Then edit `ts_config.py` file to adjust the debugging options
SUMMARY_INTERVALS = [{'minutes': 10, 'size': 1}, {'hours':12, 'size': 2}]
TS_DEBUG = True
TS_LOG = "./ts_summ.log"
DEBUG=True
LOG_FILE="./summary.log"
Here the `LOG_FILE` stores where notices of users accessing the server is stored and the
value of `DEBUG` determines if detailed logging is stored.
The plugin is executed by running
python main.py
Tests are currently setup to run in a python `virtualenv`. These will executed by
runnning
make check
but realize that the test will install and run in a virtualenv
To complete the installation
1. Visit `https://.slack.com/services/new/slash-commands`
2. Enter the command name you wish to use
3. Enter the request url as `/slack`
## Using Summarize It plugin with slack
Let's assume that that plugin is named summary. The plugin supports a small
command line syntax with allows specification of the previous window of time to look
back. Currently this can be specified in `minutes, days, or weeks`. Keyword search is
coming soon.
So to get the key messages from the last 5 days:
/summary 5 days
Or to get a summary of the important messages over the last two weeks
/summary 2 weeks
## Screenshots
#### Hackathon Discussion

#### Meeting Discussion

## Authors and Contributors
Yask Srivastava (Developer), [Ketan Bhatt](https://github.com/ketanbhatt) (Developer), [Pranu Sarna](https://github.com/psarna94) (Developer) and [Vinayak Mehta](https://github.com/vortex-ape) (Data Scientist).
## Support or Contact
Having trouble with summarize it? Create an issue in the repository GitHub Repo.