• Stars
    star
    608
  • Rank 73,735 (Top 2 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A beautiful Slack command line interface.

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:

Table of Contents

project no longer maintained :(

Installation

For Linux :

git clone https://github.com/yasintoy/Slack-Gitsin.git
cd Slack-Gitsin
sudo chmod +x setup-linux.sh
./setup-linux.sh

For Mac :

git clone https://github.com/yasintoy/Slack-Gitsin.git
cd Slack-Gitsin
chmod +x setup.sh
./setup.sh

When the installation completes, add your Slack Token to settings.py.

Getting Started

Before start, you should get in the slack mode by typing:

$ python main.py

List all Slack channels

$ slack channels.list

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

image

Create channel

$ slack channels.create
> channel name -> 

image

Send a post to channel

$ slack chat.postMessage "Send" [CHANNEL_NAME]

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

image

Join a channel in your slack team

$ slack channels.join "Join" [CHANNEL_NAME]

image

Upload a file into slack channel

You can easily upload a file your slack channel by using the SlackClient

  • First, say that you want to upload a file:
    $ slack files.upload Upload [CHANNEL_NAME]
    

image

  • Then, choice file by using the file dialog

image

  • Finally, fill out the screen

image

Features

Low Memory Usage

Notification System

We now have notification system for mac/linux

TODO

Contributing

  • Fork the repo
  • Branch it in your development environment (this is required if only you are willing to contribute frequently)
  • Hack in
  • Make a pull request
  • Chill

License

GNU GENERAL PUBLIC LICENSE