5 ms·
Show HN: Stylus, a lightweight home infrastructure monitor based on CSS/SVG/HTML
- mmastrac 6y agoI've been looking for a way to automate monitoring of my home network by enhancing the network diagrams I've been keeping in diagrams.net w/CSS indicating the current status. This project evolved from this experiment. The server runs a set of monitoring scripts at regular intervals and generates a CSS file that can be applied to your diagram (or optionally re-applied at periodic intervals). It's very lightweight, written in Rust and barely uses any resources on my Pi 1B. It's also very configurable and I plan on adding a few more features to reduce the amount of configuration for traditional home networks.
- Etheryte 6y agoAs a small aside, using the name "Stylus" for something that deals with CSS is perhaps not the best pick, given that it's also a name of a very widely known CSS preprocessor language [1]. [1] https://stylus-lang.com/ https://stylus-lang.com/
- inshadows 6y agoAnd also by non-malware Stylish fork, a thing to modify CSS in the browser: https://github.com/openstyles/stylus/ https://github.com/openstyles/stylus/
- riffic 6y agoAh, the golden rule of Show HN -- any time something is posted, someone in the peanut gallery has a gripe about its name.
- DJBunnies 6y agoIt's almost as if naming things can be difficult.
- tryptophan 6y agoI mean, would Lihoinfman be a bad name? Just concatenating the first part of each word. It helps you remember what the project is and gives a unique string. Or do it GNU style, QHIM -> QHIM home infra manager. But no, lets name it after a common object.
- CharlesW 6y ago> I mean, would Lihoinfman be a bad name? Yes, unless you say it like Professor Frink.
- app4soft 6y agoThink, the number of words used for new project naming actually limited to "1000 words". Really curios why nowadays devs can't find unique names for new things and try reuse widely used "1000 words".
- gpapilion 6y agoThis reminds me a bit of big brother.
- mmastrac 6y agoFor sure! It's kind of inspired by the old style/industrial monitoring dashboards.
- rmrfrmrf 6y ago> Note that this project was originally written using deno, but was rewritten in Rust to support Raspberry Pis. A lot to unpack here.
- mmastrac 6y agoI originally wrote it in a few hours to experiment with deno. It worked perfectly on my mac, but there isn't an arm port and I really wanted to run it on my Pi 1B which was arm6, 32-bit. I fell back to Rust/async and it took another couple of hours, but I was able to build a multi-arch docker container from that.