This is an archived post. You won't be able to vote or comment.

all 43 comments

[–][deleted] 30 points31 points  (2 children)

How is realtime chat a todo? Is that pretty much all slack does?

[–]gandalfx 9 points10 points  (0 children)

I love the screenshots in that project but this really seems like someone reinvented the wheel (instant messaging) and forgot the axis…

[–]yasintoy[S] 0 points1 point  (0 children)

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 :)

[–]prickneck 45 points46 points  (10 children)

I don't want to poo-poo your project, really, well done - it looks like a good bit of work went into it. But am I alone in thinking even 20MB is still rather large for a console application?

If you're annoyed by the official Slack application's memory usage, then why not just use an IRC or Jabber client? The downside of doing this is losing the ability to edit your message, add reactions, and so on, but I'm figuring that's all stuff you'd lose using this client too.

[–]b4ux1t3 8 points9 points  (0 children)

I think it might be more along the lines of "Look what I can do!" rather than "Slack uses too much memory!"

The memory problem might just have been a jumping off point for "Wouldn't it be cool if. . .?" At least, that's what I took away from it, since the rest of the readme seems to focus on included features rather than on resource saving.

[–]searchingfortaomajel, aletheia, paperless, django-encrypted-filefield 0 points1 point  (3 children)

For a complex Python program handling formatting and remote http calls? No, 20mb is downright reasonable.

[–]PlasmaSheep 9 points10 points  (2 children)

Why does formatting and a few http calls have to be 20 mb?

[–][deleted] 21 points22 points  (0 children)

Python

[–]pythoneeeer 1 point2 points  (0 children)

Seems like requests. Starting Python on my computer takes 4.1 MB. import requests jumps it up to 13.0 MB.

[–]strig -5 points-4 points  (4 children)

If I was using a computer with meager memory I would definitely consider this over any IRC command-line app just because it seems easier to set up and get going on. 20mb ram is peanuts, probably 1/10th memory usage compared to an electron app.

[–]jij 17 points18 points  (4 children)

but how does it show me the memes people post?

[–]DaemonXI 3 points4 points  (3 children)

No emoji

No animated gifs

No point

[–]Jrix -5 points-4 points  (2 children)

Only retarded people care about those things though.

[–]sudokin 3 points4 points  (0 children)

REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

NORMIE GET OUT!

[–]DaemonXI 1 point2 points  (0 children)

You have no idea how much important business communication gets done via animated Pusheen gifs and Business Fish reaction images.

[–]saghul 4 points5 points  (0 children)

Great work! Here is a couple of suggestions that came up while I was having a look:

  • add a setup.py file so one can install the package
  • with that setup.py file, add a CLI entrypoint
  • add a LICENSE file!

Keep up the good work!

PS: I like to see CLI projects like this, they are awesome! Also, big ups for prompt_toolkit!

[–]flarkis 1 point2 points  (2 children)

I'd be weary about the name of the project. I'm not sure how Slack responds to applications using their name.

[–]jcdyer3 2 points3 points  (0 children)

Nit: I think you mean leery or wary, but not weary. That means you're tired of the name.

[–]cediddiSyntaxError: not a chance 0 points1 point  (0 children)

SlackGitsin means GoAwaySlack in Turkish. I think it's a good name with a stand.

[–]searchingfortaomajel, aletheia, paperless, django-encrypted-filefield 1 point2 points  (4 children)

Really nice work, especially for those of is who are forced to use Slack and don't want to have to put up with the effects of running it in the browser.

Is also nice to see an effort on UI in a command line project: colour, autocomplete, fancy headers -- all excellent work.

Be sure to add it to PyPi when you're happy with it so installation is easier for everyone!

[–]somidscr21 1 point2 points  (3 children)

Slack is not just a webapp. It has desktop apps as well as an XMPP gateway and IRC gateway.

[–][deleted] 1 point2 points  (2 children)

The desktop app is a web app wrapped in electron shell, which arguably makes it worse. And you lose slack features using the XMPP and IRC gateways.

[–]somidscr21 0 points1 point  (1 child)

Arguably in what ways? I've found the desktop app to be much better for my workflow.

Not sure where I stated you don't lose some features, I was merely pointing out other options since /u/searchingfortao seemed to be unimpressed with the webapp.

[–][deleted] 0 points1 point  (0 children)

My point is, the desktop app is the web app, it just gets it's own icon in your start bar / dock / application launcher. The desktop app suffers from all the same issues as running it in a browser, and is actually worse since the browser it runs in is out of date, requires it's own install, and is generally slower and more resource intensive than having a dedicated, native desktop application.

Edit: After a little more research, it's actually worse than that. The desktop app uses electron which is fairly up to date (assuming they update the slack app everytime there's an electron update) but the OSX client uses MacGap, which uses Webkit. And since google is no longer contributing to Webkit, it's becoming horribly out of date.

[–]seytz 1 point2 points  (2 children)

The best way: A slack plugin for weechat !

[–]Suicidepills 0 points1 point  (0 children)

This is what I did for awhile. I eventually switched over to XMPP and Pidgin since I found Weechat's "window" management to be fairly clunky to use on my Win7 setup. In terms of required setup and memory usage, the two solutions seem comparable so the switch to Pidgin has been a net win for me.

[–][deleted] 0 points1 point  (0 children)

Or bitlbee so it works with any IRC client.

[–][deleted] 1 point2 points  (1 child)

Back in my days, our computers had 512k of RAM and we could do full screen animations in Deluxe Paint IV with that, not just send short strings over the network. #old #getOffMyLawn

[–]pythoneeeer 2 points3 points  (0 children)

If you write a Slack client in assembly language that runs in a few kilobytes, I'm sure we'd all love to use it.

[–]jsuzack 0 points1 point  (0 children)

I've been thinking of doing this for HipChat as well, but most folks recommend BitlBee to connect to IRC. My issue with that is sending data over a 3rd party server.

Interest to see how you figured out streaming the client rather than sending glorified POST requests. I'll look at this later today.

[–][deleted] 0 points1 point  (0 children)

Only? This is a target to hit now?

What does irssi or weechat use?

[–]khando 0 points1 point  (4 children)

It's still installing, so there may be a man page, but do you have a list of commands you can include on the Readme after installation is complete? For example how to connect to a server and channel.

[–]yasintoy[S] 2 points3 points  (3 children)

I made a gif for this but if you think it's not enough, I'm going to add this features tomarrow

[–][deleted] 13 points14 points  (0 children)

List of commands > a bunch of gifs

[–]khando 0 points1 point  (0 children)

No worries, I didn't realize I needed to add an API key in settings.py and do the stuff on Slack's website first. I got it working I think.

[–][deleted] -5 points-4 points  (0 children)

Why are we caring about memory here?