Your 'Systant. A system daemon on Linux that communicates via MQTT to get diagnostic info from, and send commands to, a Linux computer. Written in Elixir because fuck you, and written mostly by Claude because fuck everything.
Go to file
ryan ae778ebdab Initial systant implementation in Bun/TypeScript
A lightweight system monitoring agent that:
- Collects metrics via configurable shell commands
- Publishes to MQTT with Home Assistant auto-discovery
- Supports entity types: sensor, binary_sensor, light, switch, button
- Responds to commands over MQTT for controllable entities

Architecture:
- src/config.ts: TOML config loading and validation
- src/mqtt.ts: MQTT client with HA discovery
- src/entities.ts: Entity state polling and command handling
- index.ts: CLI entry point (run, check, once commands)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 19:52:47 -08:00
.claude Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
.vscode Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
src Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
.envrc Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
.gitignore Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
AGENTS.md Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
bun.lock Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
CLAUDE.md Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
flake.lock Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
flake.nix Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
index.ts Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
package.json Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
README.md Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
systant.toml.example Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00
tsconfig.json Initial systant implementation in Bun/TypeScript 2026-01-19 19:52:47 -08:00

systant

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.3.6. Bun is a fast all-in-one JavaScript runtime.