What I run on my $10 USD OpenStick homelab
What I run on my $10 USD OpenStick homelab
A while ago I bought an OpenStick on a whim for 10 dollars (including shipping!) because it seemed like such a cool novelty piece of hardware.
前段时间,我一时兴起花 10 美元(含运费!)买了一个 OpenStick,因为它看起来是一款非常酷的新奇硬件。
For 10 dollars you get:
只需 10 美元,你就能得到:
Now, you might look at this hardware and think “my watch is more powerful than that”, and you wouldn’t necessarily be wrong, but there’s still a lot of fun to be had with a device this size, and it’s a great gadget to get started with self-hosting.
现在,你可能会看着这个硬件心想:“我的手表都比它强”,这话说得也没错。但这种尺寸的设备依然能带来很多乐趣,而且它是开启自托管之旅的绝佳小工具。
The installation process is a bit involved, but once you’re up and running it runs Debian, which brings all the classic goodies such as systemd (among other things, a scheduler and service monitoring for Linux) and Podman (lightweight containerization). For 10 USD you basically get a home server with minimal power usage and zero noise!
安装过程稍微有点复杂,但一旦运行起来,它跑的是 Debian 系统,这带来了所有经典的便利功能,比如 systemd(除其他功能外,还包括 Linux 的调度程序和服务监控)和 Podman(轻量级容器化)。花 10 美元,你基本上就拥有了一台功耗极低且零噪音的家庭服务器!
There’s actually a lot of useful software that runs great on this thing. Some of my favorites are:
实际上,有很多实用的软件可以在这台设备上完美运行。我最喜欢的一些包括:
This is a little service that connects to any running Google Cast device and skips sponsorships (and sometimes ads). It barely uses any resources, and after a while you forget that it exists, but it does make the whole YouTube experience a lot nicer!
这是一个小型服务,可以连接到任何正在运行的 Google Cast 设备并跳过赞助内容(有时也包括广告)。它几乎不占用任何资源,用久了你甚至会忘了它的存在,但它确实让整个 YouTube 的使用体验变得好多了!
AdGuard Home blocks bad domains at the DNS level: spyware, malware, and so on. These days devices have a tendency to spy on you. Smart TVs run content recognition continuously, washing machines scan your network, and your coffee maker might be spying on you.
AdGuard Home 在 DNS 层面拦截不良域名:包括间谍软件、恶意软件等。如今,各种设备都有监视你的倾向。智能电视持续运行内容识别,洗衣机扫描你的网络,甚至你的咖啡机可能都在监视你。
A DNS blocker cannot block all bad requests (you’ll need a proper firewall for that), but it sure can block a whole lot. After adding a few blocklists, 60% of my queries are now blocked. Most seem harmless, but I’m pretty sure that some aren’t.
DNS 拦截器无法拦截所有不良请求(这需要专业的防火墙),但它确实能拦截很大一部分。在添加了几个拦截列表后,我 60% 的查询请求现在都被拦截了。大多数看起来无害,但我敢肯定其中一些并非如此。
I’m running my own fork, which can handle large blocklists in an efficient manner, but you probably shouldn’t run binaries provided by random strangers, so I’ve also included the link to the official version below (which is totally fine if you limit yourself to smaller blocklists).
我运行的是我自己的分支版本,它可以高效地处理大型拦截列表。但你可能不应该运行陌生人提供的二进制文件,所以我还在下面附上了官方版本的链接(如果你只使用较小的拦截列表,官方版本完全没问题)。
AdGuard Home Next-Gen - 40 MB (independent of the size of the blocklist) AdGuard Home - 40 MB (with a small (200k) blocklist)
AdGuard Home Next-Gen - 40 MB(与拦截列表大小无关) AdGuard Home - 40 MB(带有小型 (200k) 拦截列表)
Zeroclaw is an AI agent harness. It supports 30 channels (Telegram, email, WhatsApp, etc.), has sensible security defaults, a nice web UI, and integrations with all the major LLM providers.
Zeroclaw 是一个 AI 代理框架。它支持 30 种渠道(Telegram、电子邮件、WhatsApp 等),具有合理的默认安全设置、美观的 Web UI,并集成了所有主流的大语言模型(LLM)提供商。
I ran OpenClaw for a while on my Kubernetes cluster, but it mostly caused a lot of frustration: it worked, but it used 1 GB+ of memory, broke with every update, and they kept changing functionality in ways that broke my existing workflows. Zeroclaw feels like a breath of fresh air. It uses ~3 MB RSS when idle, covers all the functionality that I need, and the security defaults are sensible and easy enough to disable. The next version will (hopefully!) have rich message support for Telegram, implemented by yours truly. The PR can be tracked here!
我曾在我的 Kubernetes 集群上运行过一段时间 OpenClaw,但它主要带给我的是挫败感:它虽然能用,但占用了 1GB 以上的内存,每次更新都会崩溃,而且他们不断更改功能,导致我现有的工作流失效。Zeroclaw 感觉就像一股清流。它在空闲时仅占用约 3 MB 的 RSS 内存,涵盖了我需要的所有功能,且默认安全设置合理且易于禁用。下一个版本将(希望如此!)支持 Telegram 的富文本消息,这是由本人亲自实现的。可以在这里追踪该 PR!
I’ve given Zeroclaw access to the OpenStick (but nothing beyond that). Effectively it’s a root shell, but given that the blast radius is limited, I figured it would be acceptable. I mostly use this to monitor the OpenStick, with questions such as “anything in the logs that requires my attention?” or “how is the disk space?”. The biggest advantage is that it communicates through Telegram, so if I’m in the mountains with limited signal, I can still ask it how my little server is doing :)
我给了 Zeroclaw 访问 OpenStick 的权限(仅限于此)。实际上它就是一个 root shell,但考虑到影响范围有限,我觉得这是可以接受的。我主要用它来监控 OpenStick,询问诸如“日志里有什么需要我注意的吗?”或“磁盘空间怎么样?”之类的问题。最大的优势是它通过 Telegram 通信,所以如果我在信号不好的山里,我仍然可以问它我的小服务器运行得怎么样 :)
I looked at alternatives such as Picoclaw and Nullclaw, and no doubt they’re good as well. However, Zeroclaw seemed to have the best documentation and the most active community, so I went with that :)
我研究过 Picoclaw 和 Nullclaw 等替代品,毫无疑问它们也很棒。然而,Zeroclaw 似乎拥有最好的文档和最活跃的社区,所以我选择了它 :)
GitHub Zeroclaw Documentation
GitHub Zeroclaw 文档
Cloudflared makes it possible to expose all these services securely to the big, bad internet, for free, without exposing any ports. The downside might be that the NSA might be able to read everything you do, but for a homelab I consider that to be an acceptable trade-off.
Cloudflared 可以让你免费且安全地将所有这些服务暴露给广阔的互联网,而无需暴露任何端口。缺点可能是美国国家安全局(NSA)可能会读取你所做的一切,但对于家庭实验室来说,我认为这是一个可以接受的权衡。
Beszel shows a pretty graph of memory, CPU usage, and so on, and alerts you if something looks suspicious, all while using very little memory.
Beszel 可以显示内存、CPU 使用率等精美的图表,并在发现可疑情况时向你发出警报,同时占用的内存极少。
I ran Grafana and the whole stack on my Kubernetes cluster for a while, and it’s powerful, but not extremely user friendly, and it felt like overkill.
我曾在我的 Kubernetes 集群上运行过一段时间 Grafana 和整套堆栈,它虽然强大,但对用户并不十分友好,而且感觉有点杀鸡用牛刀。
Beszel is a really awesome solution: it looks pretty and requires ~20 MB, 10 MB for the agent and 10 MB for the server. It has built-in alerting for a whole bunch of protocols, and I let it send messages to Telegram when something requires my attention.
Beszel 是一个非常棒的解决方案:它界面美观,仅需约 20 MB 内存(代理端 10 MB,服务端 10 MB)。它内置了多种协议的警报功能,当有需要我注意的事情时,我会让它发送消息到 Telegram。
Dozzle is a pretty interface for managing Podman containers. It has a large overlap with Beszel, so if I ever need to save 10 or 20 MB, I’ll get rid of one of them. Dozzle has a way better interface for checking Podman logs, but it doesn’t offer the same level of stats as Beszel does.
Dozzle 是一个用于管理 Podman 容器的精美界面。它与 Beszel 有很大的功能重叠,所以如果我哪天需要节省 10 或 20 MB 内存,我会删掉其中一个。Dozzle 在查看 Podman 日志方面界面好得多,但它无法提供像 Beszel 那样详细的统计数据。
Beszel monitors your server(s). Gatus monitors your services. In other words, if you would like to get a notification when your webserver or database has crashed, you’ll want Gatus. It also creates a really pretty web interface!
Beszel 监控你的服务器。Gatus 监控你的服务。换句话说,如果你想在 Web 服务器或数据库崩溃时收到通知,你需要 Gatus。它还能创建一个非常漂亮的 Web 界面!
RIP Google Reader. I tried Feedly for a while, but 7 USD for the Pro version was just a little bit more than I felt comfortable with. Besides, why pay when you can have hours of fun setting up your own alternative?
Google Reader 安息吧。我试过一段时间 Feedly,但专业版 7 美元的费用让我觉得有点难以接受。再说,既然可以花几个小时享受搭建自己替代方案的乐趣,为什么要花钱呢?
I tried a whole bunch of RSS readers and eventually settled on Fusion. It does all I need, looks good, feels responsive, and uses 22 MB of RAM.
我尝试了许多 RSS 阅读器,最终选择了 Fusion。它满足了我所有的需求,外观精美,响应迅速,且仅占用 22 MB 内存。
GitHub Fusion - 22 MB
GitHub Fusion - 22 MB
Browser bookmarks are great, however a lot of my older bookmarks have stopped working because the sites disappeared, the URLs changed, or for a myriad of other reasons. Shiori fixes this by offering a great bookmark manager that also automatically archives the website. It does so in ~10 MB. You can expect some spikes when archiving, but nothing that our mighty OpenStick cannot handle!
浏览器书签很棒,但我许多旧的书签都失效了,因为网站消失了、URL 更改了,或者由于各种其他原因。Shiori 通过提供一个出色的书签管理器解决了这个问题,它还能自动归档网站。它仅占用约 10 MB 内存。归档时可能会出现一些资源占用峰值,但这完全难不倒我们强大的 OpenStick!
Just a little service that sends a message to my Telegram whenever one of my containers has an update available.
这只是一个小服务,每当我的某个容器有可用更新时,它就会向我的 Telegram 发送一条消息。