android-23
API here because using a later image will make it unbearably hard for you to use [MITMProxy][]: [Starting with Android 7, user certificates are no longer trusted by apps][NougatChanges]. 2. You can now run your emulator with emulator -avd C3PO
, but it will not have a PlayStore. 3. You can get a Slack APK from some website that pretends to scrape the PlayStore, but I do not like that idea. To get a gem mint original copy of the latest Slack APK, I recommend installing a **second** emulator as follows: now you can launch R2D2, which will have a PlayStore, and download Slack. 4. To get the Slack APK off of R2D2, we use some magic incantations that the [StackOverflow gods bestowed upon us][SlackOverflow]. The following lists all packages: You probably won't need it, though. Most likely, you can get the path to the Slack APK with the following command: and then just adb pull
that APK, push it to C3PO and install that sweet, fresh, original Slack. I have a little Python script that should do this for you automagically: 5. Install [MITMProxy][], and [use it as a proxy for C3PO][AndroidEmulatorNetworking]. 6. Start sniffing! What you are looking for is something that looks like this: More precisely, it matches the following regular expression: This is your undying Slack token. Be **very**, **very** careful with it. Anyone with that token can pretend to be you on whatever Slack you are logged in to. In the [WeeSlack][] README, there is a [section which also explains how to securely store this login][WeeSlackSecure] and I strongly recommend doing that. On Windows, [Ripcord][] is unable to read cached logins from other installs, so I am pretty sure some work was put into storing credentials in a secure manner, but I haven't reverse engineered it to verify that. It's probably always a good idea to slap some full disk encryption on top of everything! ## Importing to Ripcord Finally, let me explain how to import your token into [Ripcord][]. The way you do this is by adding a Slack account via browser import and once you have stored the request from your browser as a [HAR][] file, say slack.har
simply replace every occurrence of something that looks like a token with the one you looted. For example, you could do this: And then, simply import slack.immortal.har
. A WeeChat script for Slack.com. Supports threads and reactions, synchronizes read markers, provides typing notification, etc. Which is the best alternative to tg? Based on common mentions it is: Rainbowstream, Wee-slack, Weechat, Ddgr, Cordless or Instagram-terminal-news-feed. A WeeChat native client for Slack.com. Provides supplemental features only available in the web/mobile clients such as: synchronizing read markers, typing notification, threads (and more)! Connects via the Slack API, and maintains a persistent websocket for notification of events. Wee-slack doesn't use the Slack IRC gateway. Element is the ultimate way to openly collaborate with other developers over the open Matrix network, whether they’re natively in Matrix or connected via IRC, Gitter, Slack, Discord, or elsewhere. Element is incredibly proud to support Gitter, the only developer-focused chat platform.
Recently I’ve started to use WeeChat to connect to IRC. My earlier client was Hexchat, and is currently a fallback in case I am not able to get familiar with intricacies of weechat. Here I am listing some settings that I’m using to do a basic makeover.
My fascination with WeeChat started after I read fhackdroid’s blog on WeeChat and tmux. The client looked amazing. And then I couldn’t help myself but try it.
For starters I just followed the getting started guide on WeeChat’s official website. And after using it for some time I wanted it to change how somethings looked.
The first thing that bugged me was the huge size of channel list. Initially I thought if it was possible to do a resize like that in tmux, but I wasn’t able to come accross any such option. Then I came across a command window
. I tried to do resize, split, merge, but I cam across other interesting features than the channel list.
Even if I found out how to change the size, there must be more configurations to be played with. So to figure out how to see, tinker with current settings. I don’t remember how, but I eventually stumbled upon this great command set
, and now it was like weechat screamed to me. Customize all you can, here I am! Ah, the painstakingly long list was lovely and at them same time intimidating.
While I was trying combinations of keywords window
, weechat
, resize
et al. I went to the official documentation a lot. And in the official documentation, I found my temporary abode. It too was exhaustive, but I was starting to love it. I eventually found where to resize the channel list in the screen layout option. Here the first thing I saw was, it’s not called a channel list here, it’s a buflist! Now with set
and buflist
and a shortcut ctrl
+ r
that too I found in the documentation, I was ready to attack the large set of options now, to change the size of channel list buflist!
Then while searching I found the setting:
I don’t remember the initial value, but as soon as I changed the value to, say 20. Buflist shrunk. And that was my first victory!
From there on started another quest. To list separate servers separately. That is, channels under different servers should appear differently.
By the way, this was because, while lurking in #dgplug, I came to know about wee-slack
, it is a WeeChat alternative, to the infamous, ram gulping, slack. I tried it out in a local slack group of college friends, and it too turned out to be amazing! (Though I had to remove some unused DMs and channels to make it more clutter free). A big big thanks to sayan and j605 who mentioned it. I didn’t knew what it was, so I couldn’t thank them then.
So while searching for separate channel list, based on servers, I came across weechat wiki on Github. And there I found this. Amazing configurations for buflist appearance!
For a starters, I tried out one or two of them, but then I grew more interested in modifying them. As I liked some features of one, some of another. Initially I was copying whole script by a single user from wiki just to try it out. Later I started to pick up lines from the config to try and see their effect. And a few minutes later, I was editing the one I liked the most 😛 (The first one on the wiki). I liked how it used a bullet symbol for servers and the color scheme it used, but from another theme I liked the tree like structure. So I copied the selected lines and made a new mix. It worked. But I wanted a little more. I wanted that, the current channel should be highlighted with a background, not just change in the color of the text. So I started comparing the different combinations. Which had this feature and which didn’t. Later I was able to narrow down to one thing that was responsible for this background. It was a ,
Yup, just a comma. Followed by the color of background.
More intrigued, I entered a colour name behind the comma. I had a sense of what it might do, and it did exactly the same! It changed the color of text in the highlight.
Next came the nick list. I don’t know how, but I remember as if it was there in the beginning, but now it wasn’t. This was easy fix. I just changed
It said that the default was on
, I must’ve confused my mind with the Hexchat nicklist. The nicklist was on!
The naming of the variables in the set command’s menu was just great. It was easy to relate your thoughts with the settings. Like, indent
in buflist determines how you want to specify the indent. (This was the one I modified to get the branches connecting to channels)
Weechat Slack Login
Another setting I changed was:
I’ve set it to 1 currently. Compared with Hexchat, it’s too low. But since it’s in minutes, I don’t expect it to add any latency (Though I could be wrong as I am not aware of the innards)
Weechat Slack
Weechat Slack
Currently I am trying to find how to modify the hotlist
variable to only display message count, not low priority
count like joins, quits etc. I’ve found some settings that change the hotlist_low
parameter’s colours.
This is the buflist.conf
that I am currently using. Don’t copy it to .weechat
. As it is mentioned in the file, use /set
to change the settings. Issues are welcome 🙂
This is just the experience of configuring a terminal chat client, by a naive. So please point out the errors if you find any. Suggestions are always welcome!
Ping me on irc: storymode7 at freenode. Let’s see what client I am using when you ping me up!
Weechat Slack Plugin
See you next time. Till then keep customizing 🙂
Weechat Irc Slack
storymode7