Mosh on mobile Chrome

33 views
Skip to first unread message

Dejan Maksimovic

unread,
Oct 23, 2014, 2:33:38 AM10/23/14
to mosh-chr...@googlegroups.com
Hi,

is there possibility to run Mosh on mobile Chrome?
Mobile Chrome doesn't have Chrome Web Store and I don't know how to install Mosh on my mobile browser.

Regards,
Dejan Maksimovic

Richard Woodbury

unread,
Oct 23, 2014, 2:38:08 AM10/23/14
to Dejan Maksimovic, mosh-chr...@googlegroups.com
That would be kinda neat, but alas, mobile versions of Chrome do not currently support running apps and extensions. Check out http://mosh.mit.edu/ for a list of all ways to use mosh. I use JuiceSSH on Android, which works quite wonderfully. I don't think there's anything for iOS, unfortunately.

--
You received this message because you are subscribed to the Google Groups "Mosh for Chrome Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mosh-chrome-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dejan Maksimovic

unread,
Oct 23, 2014, 2:51:22 AM10/23/14
to Richard Woodbury, mosh-chr...@googlegroups.com
I'm using JuiceSSH on my mobile and it is great application, but I'm planning to develop mobile web application with mosh and I don't know how to do that.
With mobile web application you don't have problems with Android and iOS, and patches and bugs are quickly deployed.
Also there is so many types of mobile phones and there is very big effort to test application on Android and iOS.

Do you maybe have a plan to develop mosh on mobile browser?

Thank you for fast answer...

Regards,
Dejan Maksimovic

Richard Woodbury

unread,
Oct 23, 2014, 11:31:06 AM10/23/14
to Dejan Maksimovic, mosh-chr...@googlegroups.com
The critical feature that made Mosh for Chrome possible was the ability to send and receive UDP packets from within the browser. That is only available to Chrome Packaged Apps, which are not supported on mobile Chrome. You cannot implement a stand-alone mosh within a browser without this feature. At best you could implement a web frontend to some kind of mosh proxy that runs on a server. Such things already exist for ssh, but it would be an engineering challenge (to say the least) to make one for mosh that actually realized the specific benefits of mosh within the constraints of TCP connections. Plus you'd have to implement a lot of mosh in JavaScript (e.g, state sync protocol, predictive local echo, etc.); I was able to avoid reimplementing mosh by using Native Client, which is also not supported in mobile Chrome.

So in short, no I have no plans to make mosh work in the mobile browser. ;) I'm pretty happy using JuiceSSH on Android. If mobile Chrome begins to support Packaged Apps and Native Client, I would then consider seeing about making Mosh for Chrome work in it, but I don't know what plans there may be for that.

And to your point about quick deployment of patches, it really isn't any different between Chrome Apps and Android/iOS. They all enjoy an online "store" and automatic deployment of updates to the client.

And to your point about the complexity of testing on various mobile devices: The primary difference among devices is screen size, which would have to be tested even for a web app, so the developer would not be insulated from that responsibility. There are other complexities among devices, but an app this simple may not bump up against too many of them.

If you want to have an impact, I'd say your time would be best spent making a native iOS app. I don't know if it fits within their ecosystem, though; they're pretty strict about what apps are allowed to do.
Reply all
Reply to author
Forward
0 new messages