Get the latest tech news

PSA: Eget That Executable from GitHub


tldr: GitHub is where most CLI tools live. eget is a tool that makes it easy to download and install their binaries.

For example, I had to write an Ansible playbook to map the current architecture into multiple naming conventions (e.g., one has to map uname architecture like x86_64 into Golang amd64), deal with the fact that some projects ( cough ksops cough) have their own conventions, download the release, and then have three different ways to untar/unzip/chmod the downloaded file. It’s a tool that encodes all of these heuristics into a simple command eget owner/repo that downloads the latest release of a GitHub repo into current directory. The worst part of using eget is that it isn’t published in a distro so one has to do the usual curl ... | sh dance to install it.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of PSA

PSA

Photo of GitHub

GitHub

Related news:

News photo

Show HN: What do your GitHub starred repos say about you?

News photo

The Many SHAs of a GitHub Pull Request

News photo

GitHub Actions Typosquatting: a High-Impact Supply Chain Attack-in-Waiting?