Is

Is": An Inspector for Your Environment

Hacker News

Is": An Inspector for Your Environment

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.

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: user, tasks, using · Missing: mac, agents, macos
61%61% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
54%54% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
48%48% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
38%38% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
36%36% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
13%13% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

OV
OVH Environment Inspector41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OVH Environment Inspector

Hacker News2
Ko
Komiser – Cloud Environment Inspector43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Komiser – Cloud Environment Inspector

Hacker News3
Cl
Cloud Environment Inspector43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cloud Environment Inspector

Hacker News1
JW
JWT Inspector App26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JWT Inspector App

Hacker News4
A
A Lisp compiler and environment in Go75%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Lisp compiler and environment in Go

Hacker News76
Va
Varyaml – environment interpolation in yaml configs51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Varyaml – environment interpolation in yaml configs

Hacker News3
en
envssh – Take your environment with you62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

envssh – Take your environment with you

Hacker News1
No
No Environment Setups Anymore63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

No Environment Setups Anymore

Hacker News16
Ju
Junkie – An extensible deep packet inspector42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Junkie – An extensible deep packet inspector

Hacker News3
sa
sachet – handcraft your Vim environment online57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

sachet – handcraft your Vim environment online

Hacker News183