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
Show HN: Self-hosted offline Internet from your browsing history
131–140 of 166 posts
Re: Show HN: Self-hosted offline Internet from your browsing history
#132It 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…
Re: Show HN: Self-hosted offline Internet from your browsing history
#133This 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…
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
#134I'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
Re: Show HN: Self-hosted offline Internet from your browsing history
#135Re: Show HN: Self-hosted offline Internet from your browsing history
#136Re: Show HN: Self-hosted offline Internet from your browsing history
#137Earlier 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.
Re: Show HN: Self-hosted offline Internet from your browsing history
#138Earlier 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…
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
#139Hello 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…
Re: Show HN: Self-hosted offline Internet from your browsing history
#140Awesome! 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.
Interesting. I find Chrome extensions to be very limited in what they can achieve. Can not do without Tree Style Tab...