Gmailtail – Command-line tool to monitor Gmail messages and output them as JSON
Hacker News (score: 85)Description
More from Hacker
Show HN: Enroll, a tool to reverse-engineer servers into Ansible config mgmt
Show HN: Enroll, a tool to reverse-engineer servers into Ansible config mgmt Happy new year folks!<p>This tool was born out of a situation where I had 'inherited' a bunch of servers that were not under any form of config management. Oh, the horror...<p>Enroll 'harvests' system information such as what packages are installed, what services are running, what files have 'differed' from their out-of-the-box defaults, and what other custom snowflake data might exist.<p>The harvest state data can be kept as its own sort of SBOM, but also can be converted in a mere second or two into fully-functional Ansible roles/playbooks/inventory.<p>It can be run remotely over SSH or locally on the machine. Debian and Redhat-like systems are supported.<p>There is also a 'diff' mode to detect drift over time. (Years ago I used Puppet instead of Ansible and miss the agent/server model where it would check in and re-align to the expected state, in case people were being silly and side-stepping the config management altogether). For now, diff mode doesn't 'enforce' but is just capable of notification (webhook, email, stdout) if changes occur.<p>Since making the tool, I've found that it's even useful for systems where you <i>already</i> have in Ansible, in that it can detect stuff you forgot to put into Ansible in the first place. I'm now starting to use it as a 'DR strategy' of sorts: still favoring my normal Ansible roles day-to-day (they are more bespoke and easier to read), but running enroll with '--dangerous --sops' in the background periodically as a 'dragnet' catch-all, just in case I ever need it.<p>Bonus: it also can use my other tool JinjaTurtle, which converts native config files into Jinja2 templates / Ansible vars. That one too was born out of frustration, converting a massive TOML file into Ansible :)<p>Anyway, hope it's useful to someone other than me! The website has some demos and more documentation. Have fun every(any)-one.
Functional programming and reliability: ADTs, safety, critical infrastructure
Functional programming and reliability: ADTs, safety, critical infrastructure
Run Docker containers natively in Proxmox 9.1 (OCI images)
Run Docker containers natively in Proxmox 9.1 (OCI images)
Show HN: JSON Query
Show HN: JSON Query I'm working on a tool that will probably involve querying JSON documents and I'm asking myself how to expose that functionality to my users.<p>I like the power of `jq` and the fact that LLMs are proficient at it, but I find it right out impossible to come up with the right `jq` incantations myself. Has anyone here been in a similar situation? Which tool / language did you end up exposing to your users?
No other tools from this source yet.