Hacker News new | past | comments | ask | show | jobs | submit login

I self-host most of what I need but I recently faced the ultimate test when my Internet went down intermittently.

It raised some interesting questions:

- How long can I be productive without the Internet?

- What am I missing?

The answer for me was I should archive more documentation and NixOS is unusable offline if you do not host a cache (so that is pretty bad).

Ultimately I also found out self-hosting most of what I need and being offline really improve my productivity.






I find that self hosting "devdocs" [1] and having zeal (on linux) [2] solves a lot of these problems with the offline docs.

[1] https://github.com/freeCodeCamp/devdocs

[2] https://zealdocs.org/


For offline documentation, I use these in order of preference:

• Info¹ documentation, which I read directly in Emacs. (If you have ever used the terminal-based standalone “info” program, please try to forget all about it. Use Emacs to read Info documentation, and preferably use a graphical Emacs instead of a terminal-based one; Info documentation occasionally has images.)

• Gnome Devhelp².

• Zeal³

• RFC archive⁴ dumps provided by the Debian “doc-rfc“ package⁵.

1. https://www.gnu.org/software/emacs/manual/html_node/info/

2. https://wiki.gnome.org/Apps/Devhelp

3. https://zealdocs.org/

4. https://www.rfc-editor.org/

5. https://tracker.debian.org/pkg/doc-rfc


Each downtime is an opportunity to learn the weaknesses of your own system.

There are certain scenarios you have no control over (upstream problems), but others have contingencies. I enjoy working out these contingencies and determining whether the costs are worth the likelihoods - and even if they're not, that doesn't necessarily mean I won't cater for it.


When my rental was damaged by a neighbouring house fire, we were kicked out of the house the next day. This was a contingency I hadn't planned well for.

I have long thought that I need my homelab/tools to have hardcases and a low power, modularity to them. Now I am certain of it. Not that I need first world technology hosting in emergency situations, but I am now staying with family for at least a few weeks, maybe months, and it would be amazing to just plonk a few hardcases down and be back in business.


I've taken this as far as I can. I love being disconnected from the internet for extended periods - they're my most productive times

I have a bash alias to use wget to recursively save full websites

yt-dlp will download videos you want to watch

Kiwix will give you a full offline copy of Wikipedia

My email is saved locally. I can queue up drafts offline

SingleFile extension will allow you to save single pages really effectively

Zeal is a great open source documentation browser


Could you share the bash alias? I would love this too.

https://srcb.in/nPU2jIU5Ca

Unfortunately it doesn't work well on single page apps. Let me know if anyone has a good way of saving those


The only way I know of is prepossessing with a web browser and piping it to some thing like monolith [0]

So you end up with something like this [1]:

> chromium --headless --window-size=1920,1080 --run-all-compositor-stages-before-draw --virtual-time-budget=9000 --incognito --dump-dom https://github.com | monolith - -I -b https://github.com -o github.html

- [0] https://github.com/Y2Z/monolith

- [1] https://github.com/Y2Z/monolith?tab=readme-ov-file#dynamic-c...


> and NixOS is unusable offline if you do not host a cache (so that is pretty bad).

I think a cache or other repository backup system is important for any software using package managers.

Relying on hundreds if not thousands of individuals to keep their part of the dependency tree available and working is one of the wildest parts of modern software developmemt to me. For end use software I much prefer a discrete package, all dependencies bundled. That's what sits on the hard-drive in practice either way.


https://kiwix.org/en/ and some jellyfin setups are a great offline resource.

But yeah, things like NixOS and Gentoo get very unhappy when they don't have Internet for more things. And mirroring all the packages ain't usually an option.


You can reverse resolve Nix back down to just the source code links though, which should be enough to build everything if those URLs are available on your local network.

I'm not too familiar with NixOS, but I've been running Gentoo for ages and don't know why you'd need constant internet. Would you mind elaborating?

For installing new things - they assume a working Internet.

Ubuntu and CentOS at least HAD the concept of a "DVD" source, though I doubt it is used much anymore.


Nixos is perfectly usable without an Internet connection. I've never encountered an issue, and in fact I've joked with my wife that considered as an overall end-to-end system (i.e. including the Internet dependency), my jellyfin instance gets better uptime than something like Spotify would.

You can't install or update new software that you'd pull from the web, but you couldn't do that with any other system either. I can't remember specifically trying but surely if you're just e.g. modifying your nginx config, a rebuild will work offline?


So this is what I thought for a long time and tested several time sucessfully.

But surprisingly the day I needed to change a simple network setting without the internet I got stuck ! I still can't explain why.

So I now feel we are rolling the dices a bit with an offline NixOS


having a .zip of the world, also helps, even though being a lossy one. i mean - always have one of the latest models around, ready for spin. we can easily argue llms are killing the IT sphere, but they also are a reasonable insurance against doomsday.

If by doomsday you mean “power out for a few hours”, sure.

Or few days. But I can also imagine being power independent with your own robotry to sustain even longer power offs. But you’ll also need be very well hidden as society likely collapses in matter of days if this ever happens.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: