github

yasintoy / Slack-Gitsin

  • среда, 20 июля 2016 г. в 03:12:25
https://github.com/yasintoy/Slack-Gitsin

Python
A beautiful Slack command line interface (CLI -> uses 20mb memory).



SlackGitsin

The Problem

We have Slack we use in our office using the Windows stand alone since the Chrome based app seems to not show notifications in the bar (highlighting the app when you have a waiting message). Nearly every day Slack has to be manually closed via task manager (all users at random times) because Slack is taking up nearly all CPU and memory on the PCs. Is this a known issue and if so is there any solution? *-Source

Are you kidding me? "8 GB ought to be enough for everyone", Don't be ridiculous.

Let me show you an example : A mix of pycharm, slack, vagrant and chrome :

Installation

First, add your slack token to settings.py file

For Linux :

git clone https://github.com/yasintoy/Slack-Gitsin.git
cd Slack-Gitsin
sudo apt-get install lolcat figlet zenity
virtualenv env
source env/bin/active
pip install -r requirements.txt 

For Mac :

git clone https://github.com/yasintoy/Slack-Gitsin.git
virtualenv -p python2.7 env
source env/bin/active
pip install -r requirements.txt
sudo gem install lolcat
brew install figlet zenity

Now, we have notification system for mac/linux

TODO

Overview with some example screenshots

Create channel

You can easily create a new slack channel by using the SlackClient

image

Show channel messages

It shows all slack channels that we have in our team.

image

Send a post to channel

You can send a post to a channel. TODO : we'll add real time chat

image

List all Slack channels

Shows all slack channels that we have in our slack team.

image

Join a channel in your slack team

image

Upload a file into slack channel

You can easily upload a file your slack channel by using the `SlackClient`
  • First, choice file upload option

    image

  • Then, choice file by using the file dialog

    image

  • Finally, fill out the screen

    image