10 ms·
Hostyoself: Server in a browser – host from your computer, your phone, etc.
- tmikaeld 7y agoSo, a proxy?
- vidarh 7y agoCoupled with some client JS running in your browser that will act as the backend for the proxy, yes. It's cute. Basically transient sharing of content from any device with a browser that supports websockets without needing a separate client.
- dusted 7y agoThat's what I've understood, they'll have to provide bandwidth, and they'll have to use as much upload as download (though that's rarely a problem).. But still, scaling it would be interesting, but as a proof of concept it's still interesting, as they're not providing storage or processing.
- dusted 7y agoWe just tried it, very slow at the moment.
- tmikaeld 7y agoI'm more curious as to the legal implications of what people might share when using the service, even if (s)he's not the one hosting, (s)he's providing bandwidth and enabling access.
- wrayjustin 7y agoJust as any other intermediate device, service, or system is doing. The host ISP, the hostyoself.com ISP, the various routers, firewalls, networks between the two, and all the same for the end-user, any proxy servers on the path, etc. A lot of entities are hosting/enabling access to the content.
- tmikaeld 7y agoThat's why it's interesting, in Sweden a person is = IP. Which in this case is considered the owner. There's also been a case recently where a private person has been hold personally responsible for other peoples facebook comments.
- anderspitman 7y agoOr you can self-host it.
- hedora 7y agoIn an alternate reality, they could front it with a CDN, and have it scale linearly at the backend.
- erickedword 7y agohttps://www.luluboxapk.com/ https://www.luluboxapk.com/
- negamax 7y agoFrom the README > Does this use AI or blockchain? Sure, why not. They won the Internet!
- fredsted 7y agoWhat, no 5G 8K? Psh!
- Msurrow 7y agoBoth AI and Blockchain?! This should be included in our corporate strategic planning of our digital lean agile transformation. Also - trains!
- Intermernet 7y agoAnd it's serverless, and cloud!
- joshgel 7y agoMORE! >What's the largest file I can host using this? ¯\_(ツ)_/¯ >Should I use this to host a website? Dear god yes. >Does this use AI or blockchain? Sure, why not. <3
- mnajiri 7y agoطريقة سهلة جدا لحل مشكلة رد على تعليقات في بعض قوالب بلوجر التي لا تشتغل فيها خاصية الرد كل ما عليك هو إضافة هدا سكربت لحل المشكلة https://mdwab.blogspot.com/2019/07/problem-reply-Comments-blogger.html https://mdwab.blogspot.com/2019/07/problem-reply-Comments-bl... #ماتريال_ويب #بلوجر #مدونات #mdwab #blogger #js
- Santosh83 7y agoVery related to this project is the Beaker Browser, which however uses P2P topology instead of a conventional proxy server.
- lucaspottersky 7y ago> What inspired this? beaker browser, ngrok, localhost.run, inlets.dev, Parks and Recreation.
- superboum 7y agoA better solution would be to integrate propositions like dweb[1] in browsers then simply use socket listening. Without socket listening, using WebRTC to create direct connections is also a solution. UPnP and ICE can help to configure routers and/or bypass their restrictions. Using these technologies instead of OP centralized proposition would improve reliability, scalability, security and sustainability : currently hostyoself.com returns a 502 bad gateway. [1]: https://github.com/mozilla/libdweb https://github.com/mozilla/libdweb
- pbhjpbhj 7y agoI find myself saying this a lot recently: Opera Unite, integrated a p2p web server for social messaging and file sharing. Wish it had taken hold, that looked like the stepping stone to federated social web to me.
- myfonj 7y agoFor those wondering what "Opera Unite" means, some archived resources from 2009: https://web.archive.org/web/20090618010520/http://unite.opera.com/ https://web.archive.org/web/20090618010520/http://unite.oper... Introduction: https://web.archive.org/web/20090618160336/http://dev.opera.com/articles/view/an-introduction-to-opera-unite/ https://web.archive.org/web/20090618160336/http://dev.opera.... Developer's primer: https://web.archive.org/web/20090618170044/http://dev.opera.com/articles/view/opera-unite-developer-primer/ https://web.archive.org/web/20090618170044/http://dev.opera.... (Links taken from Czech wiki article, https://cs.wikipedia.org/wiki/Opera_Unite https://cs.wikipedia.org/wiki/Opera_Unite ) (I've never been fan of Opera but this project seemed great and so ahead of it's time. In retrospect I regret my antipathy prevented me to even try it.)
- pbhjpbhj 7y agoI used it and was all-in, sure that this was going to change the interwebs overnight, kinda like I went all-in on XHTML & semantics (eg microformats). One of the facets was like Facebook's wall, they called it the "fridge door" IIRC, your friends could leave messages p2p and you could open directories really easily to share with anyone who had the right credentials (your "friends"). It really did pop out the middlemen -- share files direct from your computer by giving someone a link (like you would with Dropbox, but peer to peer); message people like on Facebook, but p2p ... some of that might be anticipation of developments rather than the actual product as set. It makes a lot of sense to me.
- lhoff 7y agoOh well, HN hug of death killed it. Hopefully no one uses this for anything critical.
- ivanb 7y agoIANAL but from the position of law any illegal content shared this way is hosted by the owner of hostyoself.com
- necovek 7y agoDoesn't the same hold for any publicly accessible platform where people can post stuff? Eg. instagram, youtube, facebook... They can deal with it in the same way: someone complains, you kill it off :-)
- wrayjustin 7y agoI would argue it is true for user-hosted content sites but it not true here (see my previous reply). This solution is not hosting the content at all. That's not to say they couldn't use the same approach to legally questionably or illegal content: If they have a proper complaint or takedown request, they stop forwarding to that content host.
- syn0byte 7y agoNot a professional liar either but I'm not sure about that. I imagine torrent trackers are a decent analog thats been through the courts already. They don't host the content, they just host URIs and metadata to people that host the content. The drag and drop interface isn't to upload the content to be hosted like a traditional server (what's the point then?) It looks like (without digging through code) it's so they can parse the file-structure and generate the URIs to forward requests.
- wrayjustin 7y ago> It looks like (without digging through code) it's so they can parse the file-structure and generate the URIs to forward requests. I haven't looked at the code either. But the hosting seems to be handled in JavaScript. There are no required clients (though there does seem to be an optional one); this is all completed in the browser. So you're not "uploading" content, you're providing the content to the client-side application so it can be shared through that same client-side solution.
- DarkWiiPlayer 7y ago> Does this use AI or blockchain? Sure, why not. uh... okay?
- chaseha 7y agoHe's being cheeky..
- anderspitman 7y agoPersonal plug: if you want something similar that supports Range requests (ie streaming), check out fibridge[0][1][2]. However, I haven't tried adding support for setting web mime types so you can actually run a website off of it like hostyoself. That's any interesting use case that I'll have to look in to. [0] https://fbrg.xyz/ https://fbrg.xyz/ [1] http://iobio.io/2019/06/12/introducing-fibridge/ http://iobio.io/2019/06/12/introducing-fibridge/ [2] https://github.com/anderspitman/fibridge-proxy-rs https://github.com/anderspitman/fibridge-proxy-rs
- swalsh 7y agoThis reminds me of the time Opera made some big annoucement in 2009 that they were going to "reinvent the web", and when they finally revealed what it was, it was basically host some files from your browser. https://www.zdnet.com/article/opera-reinvents-the-web-will-anyone-notice/ https://www.zdnet.com/article/opera-reinvents-the-web-will-a...
- david927 7y agoBut... that's huge. And it is a big step toward a necessary reinvention of the web. There is more that's needed but that's absolutely a big piece of it.
- Quai 7y agoAnd that's where Opera failed. Marketing. It was much more than just "host some files from your browser"; if was a full ecosystem with a "app-store" and technology that made it work behind NATs etc. IMHO, the thing that killed Unite (or Alien, as the project was called internally at Opera) was the lack of a killer feature/app that could show off the technology to end users. Too much focus on technology, and way to little focus on apps. It kinda reminds me of Google Wave in many ways. (At an internal hackaton in Opera, me and some colleagues built a rc-car controlled trough Opera Unite with a webcam and custom javascript plugin to control a servos directly from the browser. We also ended up building a picture frame powered by Opera Unite, and got to present it at a stand at MWC Barcelona. Fun times!)
- shadofx 7y agoI remember using Opera coupled with a Java program which repeatedly took screenshots to create rudimentary online streaming. This was back before Twitch.tv, when web streaming was low-quality. The screenshot stream allowed me to clearly read the text chat and monitor enemy player activity in an MMORPG running at home, from school computers. Good times
- cadecairos 7y agoThis seems a lot like https://github.com/humphd/nohost https://github.com/humphd/nohost
- anderspitman 7y agoDoes nohost let you host sites that others can access, or is it just available in the local browser?
- seddin 7y agoThat parcs and rec meme is awesome!
- 6cd6beb 7y ago> That parcs and rec meme is awesome! >They won the Internet! I thought this place was supposed to be better than that.
- shakyshakyshaky 7y agoI don't want to sound like a conspiracy theorist, but it reeks of manufactured support.
- istjohn 7y agoThis is Hacker News. This project is perfectly targeted for the audience here.
- snek 7y agoTo clarify: there is no server in your browser. You just shoot data across a websocket through https://hostyoself.com/ws https://hostyoself.com/ws
- beamatronic 7y agoMy definition would be if it’s largely sitting around doing nothing until a request comes in, and its job is to answer and service those requests, then it’s a server.
- anderspitman 7y agoDoes the fact that it runs through a proxy make it less of a server?
- boomlinde 7y agoThe fact that it's not a server in your browser, but a client to a server on the backend makes it less of a server in your browser
- mrbungie 7y agoNo true Scotsman detected. By extension of that argument you could argue that no server is a true server: The fact that it's not a server in the _X_, but a client to a [_Y_ in [Database, DNS, Router, Caching Server, Search Server, REST API, etc]]_ on the _Z_ makes it less of a server in the _X_. Maybe we should stop using the word "server" and use "client graph", or just continue accepting that there are different layers in a system.
- boomlinde 7y ago> By extension of that argument you could argue that no server is a true server No, it couldn’t. For example, I could say that nginx is a server on my computer, and it would be true because it’s running on my computer and is accepting connections from clients, regardless of whether it’s a client to some other service. My browser isn’t. Why stop using the word ”server”? Just stop watering it down and the meaning will be perfectly clear.
- johnchristopher 7y agoOpera had something like that built-in years ago. I don't remember if it made it out of the preview feature.
- tbirrell 7y agoWhat prevents hostyoself.com (or more likely, a malicious actor that hacked HYS) from executing a MITM attack on everything?
- filmgirlcw 7y agoI would never use this but I love that it exists and I love the humor/personality behind the project.
- sorz 7y ago> Won't I have to reload my browser if I change a file? > Yep! Welcome to the joys of Javascript. Although it (re-)sends file for every request, the file content must be identical. So the relay server may just cache the file. Once you do that, it becomes more like a traditional static file hosting w/ on-demand file uploading via browser.
- erikig 7y agoThis is pretty awesome and their list of inspirations is a veritable goldmine of tools I hadn't seen or used before - https://beakerbrowser.com https://beakerbrowser.com - P2P Web in the browser (Opera Unite Redux) - http://localhost.run http://localhost.run & inlets - ngrok with feathers and a monocle
- shtack 7y agoWe've been working on a very similar idea to this for the past few months: https://pocketweb.io https://pocketweb.io There is a very early beta available on both iOS and Android. We've thought a lot about battery and data and have gotten really good results by leveraging existing radio wakeups, batching requests, and doing all sorts of optimizations to the sites themselves. Right now we're focused entirely on personal websites, because we believe the majority of those can actually easily be hosted on a phone (eg. How many people actually view your LinkedIn page every day? A single Facebook page doesn't require a datacenter. Etc). We're limited to single static pages with images right now but better support for multiple pages and server code with SQLite is coming. More template types, for example stores, are coming as well. Let us know what you think!
- codesushi42 7y agoUnderwhelming, this just proxies the request through an external web server that handles it. It would be interesting to see something using WASM to run a web server in the browser. And some kind of decentralized replacement of DNS gateways for host resolution.
- anderspitman 7y agoPretty sure you're describing DAT/Beaker browser. I'm not super familiar with it though so could be wrong.
- chhickman 7y ago> It would be interesting to see something using WASM to run a web server in the browser. You could possibly get one going on top of something like this: https://browsix.org/ https://browsix.org/
- bluesmoon 7y agoAnyone remember browserver posted to HN 7 years ago: https://news.ycombinator.com/item?id=4366555 https://news.ycombinator.com/item?id=4366555
- o_nate 7y agoI could see a use case for something like this to temporarily share a picture or other file on a web message board, for instance.
- m1cl 7y agoThis is better than nothing?
- m1cl 7y agoThe is better than nothing?