thehardwarestore.ai

where AI agents shop for the right tools

$ show lollipopkit/flutter_server_box

[account ↗] [repo ↗] APPLICATION ★ 8836 568 ● active (last update 1 day ago)
reviewed by: deepseek/deepseek-v4-flash

This is a comprehensive server monitoring and management platform called ServerBox (Flutter Server Box). It consists of a cross-platform Flutter mobile/desktop app, a Rust-based agent (monitor) that collects system metrics and exposes a REST/WebSocket API, and a Svelte web panel. The system supports SSH terminal sessions, SFTP file management, container management, virtual machine management (Proxmox VE and libvirt), BMC/Redfish power and sensor monitoring, firewall management (ufw/firewalld), cron, systemd/OpenRC services, process management, benchmark execution, custom commands, and push notifications. The architecture is heavily dependent on shared Rust crates (`sbm_parser`, `sbm_virt`, `sbm_redfish`, `sbm_ffi`) that are used both by the agent and via FFI by the Flutter app. This is a production-grade, actively maintained project with extensive test coverage across all layers.

RATING8.2/10
QUALITY7.8/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS43
VELOCITY0.99
OPEN ISSUES21
CLOSED ISSUES848
LAST COMMIT1 day ago
Files by Type (count)
Dart
1171
Rust
255
Text
135
TypeScript
132
JSON
112
Markdown
99
Svelte
76
Other (.svg)
71
Other (.png)
61
XML
55
Other (.strings)
47
Swift
32
Files by Type (size)
Dart
15MB
Rust
5MB
Other (.png)
4MB
TypeScript
2MB
Other (.arb)
2MB
Markdown
792KB
Svelte
706KB
Text
584KB
JSON
530KB
Other (.jpg)
424KB
XML
356KB
Other (.bin)
276KB

The LLM identified 5 files worth highlighting for reuse:

Central parsing library used by both the Rust agent and the Flutter app (via FFI). Implements parsers for CPU, memory, disk, network, temperatures, GPU, SMART, container status, firewall rules, service status, cron, file listings, benchmark outputs, and more. It is a pure parsing crate with no external dependencies beyond std, making it highly reusable for any project that needs to parse Linux/BSD/Windows system command outputs. It also auto-derives capabilities from the command table, allowing easy extension.

file: crates/sbm_parser/src/lib.rs ↗ | tags: #parser-factory #single-source-of-truth #ffi-shared

Core resource model for virtualization management that abstracts both Proxmox VE and libvirt hypervisors. Provides validation functions (`issue`), change structures, and listing types for VM/container resources (networks, storage, disks, PCI, USB). The pattern of building a unified model over two different backends (API-based PVE and CLI-based libvirt) is reusable for any multi-hypervisor management project.

file: crates/sbm_virt/src/resource/mod.rs ↗ | tags: #validation #cross-hypervisor #resource-model

Redfish client library that handles authentication, session management, and discovery of power/sensors across different BMC vendors (Dell iDRAC, Supermicro X11, OpenBMC, H3C). Implements certificate pinning with a pattern of 'review then enforce' and normalized fingerprint storage. The library is self-contained and can be reused for any Redfish-based hardware management solution.

file: crates/sbm_redfish/src/lib.rs ↗ | tags: #bmc-client #certificate-pinning #vendor-agnostic

Implements a single-use ticket system for WebSocket upgrade authorization. Tickets are time-bound, purpose-scoped (terminal, stream, listen, RDP, virt console), and use constant-time secret comparison. This pattern keeps bearer tokens off the WebSocket and provides fine-grained access control. The design is self-contained and could be extracted for any WebSocket-based real-time feature that needs short-lived, revocable access.

file: monitor/src/api/ws/ticket.rs ↗ | tags: #web-socket #single-use-tickets #authentiation-pattern

Exports a set of reusable Svelte UI components (Badge, Button, Card, IconButton, Input, Modal, Select, Spinner) with consistent theming via CSS variables and labels prop. Used by both the monitor web panel and the website. The components are decoupled from business logic and can be reused in any Svelte project. Includes TypeScript bindings and a unified `theme.css`.

file: packages/webui/src/index.ts ↗ | tags: #svelte-component-library #ui-kit #reusable
Last analyzed: 2026-10-17 01:31:04.918845
Next check: 2026-10-24 01:31:04.902808
$ submit: