Skip to content

This script lists games from Lutris, Heroic and/or Bottles, adds them to Sunshine, and optionally downloads game covers from SteamGridDB.

License

Notifications You must be signed in to change notification settings

Arbitrate3280/LutrisToSunshine

Repository files navigation

LutrisToSunshine

This script lists games from Lutris/Heroic/Bottles, adds them to Sunshine, and optionally downloads game covers from SteamGridDB.

Features

  • Supports:
    • Lutris (Native and Flatpak)
    • Heroic (Native and Flatpak)
    • Bottles (Flatpak)
  • Adds selected games to Sunshine
  • Option to add all listed games at once
  • Downloads game covers from SteamGridDB (optional)
  • Avoids duplicate entries in Sunshine

Main Goal

This tool is designed to work with Sunshine installed on the host along with Lutris, Heroic or Bottles. I'm sharing it in case others find it useful. It was created with the help of AI, as I'm not a developer. Please note, this is a personal tool and not intended as a formal project.

Installation

  1. Clone the repository
  git clone https://github.com/yourusername/LutrisToSunshine.git
  cd LutrisToSunshine
  1. Install required Python libraries:
  pip install -r requirements.txt

Usage

  1. Ensure that Lutris is closed before running the script.

  2. Run the script:

python3 lutristosunshine.py
  1. Follow the prompts to list games, select games to add, and optionally download images from SteamGridDB.

Alternatively, you can download the binary available in the "Releases" section of the GitHub repository. Download the binary from the latest release, make it executable, and run it:

chmod +x lutristosunshine
./lutristosunshine

License

MIT

Acknowledgements

About

This script lists games from Lutris, Heroic and/or Bottles, adds them to Sunshine, and optionally downloads game covers from SteamGridDB.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages