[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110940":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":16,"stars30d":17,"stars90d":13,"forks30d":13,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":13,"starSnapshotCount":13,"syncStatus":15,"lastSyncTime":39,"discoverSource":40},110940,"bield","manasseh-fikadu\u002Fbield","manasseh-fikadu","A simple, self-hosted control plane for every machine on your tailnet.","https:\u002F\u002Fmanasseh-fikadu.github.io\u002Fbield\u002F",null,"Go",76,0,51,2,9,23,1,46.8,"GNU Affero General Public License v3.0",false,"main",true,[25,26,27,28,29,30,31,32,33,34],"dashboard","docker","go","homelab","monitoring","self-hosted","ssh","svelte","tailnet","tailscale","2026-11-18 21:00:12","2026-11-23 15:01:16","# Bield\n\nBield is a self-hosted control plane for the machines on your tailnet. It's one binary. Run it on a server, and it joins your [Tailscale](https:\u002F\u002Ftailscale.com) tailnet (or a [Headscale](https:\u002F\u002Fgithub.com\u002Fjuanfont\u002Fheadscale) one) and shows every machine in one place: how healthy it is, what's wrong with it, what runs on it. From the same page, you can open a terminal on it, browse its files and restart its containers. There's no password and no account to make, because your tailnet is the login.\n\n[Website and demo](https:\u002F\u002Fmanasseh-fikadu.github.io\u002Fbield\u002F) · [Documentation](https:\u002F\u002Fmanasseh-fikadu.github.io\u002Fbield\u002Fdocs\u002F) · [Releases](https:\u002F\u002Fgithub.com\u002Fmanasseh-fikadu\u002Fbield\u002Freleases)\n\n![A 20-second tour of the demo: the overview, a machine's history, Docker, alerts and search](docs\u002Fimages\u002Fdemo.webp)\n\n## What it does\n\n- **Devices.** Every machine on the tailnet, on a live map, with how traffic reaches it (direct, through a relay) and the round-trip time.\n- **Health.** CPU, memory, disk, network and what's using them, for each machine, with charts of CPU, memory and network for up to 90 days. The machine Bield runs on is measured by Bield itself, if it's Linux, and the others by a small bash [agent](docs\u002Fagent.md).\n- **Checks.** Website, port and DNS checks, and a ping of every device, rolled up into a health score.\n- **AI usage.** Tokens, estimated cost and limits for Claude Code, Codex, OpenCode and Pi on each machine, read from the files they already write, with nothing but counts leaving the machine ([AI usage](docs\u002Fcoding.md)).\n- **Alerts.** For offline machines, full disks, expiring Tailscale keys, failing checks, crashed containers and failed services. They reach your phone through ntfy, Telegram, email, Discord, Slack or any webhook ([Notifications](docs\u002Fnotifications.md)).\n- **Docker.** Containers, logs, live stats, images, volumes and networks on any machine Bield can reach, and start, stop and restart.\n- **Terminal and files.** A shell in the browser, which keeps running in tmux after you close the tab, and a file manager that edits and previews ([SSH access](docs\u002Fssh.md)).\n- **Roles and a log.** Admins and read-only viewers, decided by tailnet identity, and an activity log of who did what.\n- **A command line.** `bield devices`, `bield alerts ack 5` and the rest, for people, scripts and AI agents, with `--json` everywhere and the same roles as the web app ([The command line](docs\u002Fcli.md)).\n\n\u003Cp>\n  \u003Cimg src=\"docs\u002Fimages\u002Fdevice.png\" alt=\"A device's page, with metrics, an alert and history charts\" width=\"49%\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fdocker.png\" alt=\"The Docker page, with containers grouped by Compose project\" width=\"49%\">\n\u003C\u002Fp>\n\nIt works on a phone, and it's keyboard-friendly: `Ctrl+K` (`⌘K` on a Mac) searches pages, devices and actions, and `?` lists the shortcuts.\n\n## Try the demo\n\nThe demo is a made-up tailnet with 12 machines and a week of history. It needs no Tailscale and touches nothing on your machine. To click through it in your browser without installing anything, open the [website](https:\u002F\u002Fmanasseh-fikadu.github.io\u002Fbield\u002F).\n\nDownload the [release archive](https:\u002F\u002Fgithub.com\u002Fmanasseh-fikadu\u002Fbield\u002Freleases\u002Flatest) for your system (Linux or macOS, amd64 or arm64), unpack it and run it:\n\n```sh\ntar -xzf bield_*.tar.gz\n.\u002Fbield serve --demo  # then open http:\u002F\u002F127.0.0.1:4700\n```\n\nOr run it in Docker, which leaves nothing behind:\n\n```sh\ndocker run --rm -p 127.0.0.1:4700:4700 ghcr.io\u002Fmanasseh-fikadu\u002Fbield serve --demo --demo-listen 0.0.0.0:4700\n```\n\nTo build it yourself, `make build` makes `.\u002Fbield`, as under [Build from source](#build-from-source). See [Demo mode](docs\u002Fdemo.md). Every screenshot, and the clip at the top, comes from it, which `make screenshots` and `make recording` retake.\n\n## Quickstart\n\nBield needs a tailnet and a machine to run on. It takes about two minutes.\n\n**With Docker**, which works on any host:\n\n```sh\ncurl -fsSLO https:\u002F\u002Fraw.githubusercontent.com\u002Fmanasseh-fikadu\u002Fbield\u002Fmain\u002Fcompose.yaml\ndocker compose up -d\ndocker compose logs bield    # open the link in it, to log Bield in to Tailscale\n```\n\n**On a Linux server with systemd**, one command installs Bield and runs it as a service:\n\n```sh\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fmanasseh-fikadu\u002Fbield\u002Fmain\u002Finstall.sh | sudo bash\n```\n\nThen open \u003Chttp:\u002F\u002F127.0.0.1:4700> on that machine, and log Bield in to Tailscale. To skip the login, give the command or the `.env` file an [auth key](https:\u002F\u002Ftailscale.com\u002Fkb\u002F1085\u002Fauth-keys) as `TS_AUTHKEY`.\n\n**On a Mac, or Linux without systemd**, download the [release archive](https:\u002F\u002Fgithub.com\u002Fmanasseh-fikadu\u002Fbield\u002Freleases) for your system, check it against `checksums.txt`, and run `.\u002Fbield serve`.\n\nAfter that, Bield is at `https:\u002F\u002Fbield.\u003Cyour-tailnet>.ts.net` (plain `http:\u002F\u002F` until you turn on HTTPS certificates for the tailnet), and whoever logged it in is its first admin. With an auth key for a tagged node, nobody owns it, so set `BIELD_ADMINS` too. Its machines are there already. Next:\n\n1. Open a machine, and **Install the agent** for its CPU, memory and disk.\n2. **Set up SSH** on it, for the terminal, the files and Docker.\n3. Add a **notification channel** in Settings, so alerts find you.\n\nBield opens a setup page the first time, which walks through the same steps. The options for each way of installing are in [Installing Bield](docs\u002Finstall.md) and [Bield in Docker](docs\u002Fdocker.md). [Bield and Tailscale](docs\u002Ftailscale.md) says how it joins the tailnet, with the policy it needs. Bield's data is in `~\u002F.config\u002Fbield`, `\u002Fvar\u002Flib\u002Fbield` or `\u002Fdata`, depending on how you run it.\n\n## The pages\n\n| Page | What it does |\n| --- | --- |\n| Overview | The tailnet at a glance: a map, the health score, open alerts, every machine |\n| Devices | Every machine, with its metrics, history, connection and notes. **Agents** installs and removes agents |\n| Alerts | What's wrong now: acknowledge, snooze and add notes. Resolved alerts too |\n| Checks | Website, port and DNS checks, plus pings, and the health score they make |\n| Docker | Containers, volumes, images and networks of a machine, and their logs and stats |\n| Terminal | A shell on a machine, in the browser |\n| Files | A file manager for a machine's disk |\n| Activity | Devices coming and going, alerts, and what people did |\n| Settings | Thresholds, notifications, watched services, retention, and who has a role |\n\n[A tour of Bield](docs\u002Fpages.md) describes each one.\n\n## The security model\n\nBield logs in to your machines, so whoever controls Bield controls them. These are the rules it follows, in plain words:\n\n- **Only your tailnet can reach it.** Bield serves the app on the tailnet and nowhere else, apart from a login page that answers on the machine itself, and it has no passwords. For each connection, it asks Tailscale which device it comes from and which user owns that device. Nothing in a request can claim to be someone else.\n- **Two roles.** Admins can do everything, including opening a shell on every machine with SSH access, so treat the admin list like sudoers. Viewers get a read-only dashboard, without logs, files, commands or secrets. Anyone else gets nothing. A device Tailscale can't name, such as a tagged server, is anonymous.\n- **It's hard to trick a browser into acting.** Anything that changes something needs a header that other websites can't send, and a strict content security policy keeps scripts and frames out.\n- **Machines are untrusted.** An agent gets a secret of its own that only works from its own machine, and it can report metrics and do nothing else. Everything a machine says is shown as text. Bield's SSH key only works from Bield's addresses, and it pins each machine's host key.\n- **Docker is limited on purpose.** Bield can list, read, start, stop and restart containers. It can't create, exec or prune.\n- **It keeps a log.** Terminals opened, files changed, containers restarted, settings and roles changed: each is a line in the activity log.\n- **What it holds is sensitive.** The database has notification tokens, unencrypted, and Bield's data directory has its SSH key. Both are readable only by Bield's user. Keep the machine as you would a bastion host.\n\nBield has had an outside review, and v0.1.1 fixes what it found. It's a young project, and more people trying to break it is welcome. [SECURITY.md](SECURITY.md) has the full threat model and says how to report a problem privately.\n\n## Documentation\n\n| | |\n| --- | --- |\n| [Installing Bield](docs\u002Finstall.md), [Docker](docs\u002Fdocker.md) | The ways to run it |\n| [Tailscale](docs\u002Ftailscale.md), [Headscale](docs\u002Fheadscale.md) | Joining the tailnet, signing in, admins and viewers |\n| [The agent](docs\u002Fagent.md) | Per-machine metrics |\n| [SSH access](docs\u002Fssh.md) | Terminals, files and Docker on other machines |\n| [The command line](docs\u002Fcli.md) | `bield devices`, `bield alerts ack`, for people, scripts and AI agents |\n| [MCP server](docs\u002Fmcp.md) | `bield mcp`: typed tools for AI agents, read-only by default |\n| [Notifications](docs\u002Fnotifications.md) | Where alerts go, and when |\n| [Settings](docs\u002Fsettings.md) | Every setting, with its default |\n| [Configuration reference](docs\u002Fconfiguration.md) | Every flag and environment variable |\n| [Upgrading and backups](docs\u002Fupgrading.md), [Uninstalling](docs\u002Funinstalling.md) | Keeping it running, and removing it |\n| [FAQ](docs\u002Ffaq.md) | Questions, and what to check when something's wrong |\n\nThe full list is in [docs\u002F](docs\u002FREADME.md). The same pages are on the [documentation site](https:\u002F\u002Fmanasseh-fikadu.github.io\u002Fbield\u002Fdocs\u002F), with search.\n\n## Build from source\n\nYou need Go 1.27.3 or newer, Node 22.17 or newer, and [Bun](https:\u002F\u002Fbun.sh).\n\n```sh\nmake build      # builds .\u002Fbield with the web UI inside\n.\u002Fbield serve   # joins your tailnet as a new machine named bield\n```\n\nThe first time, open \u003Chttp:\u002F\u002F127.0.0.1:4700> on the same machine to log Bield in to Tailscale. After that, Bield is at `https:\u002F\u002Fbield.\u003Cyour-tailnet>.ts.net`. To use the machine's own Tailscale instead, run `.\u002Fbield serve --tailscale host`. To use Headscale, add `--control-url https:\u002F\u002Fheadscale.example.com`.\n\nThere's no password: Bield asks Tailscale who each connection comes from. Whoever logs Bield in to Tailscale becomes its first admin, and `bield admin add \u003Clogin>` adds more. Viewers get a read-only dashboard: add them with `bield admin add-viewer \u003Clogin>`, or let anyone on the tailnet view with `bield admin who-can-view tailnet`. See [Signing in](docs\u002Ftailscale.md#signing-in) and [Admins and viewers](docs\u002Ftailscale.md#admins-and-viewers).\n\nBield keeps its data in `~\u002F.config\u002Fbield` (`~\u002FLibrary\u002FApplication Support\u002Fbield` on macOS). To put it somewhere else, use `--data-dir` or set `BIELD_DATA_DIR`.\n\n## Develop\n\n```sh\nmake dev     # runs Vite, and the Go server, which proxies the web UI to it\nmake demo    # the same, against the made-up tailnet\nmake test    # Go and web tests, then svelte-check\nmake lint    # golangci-lint, shellcheck and prettier\nmake types   # regenerates the web app's API types after you change internal\u002Fapi\u002Ftypes.go\n```\n\nOpen the URL that the Go server logs (`bield is running url=...`), which is on your tailnet, not Vite's, from a device that belongs to one of Bield's admins. The Go server doesn't reload on changes yet, so restart `make dev` after editing Go code.\n\n| Path | What's in it |\n| --- | --- |\n| `cmd\u002Fbield` | The `bield` command |\n| `internal\u002F` | The hub's packages |\n| `web\u002F` | The SvelteKit app, which `make build` embeds in the binary |\n| `agent\u002F` | The bash agent that devices run to report their metrics |\n| `site\u002F` | The landing page, and the documentation site in `site\u002Fdocs-site`, which builds `docs\u002F` |\n| `install.sh` | Installs Bield as a systemd service |\n| `Dockerfile`, `compose*.yaml` | The Docker image, which GoReleaser builds, and examples that run it |\n| `docs\u002F` | The documentation, and the screenshots in it, which `bield serve --demo` made |\n| `.goreleaser.yaml` | How a release is built |\n\n## Contribute\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md). Please report security problems privately, as described in [SECURITY.md](SECURITY.md).\n\n## License\n\nBield is licensed under the [GNU Affero General Public License v3.0](LICENSE). The agent in `agent\u002F` is under the [MIT License](agent\u002FLICENSE), so you can reuse it anywhere.\n","Bield 是一个轻量级、自托管的 Tailnet 设备统一管控平台，用于集中监控和管理 Tailscale 或 Headscale 网络中的所有机器。它以单二进制方式运行，提供设备拓扑视图、实时健康指标（CPU\u002F内存\u002F磁盘\u002F网络）、多维度检查（端口\u002FDNS\u002F网站连通性）、Docker 容器管理、Web 终端与文件浏览、基于身份的角色权限及告警通知（支持 ntfy\u002FTelegram\u002FSlack 等）。所有访问通过 Tailnet 身份自动认证，无需额外账号。适用于家庭实验室（Homelab）、小型私有基础设施及分布式边缘设备运维场景。","2026-11-24 04:40:02","CREATED_QUERY"]