{"id":32800667,"url":"https://github.com/brammitch/ghub-discord-fix","last_synced_at":"2026-04-12T08:40:57.891Z","repository":{"id":319094732,"uuid":"1077554057","full_name":"brammitch/ghub-discord-fix","owner":"brammitch","description":"Disables Discord integration in Logitech G Hub by modifying the configuration file","archived":false,"fork":false,"pushed_at":"2025-10-16T12:41:12.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-06T04:07:04.311Z","etag":null,"topics":["configuration","discord","ghub","logitech","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brammitch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-16T12:11:45.000Z","updated_at":"2025-10-16T12:43:05.000Z","dependencies_parsed_at":"2025-10-18T03:13:02.785Z","dependency_job_id":"5b1a5bd6-c355-49e8-8a80-116726839230","html_url":"https://github.com/brammitch/ghub-discord-fix","commit_stats":null,"previous_names":["brammitch/ghub-discord-fix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brammitch/ghub-discord-fix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brammitch%2Fghub-discord-fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brammitch%2Fghub-discord-fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brammitch%2Fghub-discord-fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brammitch%2Fghub-discord-fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brammitch","download_url":"https://codeload.github.com/brammitch/ghub-discord-fix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brammitch%2Fghub-discord-fix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31709294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","discord","ghub","logitech","powershell"],"created_at":"2025-11-06T04:01:26.644Z","updated_at":"2026-04-12T08:40:57.886Z","avatar_url":"https://github.com/brammitch.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghub-discord-fix\n\n## Stops Logitech G Hub from prompting you to integrate with Discord\n\nThis script disables the integration in the configuration file and marks the file as read-only so it will persist through restarts.\n\nNote that this will not persist if G Hub is updated or reinstalled. In those situations, you must run this script again to re-disable the integration.\n\n## Instructions\n\n1. Clone the respository or download `ghub-discord-fix.psm1` to your computer\n1. Open PowerShell and run:\n    ```powershell\n    Import-Module .\\path\\to\\ghub-discord-fix.psm1\n    ```\n1. In the same PowerShell session, run:\n    ```powershell\n    Set-DisableGHubDiscordIntegration\n    ```\n1. You should see the following messages, indicating the script ran successfully:\n    ```\n    Discord integration has been disabled in the Logitech G Hub configuration file.\n    The configuration file has been set to read-only.\n    ```\n\n## DIY\n\nIf you are uncomfortable running a script from a random person on the Internet, or just want a quick way to run this one time, here are the commands to do it yourself:\n```powershell\n# Define the path to the G Hub configuration file\n$configPath = \"$HOME\\AppData\\Local\\LGHUB\\integrations\\applet_discord\\config.json\"\n\n# Read the existing configuration\n$configContent = Get-Content -Path $configPath -Raw | ConvertFrom-Json\n\n# Disable Discord integration\n$configContent.enabled = $false\n$configContent.actionSdk.enabled = $false\n$configContent.actionSdk.instantiatedOnce = $true\n\n# Save the updated configuration back to the file\n$configContent | ConvertTo-Json -Depth 10 | Set-Content -Path $configPath -Force\n\n# Set the configuration file to read-only\nSet-ItemProperty -Path $configPath -Name IsReadOnly -Value $true\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrammitch%2Fghub-discord-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrammitch%2Fghub-discord-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrammitch%2Fghub-discord-fix/lists"}