rainbowstream
rainbowstream copied to clipboard
Multiple accounts support
Hi, there!
First of all, thanks for your work, Rainbowstream looks great and very mature!
But I have one serious question, is there built-in ability to work with multiple twitter accounts for same logged-in user? Like:
-
rainbowstream
opens default Twitter account stream -
rainbowstream -C ~/.rainbow_oauth_additional
opens additional Twitter acount stream
Or my only option is to create another user in system and open rainbowstream
from it?
Hi @playpauseandstop. Thanks for the idea :+1:
RS doesn't have multiple accounts support at this time, so if you want to log in with different Twitter account:
- Backup current account's token:
mv ~/.rainbow_oauth ~/.rainbow_oauth_whatever
. - Start RS again.
RS will create a new ~/.rainbow_oauth
for the new account and this way you won't need to create another system user.
I will consider to add a feature which allow to manage and quick switch between multiple Twitter accounts in time. Be patient :)
:+1: Having a personal account and one or more accounts for organizations you're a member of, it would be great to be able to quickly switch between them. And if you have two accounts account1
and account2
it would be really cool if you could do stream mine account1
, stream mine account2
to stream both at the same time.
Really interested to the feature too. :+1: Behind a tmux, it will be awesome
Multiple accounts will really improve my current workflow. Can't wait to see it implemented.
Another +1 for this feature. (Or should I have 👍 this instead, whichever)
It would be great if you could rep X as OTHER_ACCOUNT
in the main stream as well, so you could reply to a tweet as another authenticated user.
Giving this a :+1: as well, came here looking specifically for this.
This honestly shouldn't be too difficult to implement, since it (probably?) only needs to switch between different oauth keys. Maybe it can be implemented easily with an invocation variable, e.g.
rainbowstream --user=msikma
Then it switches around the oauth, and then runs normally.
Making it work from inside the application, without quitting and restarting, would be more involved.
As a quick workaround to this, in rainbow.py, the code is building the path to the oauth config with the environmental variable for HOME or USERPROFILE, so if you create a new folder for each user you'd like to use, you should be able to launch rainbowstream with HOME=/home/sam/rainbowstream_USER2 rainbowstream
and have it read from a separate oauth and config file. In config.py os.path.expanduser("~")
is being used, which also checks HOME first, so config will be read from this location as well. None the less, a command line switch for this would be much nicer, and support for multiple accounts in the same instance would be nice too.
Has any progress been made in this area?
Share the same opinion as everyone here, it would be an interesting option to easily switch between accounts or at least have several terminal sessions with different profiles, wait impatiently
Any progress on this? Would be a welcomed feature requested already 2 years ago..
@benoittgt that's me too. i'm tmux'in with many things going on at the same time. I would also like to see the ability to tweet via cli through RS without needing to have the interface running. Something like "rainbowstream -t -user 'Hey what's happening guys'" or "echo 'Hey what's happening' | rainbowstream -t -user. That way you could insert it into your shell and get/send a tweet at certain times or for certain reasons etc etc.
Hi @playpauseandstop. Thanks for the idea +1
RS doesn't have multiple accounts support at this time, so if you want to log in with different Twitter account:
* Backup current account's token: `mv ~/.rainbow_oauth ~/.rainbow_oauth_whatever`. * Start RS again.
RS will create a new
~/.rainbow_oauth
for the new account and this way you won't need to create another system user.I will consider to add a feature which allow to manage and quick switch between multiple Twitter accounts in time. Be patient :)
Thanks. This works. I just created a copy from both accounts and is just a matter of cp ~/rainbow_oauth_account1 ~/rainbow_oauth to switch between then.
Great work