You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Introduced a new supplement for applying Privacy Guides recommendations on top of existing presets or custom settings.
- Updated documentation to include instructions for using the Privacy Guides feature in README.md, CONTRIBUTING.md, and new PRIVACY-GUIDES.md.
- Enhanced the TUI to allow users to select a base preset when applying Privacy Guides.
- Implemented backend logic to merge Privacy Guides settings with existing presets, ensuring no overlap.
- Added tests for loading and merging Privacy Guides settings.
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ cowardly
76
76
```
77
77
78
78
-**Apply a preset** — Choose a preset (Quick Debloat, Maximum Privacy, Balanced, Performance, Developer, Strict Parental) and apply it.
79
+
-**Privacy Guides recommendations** — Apply [Privacy Guides](https://www.privacyguides.org/en/desktop-browsers/#brave) Brave config as a supplement on top of any preset or Custom (Quick Debloat by default; no overlap with presets).
79
80
-**Custom** — Toggle individual settings by category (Telemetry, Privacy & Security, Brave Features, Performance & Bloat), then apply.
80
81
-**View current settings** — See which policy keys are set.
81
82
-**Reset all to default** — Remove all Brave policy settings (restore defaults).
@@ -95,6 +96,14 @@ After applying or resetting, **restart Brave Browser** for changes to take effec
95
96
cowardly --apply=max-privacy
96
97
```
97
98
99
+
-**Privacy Guides recommendations** — Apply [Privacy Guides](https://www.privacyguides.org/en/desktop-browsers/#brave) supplement on top of any preset or Custom:
100
+
101
+
```bash
102
+
cowardly --privacy-guides # base from config or Quick Debloat
103
+
cowardly --privacy-guides=max-privacy # base: Maximum Privacy
104
+
cowardly --privacy-guides=custom # base: your saved Custom settings
105
+
```
106
+
98
107
-**Apply from a YAML file** (same format as preset `settings`):
99
108
100
109
```bash
@@ -191,7 +200,7 @@ Use **Space** to toggle, **Enter** to apply, **a** to select all, **n** to selec
191
200
192
201
## Project layout
193
202
194
-
The repo follows the [Standard Go Project Layout](https://github.com/golang-standards/project-layout). See **[docs/PROJECT-LAYOUT.md](docs/PROJECT-LAYOUT.md)** for the directory overview, **[docs/PLATFORMS.md](docs/PLATFORMS.md)** for current and possible future platform support (macOS / Linux / Windows), and **[docs/POLICY-ENFORCEMENT.md](docs/POLICY-ENFORCEMENT.md)** for how policy enforcement works on macOS (managed vs user preferences, raw XML plist, AppleScript auth). A summary of implemented features is in **[docs/FEATURES.md](docs/FEATURES.md)**; possible future improvements are in **[docs/FUTURE.md](docs/FUTURE.md)**.
203
+
The repo follows the [Standard Go Project Layout](https://github.com/golang-standards/project-layout). See **[docs/PROJECT-LAYOUT.md](docs/PROJECT-LAYOUT.md)** for the directory overview, **[docs/PLATFORMS.md](docs/PLATFORMS.md)** for current and possible future platform support (macOS / Linux / Windows), and **[docs/POLICY-ENFORCEMENT.md](docs/POLICY-ENFORCEMENT.md)** for how policy enforcement works on macOS (managed vs user preferences, raw XML plist, AppleScript auth). A summary of implemented features is in **[docs/FEATURES.md](docs/FEATURES.md)**; possible future improvements are in **[docs/FUTURE.md](docs/FUTURE.md)**. For the Privacy Guides supplement, see **[docs/PRIVACY-GUIDES.md](docs/PRIVACY-GUIDES.md)**.
fmt.Fprintf(os.Stderr, "Backed up user plist to %s\n", path)
222
+
}
223
+
managed, err:=brave.ApplySettings(settings)
224
+
iferr!=nil {
225
+
fmt.Fprintf(os.Stderr, "apply failed: %v\n", err)
226
+
os.Exit(1)
227
+
}
228
+
ifmanaged {
229
+
fmt.Printf("Applied Privacy Guides recommendations (enforced). Restart Brave for changes to take effect.\n")
230
+
} else {
231
+
fmt.Printf("Applied Privacy Guides recommendations. Restart Brave. For enforced policies, approve the macOS authentication dialog when you run apply.\n")
Copy file name to clipboardExpand all lines: configs/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,10 @@ Configuration file templates and default configs.
6
6
7
7
Brave debloat presets are **YAML** files here. Each file (e.g. `01-quick.yaml`) is one preset; order in the TUI is by filename. To add a preset, add a new `.yaml` file in **configs/presets/** and rebuild. See **[docs/ADDING-PRESETS.md](../docs/ADDING-PRESETS.md)** for the format and instructions.
8
8
9
+
## supplements/
10
+
11
+
Supplements apply on top of presets (or Custom). Each subdirectory (e.g. **privacy-guides/**) is one supplement.
12
+
13
+
-**privacy-guides/** — [Privacy Guides](https://www.privacyguides.org/en/desktop-browsers/#brave) recommended Brave configuration (Shields, P3A, De-AMP, etc.). Contains only settings not in presets. Apply via TUI or `--privacy-guides` / `--privacy-guides=<base>` (base: quick, max-privacy, custom, etc.).
14
+
9
15
This directory is reserved per the [Standard Go Project Layout](https://github.com/golang-standards/project-layout). Tool configs (e.g. `.golangci.yml`, `renovate.json`) remain at repository root by convention.
0 commit comments