Show HN: Is": An Inspector for Your Environment

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • is

    an inspector for your environment (by oalders)

  • https://github.com/oalders/is

    I wrote a tool to make shell scripting just a little bit easier. It has a syntax that reads just a little bit like English, so that you can ask questions of your environment. That means you can do things like:

    Check the version of a CLI tool:

    $ is cli version tmux gt 3.2 && echo || echo

    Check an OS version by its code name:

    $ is os version-codename in ventura,monterey

    Do things only if a dependency is installed:

    $ is there go && go install golang.org/x/tools/cmd/goimports@latest

    Query a CLI version:

    $ is known cli version bash

    5.2.15

    Check if today is Wednesday using a case insensitive regex:

    $ is cli output stdout date like "(?i)wed"

    Update a binary if it's older than 7 days:

    $ is cli age goimports gt 7 days && go install golang.org/x/tools/cmd/goimports@latest

    Check the major (or minor, or patch) version of your OS:

    $ is os version --major eq 13

    Install if you have passwordless sudo:

    $ is user sudoer && sudo apt-get install ripgrep

    Check the output of STDERR for an arbitrary command:

    $ is cli output stderr ssh --arg="-V" like 9.0p1

    The idea is to make some scripting tasks less tedious. I mostly wrote this because I could and because I enjoyed doing it.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Mpip

    1 project | news.ycombinator.com | 21 May 2024
  • Ask HN: Which LLMs can run locally on most consumer computers

    1 project | news.ycombinator.com | 21 May 2024
  • Upgrading Node.js via the terminal (NVM or brew)

    1 project | dev.to | 20 May 2024
  • Show HN: Terminal based online radio player

    1 project | news.ycombinator.com | 20 May 2024
  • A New Redis Sync Tool

    1 project | dev.to | 20 May 2024