Live data from Hacker News

Show HN: Self-hosted offline Internet from your browsing history

github.com

131–140 of 166 posts

Re: Show HN: Self-hosted offline Internet from your browsing history

#131
post #67
post #63

Seems cool, but can someone explain to me the need for all of the obfuscated code in the files with "22120" in the name?

I think those are the build artifacts

That's true. If you ran without minimize in webpack it would not look obfuscated

Re: Show HN: Self-hosted offline Internet from your browsing history

#132

It looks like something I'd appreciate! I make a significant effort to archive things that I think I'll need. Unfortunately it didn't work when I just tried installing it now (macOS 10.13.6, node v14.8.0). MacBook-Pro:Desktop peter$ npx archivist1 npx: installed 79 in 8.282s Preferences file does not exist. Creating one... Args usage: Updating base path from undefined to /Users/peter... Archive directory (/Users/pete…

Damn I got that issue before...Just now reported on the repo. I feel really sorry for you and all the people who haven't had the good experience of using this. I will take a look.

Re: Show HN: Self-hosted offline Internet from your browsing history

#133

This is a neat idea, but I wish it would respect some basic Unix standards by default. Two big annoyances jump out at first glance: it assumes you want to use port 22120, and it puts its config in ~/22120-arc. Maybe both of these are configurable, but the directory is a terrible default. Use XDG (~/.config/22120) or at least use a hidden directory in the home dir. And the port it operates on should be completely conf…

Hey, I feel really sorry for you that you did not have a good or accurate experience of this. It must seem like it does not respect your wishes, or would not if your tried it more.

Okay so...

The config is actually located in hidden file, here: https://github.com/c9fe/22120/blob/8b6cc758f14d34f564fd3a838...

    const pref_file = path.resolve(os.homedir(), '.22120.config.json');

And the port is fully configurable here https://github.com/c9fe/22120/blob/8b6cc758f14d34f564fd3a838...

  const server_port = process.env.PORT || process.argv[2] || 22120;
I don't agree with you about the name. And I get if you're saying you feel the name should not be linked to a port number, but i also don't agree.

I guess i can explain my thinking, but I'm not sure if they will help you understand or like it. Basically I like the name and I did consider changing it a few times but it just stuck for a number of reasons. And I can't remember exactly now but the port number might have come after the name. I think it's a good idea and cool if you have the server running on the same board that the name is but at the same time I know you might have something else running on that port so that's why I made it configurable. I guess she might also want to run more than one copy... But I'm pretty sure that we can't open two chrome windows with different debugging ports using the same user data directory.

Anyway, that might be more info than you want or care for, and it might not help, but hopefully you have a clearer picture at least. I get if you still don't like it, but i just feel sorry for you that you didn't have a good experience of this. I did not design it to annoy you.

Re: Show HN: Self-hosted offline Internet from your browsing history

#134
post #8

I'd love to use this on my mobile, as that's where I mostly have problems with connecting to internet, but it still looks pretty interesting

It's a good point but so far I don't think there's a way to open the debugging Chrome port on mobile and connect to it. But I think that probably should be some way, it's just not obvious to me right now.

Re: Show HN: Self-hosted offline Internet from your browsing history

#135
Hello everyone! Thank you for the love I really appreciate it. I did not expect this to blow up like it has I got up this morning and it was sitting on front page and there's a lot more interest which is great. I feel sad for some people to see that they are having issues with the binaries/connecting to chrome, I will get to work on that today and hopefully have some resolutions pushed out in half a day, so please check back for update. And I really appreciate all the feedback, it's very good to know how people are experiencing this. Thank you again for all your support.

Re: Show HN: Self-hosted offline Internet from your browsing history

#136
Search in the roadmap is exciting. It'd often be great to constrain search to just the pages I already visited, and there's never an option to do so. And because it's not a full index of the web with billions of pages, this search could be _a lot_ smarter than general purpose search, since it could actually understand both the pages and the query better in a completely privacy-protecting way using recent techniques that are cost prohibitive if you have to run at 1M QPS. Make it so!

Re: Show HN: Self-hosted offline Internet from your browsing history

#137
post #61

Earlier quoted context omitted.

I ran a BBS, my friend :) I'm quite familiar with modems. I just never used Windows (or the web!) until well past the Netscape era, so I'm not too familiar with the intersection of modems and early web browsers. > Netscape had integration with the modem connectivity for the OS and would initiate a connection when you tried to visit a remote page. That's not "integration with modem connectivity", that's just going thr…

> In which case, would the page, in fact, be served from the client-side cache, or would you just get nothing? IIRC, some of the browsers, in "offline mode", would actually serve pages from the local cache, not even attempting to fetch them from the remote server. If you attempted to navigate to a page that hadn't been cached, you got an error of some kind.

I can confirm this behavior, I was there.

Re: Show HN: Self-hosted offline Internet from your browsing history

#138
post #61
post #56

Earlier quoted context omitted.

You must be young :) These browsers were born in the era of dialup Internet that had per minute charges and/or long distance charges. At the very least you were tying up your family's phone line. Basically it's like paying for every minute your cable modem is plugged in. For the feature itself: Netscape had integration with the modem connectivity for the OS and would initiate a connection when you tried to visit a re…

I ran a BBS, my friend :) I'm quite familiar with modems. I just never used Windows (or the web!) until well past the Netscape era, so I'm not too familiar with the intersection of modems and early web browsers. > Netscape had integration with the modem connectivity for the OS and would initiate a connection when you tried to visit a remote page. That's not "integration with modem connectivity", that's just going thr…

- What does “offline mode” do?

Browser shows “I’m offline. Do you want to proceed?” dialog. If OK, tries to open socket. Upon such request, OS will try to dial up on modem with PPP, which takes ~30s. PPP session disconnects after few minutes. Else abort. If browser is online in the first place, skip that dialog part.

- Was caching a thing? Did disks have room to hold cache?

Oh it was, there were rooms. Alas, 56kbps(7kB/s) ideal means each pages are kilobytes to single megabyte large at most. ADSL connections at ~1Mbps(1/8 MB/s) means a 256kB page loads in 1 second on a fine day. Even a 200MB disk space holds 1024 of such ~200kB pages, and IE back in those days had a hidden attributes but ordinary folder deep down from C: that holds about that large random cache of files that it decided to hold.

Fuck I’m old now

Re: Show HN: Self-hosted offline Internet from your browsing history

#139

Hello everyone! Thank you for the love I really appreciate it. I did not expect this to blow up like it has I got up this morning and it was sitting on front page and there's a lot more interest which is great. I feel sad for some people to see that they are having issues with the binaries/connecting to chrome, I will get to work on that today and hopefully have some resolutions pushed out in half a day, so please ch…

Thank YOU! And I want to ass that a Chrome extension is not a very internet friendly choice. Firefox needs all the love it can get these days. :)

Re: Show HN: Self-hosted offline Internet from your browsing history

#140
post #10
post #6

Awesome! I always wanted this and at one point tried to achieve it with WWWOFFLE, but the welcome proliferation of https thwarted that attempt. Gonna check it. Unfortunately only for chrome. I am very much used to having my favourite set of Firefox plugins. Will have to check whether I can replicate that with Chrome.

Unfortunate state of affairs with firefox extentions. Niche extentions do not exist anymore. I had to switch to chrome for extensions. Finding a chrome extension that provides similiar functionality to your firefox ones should be easy.

> Unfortunate state of affairs with firefox extentions. Niche extentions do not exist anymore.

Interesting. I find Chrome extensions to be very limited in what they can achieve. Can not do without Tree Style Tab...

Post reply on HN