Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yasintoy/Slack-Gitsin
A beautiful Slack command line interface.
https://github.com/yasintoy/Slack-Gitsin
Last synced: 7 days ago
JSON representation
A beautiful Slack command line interface.
- Host: GitHub
- URL: https://github.com/yasintoy/Slack-Gitsin
- Owner: yasintoy
- License: gpl-3.0
- Created: 2016-07-11T11:38:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T15:39:36.000Z (over 7 years ago)
- Last Synced: 2024-08-01T09:24:36.737Z (3 months ago)
- Language: Python
- Homepage:
- Size: 8.52 MB
- Stars: 608
- Watchers: 20
- Forks: 26
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ![SlackGitsin](screen_shots/logo.png)
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](https://www.reddit.com/r/Slack/comments/3fy494/slack_taking_up_a_lot_of_system_resources/)**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:
# ![](screen_shots/marcosmemory.jpg)# ![](screen_shots/anim.gif)
## Table of Contents
- [Installation](#installation)
- [Getting Started](#getting-started)
- [Features](#features)
- [TODO](#todo)
- [Contributing](#contributing)
- [License](#license)## 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](https://api.slack.com/docs/oauth-test-tokens) 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](screen_shots/channel_list_menu.png)
### Create channel
```
$ slack channels.create
> channel name ->
```
#### ![image](screen_shots/channel_create_screen.png)### 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](screen_shots/channel_post_screen.png)### Join a channel in your slack team
```
$ slack channels.join "Join" [CHANNEL_NAME]
```
#### ![image](screen_shots/channel_join_screen.png)### 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](screen_shots/upload_file_menu.png)- Then, choice file by using the file dialog
#### ![image](screen_shots/opened_file_dialog.png)- Finally, fill out the screen
#### ![image](screen_shots/file_upload_process.png)## Features
### Low Memory Usage
#### ![](screen_shots/memoryUsage.png)### Notification System
**We now have notification system for mac/linux**
#### ![](screen_shots/notification_test.png)## TODO
* [Real time chat](https://github.com/yasintoy/Slack-Gitsin/issues/6)
* [Solve user_info printing](https://github.com/yasintoy/Slack-Gitsin/issues/2)
* [Pagination for showing messages](https://github.com/yasintoy/Slack-Gitsin/issues/4)
* [Solve emoji problem](https://github.com/yasintoy/Slack-Gitsin/issues/3)
* [Make setup.py file](https://github.com/yasintoy/Slack-Gitsin/issues/5)## 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](LICENSE)