TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Run Linux in your Browser JSLinux (Update)

109 pointsby js4allalmost 14 years ago
Have you noticed the update?<p><pre><code> - There is clipboard support (bi-directional) - It runs on Chromium 13 - It runs on iPad!! (If it does not take your input, set the focus to the clipboard edit box) </code></pre> http://bellard.org/jslinux/<p>And as a side-note, Tom has ported JSLinux to node.js<p>https://groups.google.com/d/topic/nodejs/B0OUf_Bd15E/discussion

16 comments

cstrossalmost 14 years ago
I am a demanding luser. My javascript coding skills are non-existent, and I recognize that I'm asking for the moon on a stick here, and HN isn't the right place to make feature requests anyway.<p>But I'd love to see some extra features ...<p>What I'd like to see?<p>1. Support for loading and mounting additional read-only filesystem images embedded within the web page (presumably serialized and encoded in Base64 or something).<p>2. Support for a translucent FS, to allow writes to a ramdisk to show up on top of the aforementioned read-only FS images.<p>3. Support for writing out an updated copy of the JSLinux HTML file, with a saved copy of the read-only filesystem, including changes merged in from a translucent mount.<p>(In other words: you can edit files on a designated filesystem, then "save" the VM webpage and get a new copy of JSLinux with your edits added to the external filesystem so they're there next time you fire it up..)<p>4. For added fun (but arguably this is an entirely different requirement), I'd like to see a version of JSLinux merged with TiddlyWiki, so you'd have a combined TiddlyWiki (for documentation) with a virtual Linux environment (terminal only) embedded in it, and the ability to save changes.<p>You'd then have a single file containing (a) a hypertext documentation system and (b) a command line Linux environment.<p>I would ... well, "killing" is too strong a word; but I'd probably move into it for good, using vi and MultiMarkDown for book production and small-scale programming projects and TiddlyWiki to keep track of ideas and notes.
tzuryalmost 14 years ago
A complete list:<p><pre><code> added support for more browsers including Opera 11.11 and __Internet Explorer 9__ reduced VM RAM size from 32 MB to 16 MB. Source code release of the Linux starter utility. added a clipboard to exchange data between the VM and the host added FAQ and News pages fixed monospace font for some browsers. fixed binary XHR for Firefox nightly builds fixed terminal height for the less command fixed ampersand output in the terminal.</code></pre>
antirezalmost 14 years ago
This running on the iPad is the win of the hacking, curiosity and intelligence over the closeness. As without any good reason (IMHO) such a project would never be approved as an app by Apple.
评论 #2573000 未加载
chmikealmost 14 years ago
Clickable link: <a href="http://bellard.org/jslinux/" rel="nofollow">http://bellard.org/jslinux/</a>
NSMetaalmost 14 years ago
It still doesn't work on my Chrome v13.0.767.1 dev on OSX. Nevertheless, I'm glad to see the project is moving fast forward.
评论 #2573001 未加载
评论 #2573036 未加载
评论 #2573116 未加载
Typhonalmost 14 years ago
It still doesn't make coffee, but I expect it won't be long now. My mind is still blown.
argyalmost 14 years ago
It works on Android stock browser (Nexus One with Gingerbread), but it's very slow, especially on boot.
rimantasalmost 14 years ago
I've tried to compile <a href="http://bellard.org/mersenne.html" rel="nofollow">http://bellard.org/mersenne.html</a>, alas not enough memory. Pity, that would be full win.
martinramealmost 14 years ago
Amazing, this guy is impressive.<p>BTW. It would be really nice to include an SSH client to JSLinux.
评论 #2573772 未加载
balakkalmost 14 years ago
In Opera 11.11, I seem to get a max of 8 instances going, but not more. Is there a technical limitation, or a deliberate restriction?<p>Memory seems to be OK, the browser is just past a Gig. Although this is a 32-bit OS, I don't see a memory issue.
评论 #2574846 未加载
cstrousealmost 14 years ago
Works great on Chrome 11.0.696.68 running on OS X 10.6.7. I'll be keeping an eye on this project. Great work.
sebastianavinaalmost 14 years ago
Damn, that page (bellard.org) is full of awesomeness... Pardon for my ignorance, but who is this guy?
mahrainalmost 14 years ago
In addition to running on iPad, it also runs on Safari (5.0.5, snow leopard) now.
eslaughtalmost 14 years ago
Where's gcc? ;-)
评论 #2575633 未加载
DrCatboxalmost 14 years ago
Whats the point of this? Is it useful?
评论 #2573197 未加载
KonradKlausealmost 14 years ago
I'm wondering when he releases the clipboard source code. On the kernel side it's a custom character device. Currently he is violating the GPL. :-(
评论 #2573014 未加载
评论 #2572995 未加载