-
Notifications
You must be signed in to change notification settings - Fork 136
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
feature request: make a simple protocol / API to allow servers to self report, for indexing #84
Comments
That’s an interesting idea! |
yea even better.. I was thinking this would be a 3rd party listing, a website etc, but you could build it right into devzat core, as long as there was a registry server online for it to ping. .. although.. that would imply switching SSH sessions, which is probably out of the scope of one devzat install to do, since devzat lives inside one SSH session. You could run a "devzat hub server" that listed online servers and tunneled people between them, but that would be a lot of bandwidth for you and defeat the purpose of distributing it.. so yea probably some level of client initiative is needed here, where they browse the "hub" listing by themselves and choose between them |
Woah, sorta like IRC! |
different level of abstraction... IRC is a protocol where devzat is an SSH application |
What server info should be included in a reply to such a ping? |
Just self-reported, publicly available info I think.
|
What do you mean by an owner handle? A GitHub/Twitter username? |
I take handle to mean a "URI safe username", similar to a unique key for an asset in a URI often being called a "slug". I don't think there's a hard definition. But I would call "bob" a username, "bob jones" a name, and "bob#1234" a handle So yea an email could fall under that category. But since these will likely be public, I'd vote against that |
Yeah we can let the owner decide what they'd like to show. I think we can have this work over HTTP as JSON. We'd need to decide a default port for it. |
I wonder if we could detect an HTTP client on the SSH port and reply with this message instead of the usual SSH exchange. |
That does seem ideal yea. |
You can access argv with an ssh command, correct? Just add an option called '--dump-info' and send the info as json across stdout |
goal: allow for easy browsing of all devzat active installs, similar to 3rd party server lists for discord (see "disboard.org" and others).
the MUD gaming community has something called "global mud protocol" that allows you to ping servers for current status and general server info, if the server admin has implemented it.
basically this would allow devzat to feel like a single, scaled service even as it potentially scales to lots of disparate hosts.
The text was updated successfully, but these errors were encountered: