Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Federation #152

Open
shazow opened this issue Jul 31, 2016 · 4 comments
Open

Federation #152

shazow opened this issue Jul 31, 2016 · 4 comments
Labels

Comments

@shazow
Copy link
Owner

shazow commented Jul 31, 2016

Would be fun to setup message relaying between ssh-chat instances (not unlike what IRC federation tried to do, but probably closer to Matrix's approach). If #151 is a thing, federation could be on a per-room basis.

The idea here is that people can create "trusted" micro-groups. E.g. I have a digital ocean node with a whitelist of pubkeys of all my friends, no one else can access it. I can take my "trusted group" and connect it to your "trusted group" without contaminating each other (in an isolated room that both groups can access).

@shazow shazow added the Someday label Jul 31, 2016
@anarcat
Copy link

anarcat commented Aug 3, 2016

note that the irc folks are working on a major overhaul and extension of the protocol, including authentication, backlogs and federation. your input would be very welcome here:

http://ircv3.net/

it seems to me that reinventing the federation wheel again here would be a waste of time, to say the least. ;)

@shazow
Copy link
Owner Author

shazow commented Aug 3, 2016

@anarcat ssh-chat is all about reinventing wheels, but I'm very aware of the IRC protocol (I've even implemented my own IRC server but haven't gotten around to v3 extensions yet). Thanks. :)

@shazow
Copy link
Owner Author

shazow commented Nov 18, 2018

Recently, some people put together a relay bot to connect multiple ssh-chat services: https://sourceforge.net/projects/sshout/

It's kinda neat, but can get noisy sometimes. (The endpoint is ssh://beijing.rivoreo.tk:6666)

image

Some issues that we should consider resolving natively:

  • Federation opt-in (if we end up having rooms/channels, maybe on a per-room/channel level)
  • A more native display of the federated messages perhaps? Maybe we need an IRC-style federated message type which renders as [email protected].
  • A federation-aware tab-complete?

Neat tricks/side effects:

  • Users can /ignore the federation bot which works nicely on a per-user basis (but maybe not a great default)
  • You can run commands on the federation bot over PM
  • Federation allows us to do low-latency SSH edge nodes, too!

@Low-power
Copy link

Recently, some people put together a relay bot to connect multiple ssh-chat services: https://sourceforge.net/projects/sshout/

Well, SSHOUT is another implementation of SSH chatroom; the relay program itself is available at https://gist.github.com/Low-power/94d2b33fc3350ef5945489b63a74651f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants