swingmx / swingmusic

Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music.
https://swingmx.com
MIT License
678 stars 41 forks source link

[Privacy] Allow users to opt out of the app telemetry. #153

Closed kitsumed closed 8 months ago

kitsumed commented 8 months ago

Since v1.3.x, swing-music include unmentioned telemetry features using the posthog api. As of right now, all versions of v1.3.x have no options to opt out from said telemetry and the only way to do so inside the app without re-compiling swingmusic is to prevent the process from making it's api request by triggering a error.

cwilvx commented 8 months ago

Hello @kitsumed

The data collected is anonymous and only records an event to help me count active users. Swing music does not collect any personal information as you can see in lines 65 - 76 of the telemetry code.

kitsumed commented 8 months ago

Hello @kitsumed

The data collected is anonymous and only records an event to help me count active users. Swing music does not collect any personal information as you can see in lines 65 - 76 of the telemetry code.

Hi @mungai-njoroge. I did saw that there wasn't any sensible informations shared as of now, however this feature could still evoluate and send more informations in future versions, I think allowing users to opt-out would be something great. Else they could always edit their host file and block all request to the posthog api but that would require additional work.

cwilvx commented 8 months ago

@kitsumed

I understand your concerns. Posthog was not meant to be a permanent thing, it was added very late into the release. It will be removed in the future. I don't think there's anything I can do with the current v1.3.x releases, but I can add an flag to opt out of telemetry or something in the future.

cwilvx commented 8 months ago

Fixed by #157