NeonSunshine
is a PyQt5-based GUI application designed to simplify adding games to Sunshine. It supports JSON file loading, sorting, and saving, with optional integration to download cover images from the SteamGridDB API.
- Folder Selection: Add folders to scan for executable files.
- Manual Entry: Add custom applications manually, including commands, working directories, and optional cover images.
- JSON Management: Load, validate, sort, and save JSON configuration files containing application data.
- Customization: Edit application names and commands directly in the interface.
- SteamGridDB Integration: Fetch and save cover images for applications (requires API key). Covers are saved in a folder named
covers
alongside the saved JSON. - Configuration Management: Save and load application settings via a configuration dialog.
- Clear Covers Folder: Option to clear the
covers
folder directly from the UI.
- Python 3.8+
- PyQt5
- Requests
-
Clone the repository:
git clone https://github.com/NeonLightning/NeonSunshine.git cd NeonSunshine
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python NSS.py
-
Add Folders:
- Click "Add Folder" to select folders to scan for executables.
-
Add Manual Entry:
- Use the "Add Manual Entry" button to add custom applications, including specifying commands, working directories, and cover images.
-
Load JSON Configuration:
- Use the "Load JSON" button to load an existing JSON configuration file.(It will update the loaded folders entries aswell.)
-
Sort Applications:
- Click "Load and Sort JSON" to open the sorting and editing interface.
-
Save Configuration:
- Save your sorted configuration by clicking "Sort Configuration."
-
Configure Application Settings:
- Open the configuration dialog to enter your SteamGridDB API key, toggle download options, or manage the application settings.
-
Clear Covers Folder:
- Use the "Clear Covers Folder" button to delete all downloaded covers.
The configuration is stored in NSS-config.json
in the following format:
{
"api_key": "your_steamgriddb_api_key",
"download_covers": true
}
Errors and logs are saved in the NSS_errors.log
file in the application directory.
- Ensure Python 3.8+ is installed and added to your PATH.
- Verify dependencies are installed correctly.
- Provide a valid SteamGridDB API key for cover image downloads.
- Sunshine for the program this is for.
- SteamGridDB API for providing application cover images.
- PyQt5 for the GUI framework.
Enjoy managing your applications effortlessly with NeonSunshine
! What started as a quick project to add games individually turned into a full-fledged program.