Categorygithub.com/FM1337/RandomSteamGame
repositorypackage
0.0.0-20241128014537-79ccda29bf94
Repository: https://github.com/fm1337/randomsteamgame.git
Documentation: pkg.go.dev

# README

RandomSteamGame

A tool that uses the IClientCommService (the same thing the mobile apps use) to install a random steam game and then launch it.

Why?

I was bored, wasn't sure what I wanted to play, so I decided to build a program to choose for me and to do so as a surprise.

Usage

Create a .env file from the .env.example and fill in the required values

Then make sure you have a computer with steam installed and logged in.

Once you've done that, just run the application and it'll ask you to specify the maximum amount of playtime you want to limit the list to (for example, entering 5, will have the program pick a random game that you have played 5 minutes or less of) and from that, it will pick a random game from your library to install, and then it will install followed by launching it.

If you encounter a game that doesn't work or decide that there's games that you for whatever reason you ABSOLUTELY DO NOT WANT TO BE PICKED AT ALL, simply add the game's app id to a file called blacklist.txt within the same directory as the compiled executable, and it will never pick any of those IDs.

Note

Technically this is an undocumented API endpoint being used and could easily stop working at any time, nor am I 100% certain it's allowed to even be used. Use this at your own risk, I'm not responsible for anything that goes wrong (bans, etc).