4 ms·
I'm building a small personal server device that lets you self-host services in containers and then access them via proxy over WebRTC (so you don't even need a
by iammisc 5y ago
I'm building a small personal server device that lets you self-host services in containers and then access them via proxy over WebRTC (so you don't even need a dedicated IP).
I'm in the process of moving my website over from AWS to my own infrastructure (I was using S3 and their CDN for my blog, but unfortunately, the Parler debacle made me rethink my association with them), but the repositories (which are old and need to be updated... this is my hobby project) are on github.
This is my nixos extension to use musl and runit instead of glibc and systemd: https://github.com/intrustd/appliance https://github.com/intrustd/appliance
built off of my own fork of nixpkgs: https://github.com/intrustd/nixpkgs https://github.com/intrustd/nixpkgs (forked from a the 19.* releases I think... some changes need to be merged upstream).
Currently, I have it running on an O-Droid HC2 and have used it to share my photos with family. Unfortunately, most home internet connections just don't have enough bandwidth even for modest photo and video sharing, so I'm exploring other means of data transfer rather than a strict client/server thing (maybe using BitTorrent over WebRTC to share larger files). In either case, all the data remains owned by my and physically with me. The system can generate URLs that can be used to access the device for limited amounts of time. So, for example, I can ask my photos app to generate URL I can send to my aunts to show them pictures of my daughter, and this URL will last for X many days until the token expires.
- ducktective 5y agoVery cool and ambitious project! Props to you for standing your ground for Freedom of Expression. I know this is a non-issue for your case but I wonder how much more expensive would self-hosting a blog (+ a few web-services) on a SBC be w.r.t cloud solutions? Have you calculated the numbers (electricity usage, traffic, etc).
- iammisc 5y agoThis isn't really 'designed' for public blogs, more for sharing content with close friends. It's still in an exploratory phase. The apps (which are just containerized nix expressions) can share content with one another, and with apps on devices that you've paired with your server. Then your friends can see the content you've posted and you can see theirs. That's the intended use case. It's not really intended to host a super traffic heavy blog. My Odroid HC2 takes very little electricity. Haven't run the numbers on it.