Live data from Hacker News

Raspberry Pi as a local server for self hosting applications

cri.dev

251–260 of 321 posts

Re: Raspberry Pi as a local server for self hosting applications

#251

This is related because I'm exclusively interested in building a local-network-only media server to serve my firestick and a laptop, but are plex (nice interface, for some reason requires a sign-in to their service, some sort of paid features) or emby (similar) the only options? If I for example wanted to just access my media library through firestick and windows with a kinda neat interface without paying anybody or…

From the sound of it, making a pure FTP file server and then using Kodi client software on windows and firetv (or the firetv specific versions) is exactly what you’re after.

Re: Raspberry Pi as a local server for self hosting applications

#252
post #216

Earlier quoted context omitted.

> The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. You'll need don't need any of that with Onion Services. Tor does not only anonymize, but offers easily configurable services with NAT punching, an .oni…

Isn't tor exceptionally slow though? I haven't used it in a few years - has anything changed?

It is. It's not practical for this use-case.

Re: Raspberry Pi as a local server for self hosting applications

#253

This is related because I'm exclusively interested in building a local-network-only media server to serve my firestick and a laptop, but are plex (nice interface, for some reason requires a sign-in to their service, some sort of paid features) or emby (similar) the only options? If I for example wanted to just access my media library through firestick and windows with a kinda neat interface without paying anybody or…

It seems that Kodi[1] would be your perfect choice, and that is indeed what I'm using in a very similar setup.

Setup your media (local or remote) library, and the scraper will enrich it with posters, synopsis, actors, etc.

[1] https://kodi.tv/

Re: Raspberry Pi as a local server for self hosting applications

#254
post #66

One thing to watch out for when doing something like this is that the Raspberry Pi will by default put your file system on the SD card it boots from. SD cards aren't meant to support a lot of write/erase cycles, so it's easy to end up with a corrupt SD card after a few months to a year depending on what you're doing on your Pi. A workaround that can save you some headaches here is to only boot from the SD card (which…

Very true for a given value of true 8) You need to evaluate all the components. The RPi itself is a decent piece of kit, well tested and safe to use. Get a decent power supply to it - either a RPi branded one or at least a decent mobile charger from a brand that you trust. I generally use a decent USB stick nowadays. RPi 4 from about a month or so ago onwards will do this out of the box. You can also put a second USB…

I really think PI I doesn't make sence for this usecase, I strongly reccomend getting any random Intel-atom based mini pc off ebay, they cost similar, have proper storage and a heatsink. I have never come across one where ubuntu doesnt work.

Pi really shines when you are interacting with hardware sensors, or need ARM.

Re: Raspberry Pi as a local server for self hosting applications

#255

This is related because I'm exclusively interested in building a local-network-only media server to serve my firestick and a laptop, but are plex (nice interface, for some reason requires a sign-in to their service, some sort of paid features) or emby (similar) the only options? If I for example wanted to just access my media library through firestick and windows with a kinda neat interface without paying anybody or…

It seems that Kodi[1] would be your perfect choice, and that is indeed what I'm using in a very similar setup. Setup your media (local or remote) library, and the scraper will enrich it with posters, synopsis, actors, etc. [1] https://kodi.tv/

+1 to this

Re: Raspberry Pi as a local server for self hosting applications

#256
post #95

Earlier quoted context omitted.

My ISP provides me with a CGNAT IPv4 address, so I can't hope to access externally. They delegated a /56 IPv6 subnet to me though. So I just setup Prefix Delegation on my router and allowed in TCP port 443 in the IPv6 firewall. I setup an NGINX reverse proxy. I set a static IPv6 address in my subnet on my servers. My mobile phone provider has IPv6 dual stack. In my public DNS I setup an AAAA record. So I can access a…

This is a good example of the benefits of IPv6. Interesting.

Same here. Static 256 ipv6 block no ipv4

Re: Raspberry Pi as a local server for self hosting applications

#257

Earlier quoted context omitted.

There's a lot of solutions sibling comments have already brought up, but I don't know if it should be this automagical. Keeping services up to date requires effort, money, or a big reduction in freedom of what you can do with your server. There's a full-automatic mail server program, maininabox, that tries to be this instant "just make it work" system. The result of the project is that the host OS was severely outdat…

Sandstorm(.io) is very cool, and it does make managing your self-hosted web apps very easy. But it does not run Docker containers and it only runs on Linux x86-64. (There have been some attempts at running Docker containers with Sandstorm, but they are not easy to use.) Instead, the web applications must be specifically packaged for Sandstorm.

Oh, I suppose I was mistaken. Perhaps I confused it with one of its competitors I can't remember the name of right now.

Re: Raspberry Pi as a local server for self hosting applications

#258
post #235

The hardware is there (RPi + USB storage). The server software is there (NextCloud, Plex, n8n, etc). What isn't there is the plumbing. The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. There are lots of…

Start by having a look at subspace https://github.com/subspacecloud/subspace

The original repo is receiving very little updates and maintenance, if any. I'd recommend the community fork at https://github.com/subspacecommunity/subspace instead.

Re: Raspberry Pi as a local server for self hosting applications

#259

Earlier quoted context omitted.

Do those ISPs with CGNAT also provide IPv6?

No, and they have no excuse. The cable ISP recently switched to a DOCSIS 3.1 network in certain areas, and almost all customers have a modem/gateway that has IPv6 support perfected (IPv6 is quite an old thing, would be weird for it not to work properly now - on the CPE side), but nope, they don't want to. They don't like their users being able to host content, given the fact they make it extremely difficult to pay fo…

That is odd. I'm not involved in networking or ISPs, but supposedly a big motivation for IPv6 is to reduce load on CGNAT systems -- they're expensive, and problems with them generate support calls.

e.g. https://www.retevia.net/prisoner/

Re: Raspberry Pi as a local server for self hosting applications

#260

The hardware is there (RPi + USB storage). The server software is there (NextCloud, Plex, n8n, etc). What isn't there is the plumbing. The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. There are lots of…

Or just setup Tailscale, which takes about two minutes.

Thank you for introducing me to this wonderful service. I have been trying to make services like ngrok work for the past few days. But Tailscale is way eaisier.

I have a small question though and I would be very much thankful if somebody answers it.

Say I use tailscale to get my RPi's torrent client webui to be accessible via LTE on my phone. I run tailscale on both devices and access the webui by typing 100.* IP that tailscale provides. My question is that since it is running like a VPN, is my torrent traffic also getting routed through tailscale servers/relays or just the traffic that gets sent/received from the 100.* IP addresses.

Post reply on HN