Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add some env vars to prevent telemetry for some dev tools #445

Open
MarArMar opened this issue Nov 3, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@MarArMar
Copy link

MarArMar commented Nov 3, 2024

Problem statement

Here are some env vars that I have in .bashrc and .zshrc :

# Respected by some tools CF https://donottrack-doc.com/fr/intro/
export DO_NOT_TRACK=1
# Turborepo CF https://turbo.build/repo/docs/telemetry
export TURBO_TELEMETRY_DISABLED=1
export TURBO_NO_UPDATE_NOTIFIER=true
# CF https://bun.sh/blog/bun-v1.1.10#crash-report-uploading
export BUN_CRASH_REPORTER_URL=""
# Trunk CF https://docs.trunk.io/cli/configuration/telemetry
export TRUNK_TELEMETRY=off
# Next.js CF https://nextjs.org/telemetry
export NEXT_TELEMETRY_DISABLED=1
# SonarQube CF https://docs.sonarsource.com/sonarqube/latest/setup-and-upgrade/environment-variables/#others
export SONAR_TELEMETRY_ENABLE=true
# Homebrew CF https://docs.brew.sh/Analytics#opting-out
export HOMEBREW_NO_ANALYTICS=1
# Storybook CF https://storybook.js.org/docs/configure/telemetry#how-to-opt-out
export STORYBOOK_DISABLE_TELEMETRY=1

Proposed solution

A script that detects if there are bashrc ans zshrc files and add those env vars

Alternatives considered

Juste make a page that shows these to tell people they can add these manually in their rc files

Additional information

No response

@MarArMar MarArMar added the enhancement New feature or request label Nov 3, 2024
@MarArMar MarArMar changed the title [Feature]: Add some env vars to prevent telemetry for some other tools [Feature]: Add some env vars to prevent telemetry for some dev tools Nov 3, 2024
@undergroundwires
Copy link
Owner

Hi,

Thank you,
Sounds good!

These would apply to all OSes (Windows+Linux+macOS).
Unfortunately, privacy.sexy does not allow reusing scripts, I do major refactorings to allow this, before this, it requires duplicated effort to add these scripts to all three collections which I would not do.
So I will not implement this before I add support for reusable partial collections.

I can merge a PR if there's one though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants