218 words
1 minute
Steam Family Shared Library Preview — Client Design and Implementation
2024-05-31
2024-07-31

Update, July 31, 2024:

It’s alive again.


Update, July 26, 2024:

Service temporarily suspended — see this post for why.


URL: https://www.steamhome.xyz

The client side was the simpler half of the project, so here’s a quick walkthrough of how it works.

When you land on the page, the client first asks the backend whether a usable Steam key is available. If not, it prompts you to enter your own key, and the status icon in the top-right corner changes to flag that.

Once a valid key is entered and verified, the state updates and you’re invited to fill in Steam IDs to run a query.

With the Steam IDs in hand, the client sends the request, computes the union of every player’s game library, and records which player owns each game (via a subordinate field). The table on the right then renders the result: one row per game, one column per player, and each cell uses the recorded subordinate data to show whether that player owns the game. Clicking the little eye icon next to a game name reveals which games that player would gain access to by joining the family — titles that don’t belong to them — again derived from the subordinate field.

Preview#

  1. Home

Home page

  1. Adding a key

Adding a key

  1. Success toast

Success toast

  1. The list of new games a player gets to play

New games available to a player

  1. Misc

Misc

Misc

Misc

Steam Family Shared Library Preview — Client Design and Implementation
https://www.mihouo.com/en/posts/front/steamshared/client-side-design-and-implementation/
Author
Jia
Published at
2024-05-31
License
CC BY-NC-SA 4.0