GithubHelp home page GithubHelp logo

Comments (12)

elendee avatar elendee commented on May 23, 2024 1

Just self-reported, publicly available info I think.
So I'd think

  • created date
  • number active users (there is no "registered users" in devzat right... although you could track all-time logins?)
  • name
  • description
  • owner handle (I'd make the owner type this explicitly during config so it's not an email etc by accident)
  • sub-channels / topics available

from devzat.

quackduck avatar quackduck commented on May 23, 2024

That’s an interesting idea!

from devzat.

elendee avatar elendee commented on May 23, 2024

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

from devzat.

l3gacyb3ta avatar l3gacyb3ta commented on May 23, 2024

Woah, sorta like IRC!

from devzat.

elendee avatar elendee commented on May 23, 2024

different level of abstraction... IRC is a protocol where devzat is an SSH application

from devzat.

quackduck avatar quackduck commented on May 23, 2024

What server info should be included in a reply to such a ping?

from devzat.

quackduck avatar quackduck commented on May 23, 2024

What do you mean by an owner handle? A GitHub/Twitter username?

from devzat.

elendee avatar elendee commented on May 23, 2024

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

from devzat.

quackduck avatar quackduck commented on May 23, 2024

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.

from devzat.

quackduck avatar quackduck commented on May 23, 2024

I wonder if we could detect an HTTP client on the SSH port and reply with this message instead of the usual SSH exchange.

from devzat.

elendee avatar elendee commented on May 23, 2024

That does seem ideal yea.
I think the next best option would be digging into some server-side language that has an SSH package, so you could expose it via that. That's what I did for MUD servers, using the node telnet package to repackage all the telnet data into a normal node server. I don't know if SSH has good packages for that though

from devzat.

CodeLongAndProsper90 avatar CodeLongAndProsper90 commented on May 23, 2024

You can access argv with an ssh command, correct? Just add an option called '--dump-info' and send the info as json across stdout

from devzat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.