News for hackers. Stuff that matters.

etherdream

Thanks! This idea is really impractical for playing videos, but it's feasible for displaying some animations, or even mini-games.
Re:Peerfetch – Peer-to-Peer HTTP over WebRTC on Friday August 02, 2024 @04:29AM (#41137073)
I have tried this idea before, combining Service Worker to implement a decentralized website.
This is not a problem, `await A` is called immediately after each read, so there will be no conflict.
Re:Show HN: Running a simple local HTTP server in a web page on Monday November 01, 2021 @12:44AM (#29063075)
sry, not wasmer-php, but php-in-browser

https://oraoto.github.io/pib/

Re:Show HN: Running a simple local HTTP server in a web page on Sunday October 31, 2021 @11:51AM (#29057845)
You are right. I am planning to add PHP, similar to wasmer-php[0], but based on Service Worker.

[0]: https://github.com/wasmerio/wasmer-php

Re:Show HN: Running a simple local HTTP server in a web page on Saturday October 30, 2021 @09:03AM (#29048444)
Not the same. Disk files can be browsed via HTTP (HTTPS), so you can preview a local static site directly, without tools such as http-server, SimpleHTTPServer, etc.