Steam Game Picker is a web application that helps you pick a game to play from your Steam library. It uses the Steam Web API to fetch your library and pick a random game for you to play.
Try it yourself: steam.voidlesity.dev
node v20
npm v10
docker
- Go to the Steam API Key page
- Register for a Steam API Key (you can enter any Domain Name)
- Copy the API Key and paste it into the
.env
file in Step 3 of the Installation section
- Clone the repo
git clone https://github.com/voidlesity/steam-game-picker.git
- Install NPM packages
npm install
- Create a
.env
file in the root directory and add the following environment variables
STEAM_API_KEY
- Build the Docker image
docker build -t steam-game-picker .
- Run the Docker container
docker run -d -p 3000:3000 steam-game-picker
- Build the server
npm run build
- Start the server
node .output/server/index.mjs
- Open your browser and navigate to http://localhost:3000
- Enter your Steam profile URL/Custom URL/SteamID in the input field
- Click the Go! button
- Now if your Profile is public, you will see a random game of your library
- You can now either click the Play button to launch the game or click the re-roll button again to pick another game
You can also click on the Game itself to view more details about the game
- Clone the repo
git clone https://github.com/voidlesity/steam-game-picker.git
- Install NPM packages
npm install
- Create a
.env
file in the root directory and add the following environment variables
STEAM_API_KEY
- Start the development server
npm run dev
Where can I access the application?
- You can access the application at steam.voidlesity.dev
Why is there no docker image available on Docker Hub?
- Right now when building the image it includes the Steam API Key in the image. I'm not quite sure how to parse an env variable at runtime. Once I figure that out I will push the image to Docker Hub.