yasintoy / slack-gitsin Goto Github PK
View Code? Open in Web Editor NEWA beautiful Slack command line interface.
License: GNU General Public License v3.0
A beautiful Slack command line interface.
License: GNU General Public License v3.0
"Merhaba Dünya" :(
slack> slack chat.postMessage "Merhaba DüException in thread Thread-77:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "/Users/gokhan/Documents/env/lib/python2.7/site-packages/prompt_toolkit/interface.py", line 835, in run
completions = list(buffer.completer.get_completions(document, complete_event))
File "/Users/gokhan/Documents/Slack-Gitsin/slackClient/utils.py", line 25, in find_matches
word, collection, fuzzy):
File "/Users/gokhan/Documents/Slack-Gitsin/slackClient/utils.py", line 83, in _find_collection_matches
if name.lower().startswith(word) or not word:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
saj" general gakgak
While writing channel posts, it's really slow.We have to make a pagination(10-15 per message)
readme shows you start by running python main.py
, but all I get is the following
$ python main.py
Traceback (most recent call last):
File "main.py", line 29, in <module>
from utils import TextUtils
File "/home/nhumrich/open-source/Slack-Gitsin/slackClient/utils.py", line 13, in <module>
from completions import META_LOOKUP
File "/home/nhumrich/open-source/Slack-Gitsin/slackClient/completions.py", line 13, in <module>
user_id = response["user_id"]
KeyError: 'user_id'
I'm on OS X El Capitan and getting this error:
ImportError: No module named pygments.style
This is being resolved after adding it to the requirements file. Going to make a pr.
make setup.py
Would significantly lower the barrier to entry. This looks great btw!
When I first started to this project, I thought that it'll be just for special times(vagrant+spotify+slack+chrome+pycharm) but now, I changed my mind. People loved SlackGitsin so we'll make it better together. Real time chat will be added soon.
when trying to do ./setup.sh
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "pcre"
Download failed: https://www.mirrorservice.org/sites/downloads.sourceforge.net/p/pc/pcre/pcre/8.39/pcre-8.39.tar.bz2
when you choice the user_info, it doesn't show very well. We have to solve this
https://github.com/yasintoy/Slack-Gitsin/blob/master/slackClient/slack.py#L126
Any plans to migrate to Python 3.x? @yigitozkavci @yasintoy
the linux install script is for ubuntu only, it has apt-get
in it. It might be better to just document the requirements and tell people they will need to install them.
we haven't support emojis yet, but we should
I noticed there is no license for this project, one should be picked to ensure legal certainty when using the software. More information on the Choose a License site.
Currently, when user visits the README page, after the Installation
part, finds himself in Notifications
and TODO
part which I think are not relevant & shouldn't be there. I suggest a categorisation like this:
What do you think?
Once install script is completed and token added to settings.py, upon 'python main.py' command:
Traceback (most recent call last):
File "main.py", line 15, in
import slackclient #for real time parts
ImportError: No module named slackclient
If running with python3:
File "main.py", line 84
print "Connection Failed, invalid token?"
^
SyntaxError: Missing parentheses in call to 'print'
Token is correct and tested on other app.
Currently users have hard time installing the project. Getting started is a great entry barrier.
I'm thinking of creating a binary for Mac OS X and all other Unix distributions. pyinstall
is a nice problem solver in this case. It basically creates a dist/
folder with a binary inside it and we can copy it to user's /usr/local/bin
at runtime.
Concerns:
We currently require user to provide a Slack API Token inside settings.py
. In this case, we have to request api token from the user when program runs, and save it to user's home directory for further uses, with a warning indicating we are saving the api token to home directory.
This is no safer than entering the api key to settings.py
, but still not a safe process. What do you think? @yasintoy
On Mac OS X, I need to run python main.py
in order to get in to the buffer.
If this is the case, should we tell people to run this command in order to get started? Because I needed to look into the source code to figure it out.
Self explanatory. If I try to fetch information about the user which owns the api key, it throws an error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.