惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
U
Unit 42
B
Blog RSS Feed
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
腾讯CDC
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
博客园 - 聂微东
MyScale Blog
MyScale Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
Engineering at Meta
Engineering at Meta

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap
GitHub - osfv/BraveDebloater: Safety-first Windows PowerS...
osfv · 2026-06-15 · via Show HN

Brave Windows PowerShell CI License

Brave Browser new tab page with Shields stats visible

Brave logo BraveDebloater is a safety-first Windows PowerShell tool for trimming Brave Browser extras while keeping Brave Shields intact.

Windows logo Windows-first  ·  PowerShell logo PowerShell-native  ·  Open Source Initiative logo Open source

It uses official Brave/Chromium enterprise policies where possible, starts in dry-run mode, writes backups before applying changes, and includes an undo path. No updater disabling, no host-file edits, no extension removal, and no Shield allowlisting.

What It Debloats

  • Brave Rewards, Wallet, VPN, Leo AI Chat, News, Talk, Playlist, Speedreader, and Wayback prompts
  • Brave telemetry surfaces such as P3A, stats ping, and Web Discovery
  • Chromium metrics, URL-keyed collection, Privacy Sandbox prompts, remote search suggestions, network prediction, and remote spellcheck
  • Extreme preset extras such as background mode, promotions, Browser Labs, new tab cards, shopping list, QR generator, translate prompts, autofill, and the Google search side panel

Optional profile preference cleanup can also hide some new tab sponsored/background and toolbar surfaces when Brave stores those preferences in per-profile Preferences JSON.

Quick Start

Preview the extreme preset:

.\Invoke-BraveDebloat.ps1 -Preset Extreme

List the policies and optional profile preference patches without running the dry-run/apply flow:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -List -IncludeProfilePreferences

List the available feature toggles:

.\Invoke-BraveDebloat.ps1 -ListFeatures

Run a read-only health check of Brave policies, backups, profile files, and detected feature status:

.\Invoke-BraveDebloat.ps1 -Doctor

Apply it for the current Windows user:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -Apply

Apply it and enforce a safe Shields baseline:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -LockShields -Apply

Customize the preset interactively:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -Customize

Or make a scripted custom run:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -ExcludeFeature News,LeoAI
.\Invoke-BraveDebloat.ps1 -Preset Standard -IncludeFeature Translate
.\Invoke-BraveDebloat.ps1 -OnlyFeature Rewards,Wallet,VPN

PowerShell -WhatIf is supported as a no-write preview even when -Apply is present:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -Apply -WhatIf

After applying, restart Brave and open brave://policy to verify the policies.

Presets

  • Standard: Brave-specific bloat and Brave telemetry.
  • High: Standard plus privacy-preserving policy defaults.
  • Extreme: High plus more UI and convenience surface cleanup.
  • Core, Privacy, and Aggressive: compatibility aliases for Standard, High, and Extreme.
  • -LockShields: optional add-on that enforces default ad blocking, standard fingerprinting protection, HTTPS upgrades, and stricter referrer behavior.

By default, the tool uses Extreme and does not lock Shield behavior. It also refuses to apply policies that disable Shields, add Shield-disabled URLs, weaken Safe Browsing, or disable updates.

Feature Toggles

Use -Customize for an interactive yes/no prompt for each cleanup, or use -IncludeFeature and -ExcludeFeature for repeatable commands. Feature names are shown by -ListFeatures; examples include Rewards, Wallet, VPN, LeoAI, News, Talk, Autofill, Translate, and GoogleSearchSidePanel.

Use -OnlyFeature when you want exactly the named cleanups without starting from a preset.

When -IncludeProfilePreferences is combined with custom feature choices, profile preference patches are filtered to the selected features.

Doctor Mode

Use -Doctor to inspect the current Brave policy state without writing anything. It reports CurrentUser and LocalMachine policy keys, detected feature status, unknown Brave policies, protected policy names, Brave process state, profile preference files, and available backups.

This is useful after testing other debloat tools because machine-wide policies can make Brave settings appear managed for every Windows user.

Profile Preferences

Registry policies are the main path because they are supported and visible in brave://policy. For cosmetic cleanup that Brave stores per profile, close Brave and run:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -IncludeProfilePreferences -Apply

If Brave is running, profile preference cleanup is skipped to avoid writing files that Brave may overwrite.

Restore

Every applied run creates a JSON backup in backups/ unless -NoBackup is used for policy-only changes.

Preview a restore:

.\Invoke-BraveDebloat.ps1 -UndoFromBackup .\backups\BraveDebloater-YYYYMMDD-HHMMSS-fff.json

Apply a restore:

.\Invoke-BraveDebloat.ps1 -UndoFromBackup .\backups\BraveDebloater-YYYYMMDD-HHMMSS-fff.json -Apply

Restore validates backup metadata before writing. Registry restores are limited to Brave policy keys, and profile file restores are limited to Preferences files under the selected -ProfileRoot.

Machine-Wide Mode

Current-user policy is the default and does not require administrator rights. For machine-wide policy, run PowerShell as administrator:

.\Invoke-BraveDebloat.ps1 -Preset Extreme -Scope LocalMachine -Apply

Sources

Policy names and values are based on Brave's official Group Policy documentation and Brave policy templates:

Project Checks

Run the built-in manifest and syntax checks:

.\scripts\Test-PolicyManifest.ps1
.\scripts\Test-Behavior.ps1

Pull Request Review

Greptile review guidance lives in greptile.json and mirrors the same safety-first focus for PowerShell compatibility, policy changes, registry writes, profile JSON writes, and feature-toggle behavior.