Skip to content

halysl/Steam-Tag-Graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Tag Graph

中文文档 (Chinese) | English

A powerful visualization tool for your Steam library, generating an interactive force-directed graph connecting games and their tags.

Steam Tag Graph Overview (Overview of the Steam Tag Graph)

Features

  • Interactive Graph: Visualize relationships between your games and Steam tags.
  • Filtering:
    • Toggle Games/Tags visibility.
    • Quick filters for Singleplayer, Multiplayer, Indie, etc.
    • Advanced Search: SQL-like grammar support (e.g., show game > 20h and hide tag < 100m).
  • Localization: Full support for English and Chinese (including game names fetched from Steam Store).
  • Details Panel: Click on any tag to see a sorted list of games associated with it.

Filtered View (Filtered view showing 'Sandbox' tag details)

Installation

  1. Clone the repository.

  2. Install dependencies (Recommendation using uv):

    # Install uv if you haven't (https://github.com/astral-sh/uv)
    pip install uv
    
    # Create virtualenv and install dependencies
    uv venv
    source .venv/bin/activate
    uv pip install -r requirements.txt

    Or using standard pip:

    pip install -r requirements.txt
  3. Configuration (Required): You must provide your STEAM_API_KEY and STEAM_USER_ID. You can do this by:

    • Setting environment variables:
      export STEAM_API_KEY="your_api_key"
      export STEAM_USER_ID="your_steam_id_64"
    • Or editing config.py directly.

    How to get them:

Usage

  1. Fetch Data & Generate Graph:

    python3 main.py
    # Or override ID via CLI
    python3 main.py --steam_id <YOUR_STEAM_ID>

    Note: First run may take longer to fetch Chinese game names due to rate limiting.

  2. View Graph:

    • Open web/index.html in your browser.
    • No local server required (data is injected via JS).

Configuration

  • config.py: Set your Steam API Key and default User ID.
  • web/tags_mapping.json: Customizable tag translations.

License

MIT

About

A Steam gameplay visualization project that uses tags as the core and games as leaf nodes to generate a relationship graph, helping you discover your gaming preferences.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors