A photo of Evan Pratten
Evan Pratten

I re-implemented ls to query the Steam API

gamels: never be confused about Steam appid direcroties again

Today, I released a new command-line tool called gamels.

Linux gamers may be familiar with digging around the copmpatdata and shadercache directories in ~/.local/share/Steam/steamapps. This is a tedious task that involves lots of googling, since Steam names game-specific directories after the game’s application id.

A screenshot showing app ids in the shadercache

gamels solves this problem by querying the Steam API to see if any directory names match known app ids. If so, the name of the corresponding game is shown in the listing.

A screenshot of gamels in action

Installation instructions and source code are available on GitHub.