[{"data":1,"prerenderedAt":105},["ShallowReactive",2],{"navigation":3,"/blog/2-pi-hosting-part-1-why":18,"/blog/2-pi-hosting-part-1-why-surround":102},[4],{"title":5,"path":6,"stem":7,"children":8,"page":17},"Blog","/blog","blog",[9,13],{"title":10,"path":11,"stem":12},"How to run LLMs on your local machine?","/blog/1-introduction-to-ollama","blog/1-introduction-to-ollama",{"title":14,"path":15,"stem":16},"Hosting a website on a Raspberry Pi - Part 1: why bother?","/blog/2-pi-hosting-part-1-why","blog/2-pi-hosting-part-1-why",false,{"id":19,"title":14,"author":20,"body":24,"date":88,"description":89,"extension":90,"image":91,"meta":92,"minRead":98,"navigation":99,"path":15,"seo":100,"stem":16,"__hash__":101},"blog/blog/2-pi-hosting-part-1-why.md",{"name":21,"avatar":22},"Endo",{"src":23,"alt":21},"/avatar/endo_hd_light.png",{"type":25,"value":26,"toc":84},"minimark",[27,31,34,37,40,43,72,75,78,81],[28,29,30],"p",{},"This website - the one you're reading right now - runs on a Raspberry Pi sitting in my apartment. Not AWS. Not some VPS for 5€ a month. A Pi 4 with 8GB RAM and a USB SSD, in a corner, on my network.",[28,32,33],{},"Why would anyone do that?",[28,35,36],{},"A small VPS is 5€ a month. 60€ a year, forever. The Pi cost me 40€ once, and electricity is maybe 10€ a year. After less than a year it's cheaper than the VPS, and the Pi is mine - no provider deciding my VM is \"underutilized\" and deleting it.",[28,38,39],{},"But honestly? Money is the small part. The real reason: you learn things running your own box. On a VPS you get a pre-installed system and click around. On your own hardware you make every decision - which distro, how disks mount, what's exposed to the internet, what happens when it breaks. And it breaks. Every break taught me more than a tutorial ever did.",[28,41,42],{},"The stack, in four parts:",[44,45,46,54,60,66],"ul",{},[47,48,49,53],"li",{},[50,51,52],"strong",{},"Arch Linux ARM"," - lightweight, no bloat, you decide what's on it",[47,55,56,59],{},[50,57,58],{},"Docker"," - every service in a container, started from one file",[47,61,62,65],{},[50,63,64],{},"Tailscale"," - a private network, so I can reach my machines from anywhere",[47,67,68,71],{},[50,69,70],{},"Cloudflare"," - domain + tunnel, so this site is public without my router ever opening a port",[28,73,74],{},"One post per part, over the next weeks. Each one simple: what it is, why I chose it, how it's set up.",[28,76,77],{},"To be fair: this is not for everyone. Your internet goes down, your site goes down. A Pi is not redundant - no second datacenter taking over. And you will spend an evening on a problem that a VPS provider would have solved for you in a support ticket.",[28,79,80],{},"For me the trade is worth it. I wanted to own the whole thing.",[28,82,83],{},"Next part: why Arch Linux, of all things.",{"title":85,"searchDepth":86,"depth":86,"links":87},"",2,[],"2026-10-04T00:00:00.000Z","My site runs on a 40€ computer in my apartment. This series is how: Arch, Docker, Tailscale and Cloudflare. First: why I did it.","md",null,{"tags":93},[94,95,58,96,97],"Self-hosting","Raspberry Pi","Linux","Homelab",4,true,{"title":14,"description":89},"81odJY_Sa-JSZHft_TMxhqfOGzvxcbHP3V6UBv2RErk",[103,91],{"title":10,"path":11,"stem":12,"description":104,"children":-1},"Ollama: run LLMs on your own machine. No cloud, no API keys, no monthly bill. Here's how.",1791063076220]