Skip to content

Instantly share code, notes, and snippets.

@robertoestivill
Last active November 7, 2019 18:45
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save robertoestivill/b7fc6d0f85cec279768e95a5473d8d8c to your computer and use it in GitHub Desktop.
Save robertoestivill/b7fc6d0f85cec279768e95a5473d8d8c to your computer and use it in GitHub Desktop.
Bash alternative to Franz
I use Tweetdeck, Skype, Hangouts, Slack (2 teams), Whatsapp and Telegram on daily basis.
In the past, I tried to wrap web systems into stand alone apps using Fluid (http://fluidapp.com/) since I felt like it would give me a less cluttered browser.
However, some issues came up for some of the services and I ended up dropping it.
A few days ago I discovered Franz (http://meetfranz.com) and I was blown away.
It has support for (almost) everything I wanted: all the chat services I needed, desktop notifications, stand alone app, etc.
And we were happy for a few days...
Until today. Because today I found http://slashcommand.club/ and inmediately fell for it. I don't have a lot of Chrome extensions, but GIF's have always been my weakness.
A few minutes later, I realised that I was not going to be able to use it in messaging applications because they were running inside Franz, and not Chrome, so to who would I send all this fancy GIF's and emojis using '/' ?
So after thinking for a while, I decided to replace Franz with the bash script on this Gist. Yep, that's right, bash all the things!
Althoug it's not the same, and it does not provide some functionality that Franz does, it's pros outweighted it's cons.
Pros
- Chrome sessions/cookies
- Chrome extensions will still work
- Separated Chrome window for all chats.
- Simple to create a stand alone app using OSX Automator. Just "Run Shell Script" and export.
- Can be launched from the shell
- Full support, as the webs are running inside Chrome and not a "webview".
- Don't have to wait for Franz to add support for a new service.
Cons
- Not all messengers have desktop notification integrations
- Not stand alone window, can't alt+tab to it if you have another Chrome window open
Why not to make all of them the startup tabs? Well I have work other more important stuff as initial content, and I don't want to become online in all chats just by launching the browser.
#!/bin/bash
open -a "Google Chrome" --new --args --new-window \
'https://tweetdeck.twitter.com' \
'https://web.whatsapp.com' \
'https://blastersystems.slack.com/' \
'https://www.messenger.com/' \
'https://web.telegram.org/' \
'https://web.skype.com' \
'https://hangouts.google.com/' \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment