3 ms·
So… Somebody submitted Half Life/Xash3D as a Puter app: https://puter.com/app/half-life-c3j01ag3pyd https://puter.com/app/half-life-c3j01ag3pyd It looks like
by Intralexical 3y ago
So… Somebody submitted Half Life/Xash3D as a Puter app:
https://puter.com/app/half-life-c3j01ag3pyd https://puter.com/app/half-life-c3j01ag3pyd
It looks like it's using a build of the below, hosted on GitHub.io:
https://github.com/Pixelsuft/hl https://github.com/Pixelsuft/hl
- patife 3y ago[flagged]
- kgeist 3y agoI wonder what are the security implications. I just opened a random URL and an arbitrary application was launched inside my Internet OS desktop. What if someone gives me a link to a malicious password stealer, for example? I think a permission system would be nice.
- Intralexical 3y agoThere is a permission system I think. It's described in the developer docs: > […] your app will get a few things by default: […] An app directory in the user's cloud storage […] A key-value store in the user's space […] > > Apps are sandboxed by default! Apps are not able to access any […] https://docs.puter.com/security/ https://docs.puter.com/security/ I guess that refers to the cloud storage/backend. Clientside apps seem to run as IFrames, so should be subjected to normal browser sandboxing (…and actually, I guess, multiprocessing too), with only explicit message-passing. Honestly I think the developer API could have been better highlighted by this HN post. Puter's actually doing a bit more than the Desktop Environment mockup that's visually apparent, and not featuring that seems like a wasted opportunity to pick up some app developers.
- evere 3y agoMaybe it could be "sandboxed" in an iframe?
- splatzone 3y agoI can't get past the menu, is it just me?
- samieljabali 3y agoGot to use the keyboard to navigate the menu.
- TrackerFF 3y agoworked fin here, launched a multiplayer game - everything seemed smooth.
- RobotToaster 3y agoNot working on firefox for me.
- LeonM 3y agoHonestly blown away by this. Graphics, audio, everything just works (tm). I've seen many 'desktop in browser' type demos over the years, but never anything like this. This is impressive on so many levels.
- Intralexical 3y agoOn a technical level it's actually not that impressive. Mozilla got BananaBread/Sauerbraten running with WebGL on netbooks over a decade ago, with much more advanced graphics than Xash3D: https://kripken.github.io/misc-js-benchmarks/banana/index.html https://kripken.github.io/misc-js-benchmarks/banana/index.ht... https://wiki.mozilla.org/HTML5_Games/BananaBread https://wiki.mozilla.org/HTML5_Games/BananaBread The Half Life "app" above actually just wraps an existing Emscripten port in an IFrame. Puter does provide an abstracted filesystem (and other "OS" features), but I don't think the app above uses that, so it's no different than if you went to `data:text/html,IntralexicalOS!<br><iframe src="https://pixelsuft.github.io/hl/ https://pixelsuft.github.io/hl/" style="width:50%;height:50%">`. But actually I think putting together such a simple technical concept that works this well is the impressive part, that hasn't been done before. You can now take any existing web build of any app, and by adding a couple calls to `puter.fs.write()`, deploy it to a familiar virtual workspace where you get multitasking, cloud storage, and interoperation with other apps, for free.