Skip to content
项目

theappfoundryco/personal-homelab-server

在 GitHub 查看

关于

A private, self-hosted assistant for your day: a dashboard, a Telegram bot and optional apps for monitoring and local AI. Runs in Docker on your own machine.

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Personal homelab server

Personal homelab server

Your day, your data, your machine. A private assistant that runs at home: a dashboard, a Telegram bot and optional apps for monitoring and local AI.

Install now Documentation Discord

macOS and Linux · MIT licence · made by The App Foundry

curl -fsSL https://raw.githubusercontent.com/theappfoundryco/personal-homelab-server/main/get.sh | bash
The dashboard on a phone: Home, Journal, Gym and Health, shown with demo data

Demo data only.

What it is

One install gives you a dashboard that works like an app on your phone, a Telegram bot that understands plain words, and a command line to look after it all. Everything runs in Docker on a computer you own. Your data lives in ~/.homelab, outside the project folder, and updates never touch it.

It adapts to the machine it runs on. A setup wizard looks at your hardware and suggests sensible AI models, and every optional feature shows a clear message and a fix when its dependency is missing, instead of breaking.

What you get

Area What it does
Home A greeting, the weather, your day and tomorrow, a world clock, and Brief me: a short morning briefing with weather, your calendar, the news and a server recap.
Journal Write your day. Optionally get a private nightly summary, a mood score, a weekly recap and deeper insights, written by a model on your own machine.
Gym Log workouts, see your weekly streak, personal records, body weight and progress charts.
Health Add your medicines on your own schedule (every day at set times, every week, every 2 weeks or every month) and your appointments, then tick them off. Pills left with a refill reminder, a month calendar of what was taken, quiet hours, and Telegram reminders with Done, 5 min and 15 min. The next medicine shows on Home. A tick-list for remembering, never medical advice.
Money One month at a time: your income and bills (with the day each is charged), what you spent, and what you can spend today. Every bill this month is counted from day one, and a quick + Spent adjusts the days after. Names and amounts stay hidden until you tap Show. Monthly bills only for now.
Planner and notes Notes, one-off or repeating reminders, and long-term goals, in plain words.
News and weather Headlines by topic with short AI digests, and forecasts for home or any city.
Flights and email Flights found in your calendar with a "time to leave" nudge, and a short list of important email (off until you add a Gmail app password).
Telegram bot "Remind me to water the plants tomorrow", "any important emails". It answers from your own data.
Alerts anywhere Reminders, server alerts and update reports reach you in Telegram, the ntfy phone app, or 100+ other services through Apprise. Add notify: to config.yaml; chat stays in Telegram.
Home Assistant Optional. "Turn off the kitchen lights", "is the front door locked", "what's the temperature in the bedroom", and a line about your home in the morning brief. Every change asks Yes or No first; unlocking needs your permission in config.
Ask your homelab from Claude Optional. homelab mcp lets Claude Desktop, Claude Code or any MCP client read your reminders, notes, goals, your day, the weather and the server's health. Off until you turn it on, needs its token, and every tool only reads. The assistant uses the same tools when one message asks for two things.
Server and apps Is anything down, how hot is the machine, restart an app, read its logs, add your own Docker apps. Any container on the machine can add its own tile with a homelab.tile.url label (Homepage's homepage.href labels work too).
More screens

Home Journal Gym Health

How it fits together

Your browser and Telegram talk to the dashboard and the core, which run in Docker on your machine. The core uses optional apps and keeps your data in the home folder.
  • Modules. Each feature is a folder in modules/ with a module.yaml and a register(app) function. Modules never import each other, so you can switch one off or write your own. See docs/modules.md.
  • Capabilities. Ollama, Whisper, Telegram, the calendar and the internet are checked once, and each feature says what it needs. homelab doctor gives the full picture.
  • Host helper. A small user-level service lets the dashboard restart apps or start an update. It has an allowlist and only touches this project's containers.

Optional apps

You pick them during setup or later with homelab apps. Nothing is installed that you did not choose.

You can add any other Docker image as your own app, pinned to a version. Every Monday the assistant asks its registry whether a newer version is out and says so in the morning recap and in Settings, Apps. It never updates anything by itself.

Or add one from the CasaOS app store by name, in Settings, Apps or with homelab apps store add Jellyfin. Its file is fetched when you ask. Only what an added app is allowed (one container, its web page port, the folders that hold its own data) is taken, and anything left out is listed.

App What it is for
Local AI engine (Ollama) Runs AI models on this machine for chat, journal summaries and news.
AI chat (Open WebUI) A ChatGPT-style page for your local models.
Voice to text (Whisper) Turns Telegram voice notes into text.
Monitoring (Prometheus and Grafana) Server health, app status and charts.
Website monitor (Uptime Kuma) Checks that your websites are up and alerts you.
Live logs (Dozzle) Read every app's log in the browser.
Private search (SearXNG) Web search for the assistant without tracking.
Automations (n8n) Connect apps and build your own workflows.
Phone alerts (ntfy) Your own push server: reminders and alerts reach the free ntfy phone app, with or without Telegram.
Full dashboard (Homepage) One page with links to every app.
Ad blocker (AdGuard Home) Blocks ads for every device on your network. Needs port 53, so use a machine that is always on.

Built to be trusted

  • Pinned. Every Docker image is pinned to an exact version, and CI fails if one is not.
  • Tested. Over 340 automated tests, including recorded API replies, and a scan of every change for secrets, emails and public IP addresses.
  • Safe updates. When a new version is out, the dashboard and Telegram show what it brings (Security, New and Fixed) and update with one tap, or run homelab update. Either way it takes a snapshot first and goes back by itself if anything fails.
  • Backups every night. Settings, Backups keeps the last 7 on this machine, copies them to your own drive or a synced folder (locked with a passphrase if you like), says plainly when the drive is not plugged in, and restores in one tap. A Telegram alert comes if a backup fails, the disk is nearly full or the assistant stops. homelab backup and homelab restore do the same from the terminal.
  • An encrypted copy away from home. homelab offsite setup s3:s3.amazonaws.com/your-bucket/homelab (or Backblaze B2, Azure, Google Cloud, a restic REST server, or a mounted drive) keeps an encrypted copy with restic, every night if you turn it on in Settings, Schedule. Only what changed is sent. Keep the password it shows you: without it the copy can never be read.
  • Private by default. The dashboard listens on this machine only until you open it to your network with a PIN. The only outside calls are for features you use, such as weather and news feeds.
  • Open. MIT licence, built in the open, and written so that one missing piece never takes the rest down.

Install

Requirements: macOS or Linux, about 5 GB of free disk space (more for local AI models), and git and Python 3. Docker is installed for you if it is missing (Colima on a Mac, Docker Engine on Linux).

curl -fsSL https://raw.githubusercontent.com/theappfoundryco/personal-homelab-server/main/get.sh | bash

It downloads the project to ~/personal-homelab-server, asks its few questions up front (your name, optional extras), does the long part quietly, and opens the dashboard at http://localhost:3095. Run it again any time: it keeps your settings and passwords. It starts on the newest tagged release (the stable channel). Add HL_CHANNEL=edge before bash to follow the newest work instead.

Prefer to read it first? Clone it and run the installer yourself:

git clone https://github.com/theappfoundryco/personal-homelab-server.git
cd personal-homelab-server
./install.sh --help
./install.sh

Update and uninstall

homelab update                    # snapshot first, and back by itself if anything fails (the dashboard offers the same)
homelab update --check            # only say whether a newer version exists
homelab update --channel edge     # follow the newest work instead of tagged releases

homelab backup                    # do this before you uninstall
homelab uninstall                 # stops and removes the containers, keeps your data
homelab uninstall --purge         # also deletes your data

If homelab is not found, run ~/personal-homelab-server/bin/homelab path add once.

The homelab command

Command What it does
homelab status what is running and how healthy it is
homelab doctor the full health check, with a fix for each problem
homelab modules list modules, or turn one on or off
homelab apps list the optional apps, or add or remove them
homelab apps store [word], homelab apps store add <name> search the CasaOS app store (about 180 apps) and add one as your own app; anything that needs more power than that is refused, with the reason
homelab apps custom add, check, update <name> [version] add any Docker image as your own app, see whether a newer version is out, and move to it (it goes back if the new one will not start)
homelab backup, homelab restore save your data and settings to one file, bring it back
homelab offsite setup <address>, offsite backup, offsite list, offsite restore [id] an encrypted copy in storage you choose, made, listed and brought back
homelab access who can open the dashboard: this machine only, or your home network with a PIN
homelab logs, start, stop, restart the usual

Run homelab help for the rest.

Documentation and community

Project page theappfoundry.co/homelab
Live demo, with fake data theappfoundry.co/homelab/demo
Install guide theappfoundry.co/homelab/install
Questions and ideas Discussions and Discord #homelab
Bugs and feature requests Issues (remove personal information first)
Security problems Report privately, see SECURITY.md
Build your own module docs/modules.md, and modules others shared: docs/community-modules.md
Make a release docs/RELEASING.md
Test on real machines docs/TESTING.md

Contribute

Fork it, make a branch, open a pull request into main. Your own data and settings stay in ~/.homelab and are never part of a pull request. Start with CONTRIBUTING.md, and please follow the Code of Conduct.

Important notice

This is a personal-organisation tool, not a medical device, and it gives no medical, psychological, legal or financial advice. Read docs/DISCLAIMER.md.

Licence

MIT. Made by The App Foundry · Terms · Privacy policy

探索相关项目

加载中…