Live data from Hacker News

Ask HN: What are your favourite self-hosted tools?

news.ycombinator.com

81–90 of 147 posts

Re: Ask HN: What are your favourite self-hosted tools?

#81
One thing that hasn't been mentioned here yet is Emby.

Awesome home media library solution. I finally broke down and bought the lifetime license so I can download media to my tablet and watch it offline.

But even without the license the software is rock solid and amazing.

Other than that my list resembles other lists.

pcengines apu for home router

gitlab (I actually found that gitlab was overkill for personal use so I either use gitlab.com private repos or just git+ssh at home)

nextcloud for family pics

siptrack for password and inventory management

kodi

openvpn to access my LAN

I have a kvm hypervisor at home with a homebuilt nas for setting up testing and PoC virtually.

the nas is fedora+zfs+iscsi with one 4x2.5" SATA 5.25" bay in an external cradle connected with eSATA and one internal 5.25" bay with 6x2.5" sata disks. all disks 1TB, two separate zpools with raidz.

Re: Ask HN: What are your favourite self-hosted tools?

#83

Earlier quoted context omitted.

Is KeeWeb new? I went through an extensive search for a new password manager a few months ago when I transitioned from macOS to Arch Linux and yet I've never heard of it. I ended up settling on Enpass which is decent but not perfect. KeeWeb looks nice though, how do you like it?

FWIW, I use KeePassX [0] on Arch Linux. I also use LastPass (because $work has an Enterprise account) but I prefer using lastpass-cli [1] instead of the browser extensions. [0]: https://www.archlinux.org/packages/community/x86_64/keepassx... [1]: https://www.archlinux.org/packages/community/x86_64/lastpass...

KeePassX stoppet updating, switch to KeepassXC: https://keepassxc.org

Re: Ask HN: What are your favourite self-hosted tools?

#84

Pi-hole - network-level adblocking on a Raspi, so even devices without adblockers get that advantage Dokku - Heroku-like Docker env for Ruby on Rails development https://pi-hole.net https://github.com/dokku/dokku

What you can do, which pi-hole does, is modify your local hosts file and redirect ad URLs to 0.0.0.0. I just set it up that way, just as simple if not easier.

The point, I think, is that it will work for every device on your network that's using Pi-hole as its DNS server instead of just the local PC.

Re: Ask HN: What are your favourite self-hosted tools?

#85

Can't believe it hasn't been mentioned yet, but Nextcloud (or Owncloud): https://nextcloud.com/ It's basically self-hosted Dropbox, with clients for all mayor Desktop and Mobile OSes. I set it up for a little team project. Just one account, and a shared folder where people with a password could upload. I think we will move to individual accounts at some point. But it supports much more. It has a calendar similar to G…

yes! I am also running this. The whole family keeps their stuff in my instance. I also keep my password database in it. Do you expose it over the internet or access it through a VPN?

Same set up here, and it's very easy to install and use. Non-technical users have no problem using it either as the desktop and mobile sync clients are intuitive and reliable.

I have mine configured as a public website with most data protected by the inbuilt encryption, and I use EncFS directories to sync more sensitive data across machines. Some things require client-side encryption and this is easy to achieve.

Re: Ask HN: What are your favourite self-hosted tools?

#86

Pi-hole - network-level adblocking on a Raspi, so even devices without adblockers get that advantage Dokku - Heroku-like Docker env for Ruby on Rails development https://pi-hole.net https://github.com/dokku/dokku

I know this is a stretch but do any other HN users have a Turris Omnia router running Pi-hole? I had Pi-hole running on a Raspberry Pi no problem, but now that my router should be able to run it I'd love to learn how.

The only reference I found online is a single deleted blog post. Can someone please point me in the right direction?

Re: Ask HN: What are your favourite self-hosted tools?

#88
post #5

I wish I had a success story to tell, but I've increasingly moved away from self-hosting. Whenever something breaks I have to pull myself away from the programming I'm enjoying and go fix it. And if something breaks when I've already had a long day working under a tight deadline for a client, it feels like a disaster.

Exactly. I don't need more tamagotchis. There are enough with OS updates and whatnot.

Re: Ask HN: What are your favourite self-hosted tools?

#89
LXC Containers:

- Koel (Web-based music player; https://github.com/phanan/koel)

- Aria2 (generic downloader; https://aria2.github.io/)

- GPodder (podcast downloader; https://gpodder.github.io/)

- PiHole (mostly for curiosity, I now use full-blown DNS & DHCP servers; https://pi-hole.net/)

- OpenVPN (https://openvpn.net/)

- Pritunl (OpenVPN failover; https://pritunl.com/)

- PlexPy (Plex monitoring; https://github.com/JonnyWong16/plexpy)

- BIND (DNS server; https://wiki.debian.org/Bind9)

- ISC-DHCP (https://wiki.debian.org/DHCP_Server)

- Smokeping (connection monitoring; https://oss.oetiker.ch/smokeping/)

- Ansible (central host with playbooks; https://www.ansible.com/)

- Graylog (log aggregation; https://www.graylog.org/)

- Wallabag ("read it later"; https://wallabag.org/en)

- Home Assistant (home automation; https://home-assistant.io/)

- Bookstack (documentation; https://www.bookstackapp.com/)

- Observium (network devices monitoring; https://www.observium.org/)

VMs:

- PfSense (firewall & permanent VPN for some containers; https://www.pfsense.org/)

- Rancher (Docker orchestration; http://rancher.com/)

Rancher (Cattle environment):

+ ELK stack (https://www.elastic.co/)

+ Concourse CI (just to experiment, I prefer GitLab's CI; https://concourse.ci/)

+ Dumpster (my own temporary file upload platform, with additional YubiKey support; https://github.com/nmaggioni/dumpster)

+ Own Telegram bot (talks with ELK)

+ Let's Encrypt renewal daemon

+ FaaS (either https://github.com/iron-io/functions or https://github.com/alexellis/faas, even though I'm actually waiting for https://openwhisk.incubator.apache.org/)

+ Private Docker registry

I may have left something out, some more services/containers/VMs are disabled due to low usage.

Re: Ask HN: What are your favourite self-hosted tools?

#90
post #31

I self host everything I can at home, so this list might be a bit too exhaustive, but there wasn't any scope on this ask HN, so... Overall hardware platform: 4 pcengines alix boxes for openbsd router/firewall appliances 3 supermicro Opteron servers with KVM/corosync/Sheepdog/csync2 for hosting all VMs Software: PF + CARP + pfsync + OpenBGPD for routing Unbound + NSD + Bind for DNS SSH/OpenBSD ipsec/apache Guacamole f…

Wow that is a long and awesome list! If you don't mind me asking, how much did it cost you to setup / maintain it? Also what is the main reason driving you to self host so much stuff?

It was cheap to set up, all the cost is in time to learn to implement in a secure and performant fashion

Hardware actually cost money. Here's a breakdown:

> 4 pcengines alix boxes for openbsd router/firewall appliances

These were around $120 each with 4GB flash storage at the time. They're half that now. Low power, no cooling required, x86, 3 ethernet. You could buy APU2 now for more power

> 3 supermicro Opteron servers with KVM/corosync/Sheepdog/csync2 for hosting all VMs

I used cheap cases, eBay MB/CPU/RAM, tiered storage (green/black/ssd) to keep costs down and infiniband for 10gbit interconnects ($15/card on ebay!). I made sure to get quality components (esp MB/power supplies). One of the servers is also my desktop. I'm guessing they were about $800 each. Having the 3 node cluster is nice. When we had a forest fire threaten our town and we were ordered to evacuate I just grabbed one box and all my data was already replicated to it. When we returned home I plugged it back in and it re-synched back up.

Maintenance has been a non-issue. I haven't had any components die except the occasional HD. Power costs are the main thing. Estimate about $500/yr at $0.10/KWh

> PF + CARP + pfsync + OpenBGPD for routing

I use a local indy ISP that gives me a bunch of static IPs and lets me route a /29 with BGP. I know them fairly well, and get a sweet deal. Doesn't cost more than a regular consumer connect, though it is slower. I've used OpenBSD since the early 2.x days, and find it very easy to administer. The release and documentation quality are second to none, and I've found the community to be very helpful as long as you've tried to help yourself first.

> Unbound + NSD + Bind for DNS I keep my Bind server vlanned off and serve everything out thru unbound/nsd. Both of those programs are very easy to set up, the real beast being bind. I know there are better alternatives out there, but I know Bind well and have lots of custom config I don't want to throw away.

> SSH/OpenBSD ipsec/apache Guacamole for roaming and permanent site-to-site VPN (pcengines ALIX hosted at my inlaws in Japan)

If I were to pick one outstanding program on this list it'd probably be Guacamole. Pure HTML5 rdp/vnc/ssh/telnet/etc client that is seriously amazing. I've set it up at a half dozen places now, and it's never so much as hiccuped. OpenBSD IPSEC is VERY easy to set up, if you've had nightmare experiences with other packages!

> Apache + Lets Encrypt + awstats + relayd for serving web pages and analysis

Apache is the old standard, and awstats is cool for keeping tabs on what is going on in the logs (geoip as well). Lets encrypt was amazingly easy. I'm using certbot and set it up in under an hour. I'm forcing SSL on all my web services now. Relayd is another "so simple and it just works" package from OpenBSD. I use it as a front-end load balancer.

> ZoneMinder for video monitoring. Tied into legacy security system for automation

On Debian (my Linux distro of choice), this was simple to set up. Perl scripts to integrate it into my DSC security system. Auto arm/disarm camera recording and relay light control required the IT serial integration board and programmers manual for the system

> Postgres for database work. Some mysql/redis

I've been using postgres forever, so setup and use are second nature. An absolutely incredible piece of software engineering.

> NetDisco + Nagios + NagVis + NFSen + MRTG + Smokeping + PNP4Nagios + NUT + Splunk + Racktables for monitoring. All configs are dynamically generated from netdisco db

This is another stack I've set up at many locations (including businesses). They are a real timesink to integrate together. I have MANY custom scripts to make the config generation from netdisco work properly, but once setup you have total insight into every aspect of your network (and I forgot to list RANCID!). Netdisco/NFSen on their own are still a killer combination, and work as well or better than packages that cost tens of thousands of dollars. I'm happy to help any one trying to set these up if you PM me.

> OpenSMTPD + Citadel (webcit) for email delivery and webmail

Citadel is maybe the weakest thing I have in my stack. I'm looking at the other webmail solutions in this thread carefully

> Minetest server for kids. We use this tons as a family, and the kids spend lots of time modding. TW2002 server. TShock server.

When your kids are asking to learn LUA, you know something is working!

> OpenELEC for diskless netboot KODI machines around the house

Amazing and easy to set up if you already have your own DHCP server you can modify. Just need tftp and nfs after that. Using OLD desktop PCs for this works great. I'm using cast off dell gx290s

> Samba4 Domain controller + NFS for sharing files in different applications

I've been using Samba4 since pre-alpha (TP series) when you had to run your own LDAP server. Things are so easy now its hard to overstate. Using Bind makes it a bit trickier since I need to add some magic entries, but if you use the builtin its a single python script between you and a full SSO AD domain.

> SVN for source control and Config diffs for all servers/tools/network devices

I found SVN config to be a bit of a head-scratcher. I think this is another one where other tools are probably better nowadays. I'm looking at some of the other things people are suggesting.

> Asterisk via FreePBX / NCID for all phone/CallerID services, including remote handsets at VPN locations.

Another timesink. PBXs are hard to configure, and I'd move to another system if there was something less esoteric.

As to why I do it? I find it satisfying to learn how things work, like the idea that I'm master of my own destiny and know how my data is being used

Any specific questions, let me know!

Post reply on HN