GitPedia

SlimBrave Neo

SlimBrave Neo — Debloat and harden Brave Browser on Linux and Windows. Python curses TUI + CLI. Zero dependencies.

From ChaoticSi1ence·Updated June 22, 2026·View on GitHub·

**Debloat and harden Brave Browser on Linux, macOS, and Windows.** The project is written primarily in Python, distributed under the GNU General Public License v3.0 license, first published in 2026. Key topics include: brave, brave-browser, chromium-policies, curses, debloat.

Latest release: v1.7.2v1.7.2 - Themed GUI & low-resolution mode
June 13, 2026View Changelog →
<div align="center">

SlimBrave Neo

<img src="https://github.com/user-attachments/assets/3e90a996-a74a-4ca1-bea6-0869275bab58" width="160" height="240">

Debloat and harden Brave Browser on Linux, macOS, and Windows.

Python 3
No Dependencies
License: GPL-3.0
Linux
macOS
Windows

SlimBrave Neo uses Chromium enterprise managed policies to disable telemetry, bloat, and unwanted features in Brave Browser. No browser extensions, no hacks, just clean policy enforcement that Brave respects natively.

</div>

[!IMPORTANT]
The only official source of SlimBrave Neo is this repository:
github.com/ChaoticSi1ence/SlimBrave-Neo

This project ships source code only. Python and PowerShell scripts you can read before running.
There are no official .exe, .msi, .dmg, .pkg, installers, or compiled binaries.
If you find a download claiming to be SlimBrave-Neo elsewhere, it is not from this project. See SECURITY.md.

[!NOTE]
Linux users: consider Brave Origin first.
Brave Origin is a free, official Brave variant that ships with telemetry and bloat already removed. If you just want a clean Brave without configuration, that's the simpler path.

The Linux version of SlimBrave Neo is still fully supported, and is the right tool if you want fine-grained control over individual policies, custom presets, or your own DoH templates beyond what Origin provides out of the box.

<div align="center">
<img src="assets/tui-screenshot.png" width="620" alt="SlimBrave Neo Linux TUI">

Interactive curses TUI. Zero dependencies, runs in any terminal.

</div>

Quick Start

Linux

bash
git clone https://github.com/ChaoticSi1ence/SlimBrave-Neo.git cd SlimBrave-Neo sudo python3 slimbrave-linux.py

That's it. No pip install, no jq, no external dependencies. Just Python 3 and root.

CLI mode (non-interactive):

bash
sudo python3 slimbrave-linux.py --import "./Presets/Maximum Privacy Preset.json" sudo python3 slimbrave-linux.py --export ~/SlimBraveNeoSettings.json sudo python3 slimbrave-linux.py --reset

Multiple Brave channels (Stable / Beta / Nightly): Brave hardcodes the managed-policy directory to /etc/brave/policies for every channel, so a single policy file applies to all of them — no per-channel selector is needed. If multiple channels are installed, leaked Shields exceptions are scrubbed from each channel's user-data directory and "Brave is running" detection covers all installed channels.

After applying, restart Brave and verify at brave://policy.

macOS

bash
git clone https://github.com/ChaoticSi1ence/SlimBrave-Neo.git cd SlimBrave-Neo sudo python3 slimbrave-mac.py

Requires root. Policies are written to /Library/Managed Preferences/com.brave.Browser.plist by default; with --persist on an Apple Configuration Profile is installed instead.

Persistence on macOS (Apple Silicon / macOS 13+). On modern macOS, cfprefsd and mdmclient may clear directly-written /Library/Managed Preferences/*.plist files at reboot when no Configuration Profile backs them, so policies don't always survive a restart. SlimBrave Neo offers two modes:

ModeWhat it doesPersistsUser action
off (default)Writes the plist onlymay reset on macOS 13+just sudo
onInstalls an Apple Configuration Profile via System Settingsyes, durablesudo + one-time GUI install

When --persist is omitted on the CLI, the mode currently installed on the Mac is reused, so a re-run never silently demotes an installed profile back to plist-only. A fresh install defaults to off.

When you click Apply in the TUI, SlimBrave Neo asks two macOS-only questions in order: which Brave channels to manage (only when more than one is installed), then whether to persist across reboots. Both prompts have a sticky default — Enter keeps whichever scope and mode are currently installed.

bash
sudo python3 slimbrave-mac.py --import "./Presets/Maximum Privacy Preset.json" --persist on sudo python3 slimbrave-mac.py --import "./Presets/Maximum Privacy Preset.json" --persist off sudo python3 slimbrave-mac.py --reset

Finishing the Configuration Profile install (macOS 26). With --persist on, SlimBrave Neo writes a .mobileconfig and opens System Settings, but macOS 11+ disallows CLI-driven profile installs so you finish the step in the GUI: a "Profile Downloaded" notification appears; in System Settings click GeneralDevice Management, scroll down to Downloaded, double-click SlimBrave Neo - Brave Policy, click Install, and enter your login password. Policies then take effect immediately and persist across reboots. To uninstall, run --reset or remove the profile under the same Device Management pane. Reference: Apple — Install configuration profiles on Mac.

CLI mode (non-interactive):

bash
sudo python3 slimbrave-mac.py --import "./Presets/Maximum Privacy Preset.json" sudo python3 slimbrave-mac.py --export ~/SlimBraveNeoSettings.json sudo python3 slimbrave-mac.py --reset sudo python3 slimbrave-mac.py --import preset.json --channels stable,beta sudo python3 slimbrave-mac.py --import preset.json --persist on

After applying, restart Brave and verify at brave://policy.

Windows

powershell
iwr "https://raw.githubusercontent.com/ChaoticSi1ence/SlimBrave-Neo/main/SlimBrave.ps1" -OutFile "SlimBrave.ps1"; .\SlimBrave.ps1

Requires Administrator privileges. Hover over any option in the app for a plain-English description of what it does and the exact policy it writes. The app follows your Windows light/dark theme, and on low-resolution displays (e.g. 720p/768p) automatically reflows from two columns into three shorter ones so no options or buttons run off the bottom of the screen.


Features

Telemetry & Reporting

  • Disable Metrics Reporting
  • Disable Safe Browsing Reporting
  • Disable URL Data Collection
  • Disable P3A Analytics
  • Disable Stats Ping

Privacy & Security

  • Disable Safe Browsing
  • Disable Autofill (Addresses & Credit Cards)
  • Disable Password Manager
  • Disable Browser Sign-in
  • Enable Global Privacy Control
  • Enable De-AMP (strip Google AMP wrappers)
  • Enable Debouncing (skip known tracking redirect hops)
  • Strip Tracking URL Parameters
  • Reduce Language Fingerprinting
  • Disable WebRTC IP Leak
  • Disable QUIC Protocol
  • Block Third Party Cookies
  • Force Google SafeSearch
  • Disable / Force Incognito Mode (mutually exclusive)

Brave Features

  • Disable Brave Rewards
  • Disable Brave Wallet
  • Disable Brave VPN
  • Disable Brave AI Chat
  • Disable Brave Shields / Force Shields On for all sites (mutually exclusive)
  • Disable Brave News
  • Disable Brave Talk
  • Disable Brave Playlist
  • Disable Web Discovery
  • Disable Speedreader
  • Disable Tor
  • Disable Sync
  • Disable Email Aliases

Shields & Content Protection

Pin Brave's own protection defaults as managed policy so they can't be weakened per-site or in settings (requires Brave 1.83+):

  • Enforce Ad Blocking
  • Enforce Fingerprinting Protection
  • Force HTTPS Upgrades (Strict — sites that can't serve HTTPS show an interstitial)
  • Cap Referrers (Strict Origin) / Allow Permissive Referrers (mutually exclusive — both unchecked leaves referrer behavior unmanaged)
  • Forget First-Party Storage on Close

Note on referrers: with no referrer policy applied, Brave still caps cross-origin referrers by default, but you can loosen it per-site by lowering Shields on that site. "Allow Permissive Referrers" makes the loosening global as managed policy (DefaultBraveReferrersSetting: 1) — sites that request unsafe-url get your full referring URL cross-origin. It exists for compatibility with sites that break under capped referrers; it weakens privacy and is deliberately excluded from every preset.

Performance & Bloat

  • Disable Background Mode (Windows/Linux only — the policy doesn't exist on macOS)
  • Disable Shopping List
  • Always Open PDF Externally
  • Disable Translate
  • Disable Spellcheck
  • Disable Search Suggestions
  • Disable Printing
  • Disable Default Browser Prompt
  • Disable Developer Tools
  • Disable Wayback Machine

DNS Over HTTPS

  • unmanaged by default — no DNS policy is written, so Brave's own DNS settings stay user-controlled
  • Four managed modes: automatic, off, secure, custom (off force-disables DoH as policy)
  • Custom DoH template URL support (e.g. https://cloudflare-dns.com/dns-query)
  • Inline editable template field in the TUI

CLI Reference

FlagDescription
--import PATHImport a SlimBrave Neo JSON config and apply policies
--export PATHExport current policy to a SlimBrave Neo JSON config
--resetRemove the managed policy file
--policy-file PATHOverride policy file path
--doh-templates URLSet custom DNS-over-HTTPS template URL
--channels LISTComma-separated channels to target (stable,beta,nightly). Default auto = all detected. macOS writes one plist per channel; Linux always shares a single policy file.
--persist MODEmacOS persistence: off (plist only; may reset after reboot on macOS 13+) or on (install an Apple Configuration Profile via System Settings; durable, Apple-recommended). Omitted = reuse whatever mode is currently installed; falls back to off if nothing is. Linux ignores this flag — its /etc/brave/policies file is already durable.
-h, --helpShow help

Import/export uses the same JSON format as the Windows PowerShell version. Configs are cross-platform compatible.


<details> <summary><strong>Presets</strong></summary>

Maximum Privacy Preset

  • Telemetry: Blocks all reporting (metrics, safe browsing, URL collection, feedback).
  • Privacy: Disables autofill, password manager, sign-in, WebRTC leaks, QUIC, and enforces Global Privacy Control.
  • Brave Features: Kills Rewards, Wallet, VPN, AI Chat, Tor, Sync, and Email Aliases.
  • Shields: Pins ad blocking, fingerprinting protection, strict HTTPS, capped referrers, and forget-on-close storage as managed policy.
  • Performance: Disables background processes, recommendations, and bloat.
  • DNS: Uses plain DNS (no HTTPS) to prevent potential logging by DoH providers.
  • Note: No longer forces incognito-only browsing (earlier versions set IncognitoModeAvailability: 2, which silently disabled history, persistent logins, and most extensions). Forget-on-close storage covers the privacy goal; the Force Incognito toggle is still available manually.
  • Best for: Paranoid users, journalists, activists, or anyone who wants Brave as private as possible.

Balanced Privacy Preset

  • Telemetry: Blocks all tracking but keeps basic safe browsing.
  • Privacy: Blocks third-party cookies, enables Global Privacy Control, but allows password manager and autofill for addresses.
  • Brave Features: Disables Rewards, Wallet, VPN, and AI features.
  • Performance: Turns off background services and ads.
  • DNS: Uses automatic DoH (lets Brave choose the fastest secure DNS).
  • Best for: Most users who want privacy but still need convenience features.

Performance Focused Preset

  • Telemetry: Only blocks metrics and feedback surveys (keeps some safe browsing).
  • Brave Features: Disables Rewards, Wallet, VPN, and AI to declutter the browser.
  • Performance: Kills background processes, shopping features, and promotions.
  • DNS: Automatic DoH for a balance of speed and security.
  • Best for: Users who want a faster, cleaner Brave without extreme privacy tweaks.

Developer Preset

  • Telemetry: Blocks all reporting.
  • Brave Features: Disables Rewards, Wallet, and VPN but keeps developer tools.
  • Performance: Turns off background services and ads.
  • DNS: Automatic DoH (default secure DNS).
  • Best for: Developers who need dev tools but still want telemetry and ads disabled.

Strict Parental Controls Preset

  • Privacy: Blocks incognito mode, forces Google SafeSearch, and disables sign-in.
  • Brave Features: Disables Rewards, Wallet, VPN, Tor, and dev tools.
  • DNS: Uses custom DoH (can be set to a family-friendly DNS like Cloudflare for Families).
  • Best for: Parents, schools, or workplaces that need restricted browsing.
</details>

How It Works

SlimBrave Neo writes Chromium managed enterprise policies to platform-specific locations. Brave reads these on startup and enforces the policies. No browser modifications needed.

PlatformPolicy Location
Linux/etc/brave/policies/managed/slimbrave.json (shared across all channels)
macOS — --persist off/Library/Managed Preferences/com.brave.Browser{,.beta,.nightly}.plist (one per selected channel).
macOS — --persist onApple Configuration Profile installed via System Settings → General → Device Management. No plist files written; the profile system manages the values.
WindowsRegistry keys via PowerShell

Additional behavior:

  • Auto-detects Brave installations: Arch (brave-bin), deb/rpm, Flatpak, Snap, macOS App (Stable / Beta / Nightly), and PATH fallback
  • Reads existing policies on startup and pre-checks matching features; on macOS, the Apply-time channel prompt pre-ticks channels that already have a SlimBrave-managed policy (sticky default)
  • Full overwrite on Apply, so unchecked features are cleanly removed
  • Import/export compatible with Windows PowerShell version (handles UTF-16 BOM encoding)

<details> <summary><strong>Requirements</strong></summary>

Linux:

  • Python 3 (no external dependencies)
  • Root privileges (sudo)
  • Brave Browser installed (any packaging method)

macOS:

  • Python 3 (no external dependencies)
  • Root privileges (sudo)
  • Brave Browser installed

Windows:

  • Windows 10/11
  • PowerShell
  • Administrator privileges
</details> <details> <summary><strong>Windows: "Running Scripts is Disabled on this System"</strong></summary>

Run this command in PowerShell:

powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
</details>

Roadmap

  • Add preset configurations (Privacy, Performance, etc.)
  • Import/export settings (cross-platform compatible)
  • Add Linux support with full interactive TUI
  • DNS-over-HTTPS with custom template URLs
  • CLI mode for scripting and automation
  • macOS support via managed plist policies
  • Multi-channel support on macOS (Stable / Beta / Nightly)

Contributors


<div align="center">

Like this project? Give it a star!

Made with Python and PowerShell.

License: GPL-3.0

</div>

Contributors

Showing top 4 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from ChaoticSi1ence/SlimBrave-Neo via the GitHub API.Last fetched: 6/23/2026