duckduckgo

53 mods across 1 repository, 252 stars between them.

duckduckgo/apple-browsers

Cursor rule Cursor

This document provides a comprehensive overview of how content blocking has been implemented on iOS to protect user privacy and block tracking attempts. Our implementation uses a dual-approach strategy that combines the efficiency of WebKit's native content blocking with the flexibility of JavaScript-based protection.

252 today A 0 tokens Apache-2.0

logging-guidelines

27

duckduckgo/apple-browsers

Cursor rule Cursor

The DuckDuckGo browser apps for iOS and macOS leverage Apple's Unified Logging System for capturing telemetry and debugging information. This system enables efficient tracking of app behavior, issue diagnosis, and performance monitoring in a structured and privacy-conscious manner.

252 today B 0 tokens Apache-2.0

duckduckgo/apple-browsers

Cursor rule Cursor

Define a concrete pattern for removing .shared singletons in the macOS app by replacing them with app-owned instances and dependency injection. The AIChatPreferences and AboutPreferences refactors in AppDelegate are canonical examples.

252 today A 0 tokens Apache-2.0

duckduckgo/apple-browsers

Cursor rule Cursor

Maestro tests can run on either iPhone or iPad simulators based on tags in the test YAML files. This allows you to test iPad-specific UI layouts and features while maintaining a single test suite.

252 today A 0 tokens Apache-2.0

duckduckgo/apple-browsers

Cursor rule Cursor

NetworkQualityMonitor uses a browser-optimized scoring algorithm that prioritizes latency and consistency over raw bandwidth. The scoring is weighted as follows.

252 today A 0 tokens Apache-2.0

duckduckgo/apple-browsers

Cursor rule Cursor

The NetworkQualityMonitor is a comprehensive network quality testing framework designed for the DuckDuckGo Privacy Browser. It provides pre-flight network connectivity and performance checks to ensure optimal browser performance.

252 today A 0 tokens Apache-2.0

duckduckgo/apple-browsers

Cursor rule Cursor

NetworkQualityMonitor displays variance in milliseconds (user-friendly) but scores using Coefficient of Variation (CV) internally. This provides fair comparison across different latency ranges.

252 today A 0 tokens Apache-2.0

pixel-definitions

37

duckduckgo/apple-browsers

Cursor rule Cursor

Rules for creating and maintaining pixel definition JSON5 files that document pixels fired by the iOS and macOS apps.

252 today A 22 tokens Apache-2.0

pixels

38

duckduckgo/apple-browsers

Cursor rule Cursor

How to define, name, and fire pixels on iOS and macOS.

252 today A 16 tokens Apache-2.0

privacy-security

39

duckduckgo/apple-browsers

Cursor rule Cursor

Cursor rule "privacy-security" from duckduckgo/apple-browsers, covering privacy & security guidelines, core principles, privacy by design, secure storage and data handling.

252 today A 510 tokens Apache-2.0

project-structure

40

duckduckgo/apple-browsers

Cursor rule Cursor

DuckDuckGo.xcworkspace/ # Main workspace (ALWAYS open this) ├── iOS/ # iOS app target ├── macOS/ # macOS app target ├── SharedPackages/ # Cross-platform Swift packages ├── fastlane/ # CI/CD automation └── README.md # Main project documentation.

252 today A 0 tokens Apache-2.0

pull-request

41

duckduckgo/apple-browsers

Cursor rule Cursor

PR, pull request, commit, push, git push, gh pr create, open PR, create PR, reviewer, Asana task, merge, GitHub.

252 today A 32 tokens Apache-2.0

duckduckgo/apple-browsers

Cursor rule Cursor

These guidelines encapsulate vital information for using SecureVault in our application. SecureVault is our secure storage system built on GRDB with SQLCipher encryption, providing a layered security approach for sensitive data.

252 today A 0 tokens Apache-2.0

shared-packages

43

duckduckgo/apple-browsers

Cursor rule Cursor

SharedPackages/ ├── FeatureName/ │ ├── Package.swift │ ├── README.md │ ├── Sources/ │ │ └── FeatureName/ │ │ ├── Public/ # Public API │ │ ├── Internal/ # Internal implementation │ │ └── Resources/ # Assets and resources │ └── Tests/ │ └── FeatureNameTests/ │ └── FeatureTests.swift.

252 today A 0 tokens Apache-2.0

duckduckgo/apple-browsers

Cursor rule Cursor

DuckDuckGo's subscription system provides access to premium features including VPN (Network Protection), Personal Information Removal (PIR), Identity Theft Restoration (ITR), and AI Chat. The system supports multiple purchase platforms and cross-platform activation.

252 today A 0 tokens Apache-2.0

swiftui-style

46

duckduckgo/apple-browsers

Cursor rule Cursor

Cursor rule "swiftui-style" from duckduckgo/apple-browsers, covering view structure, view organization, design system integration, required: use designresourceskit colors and required: use designresourceskit icons.

252 today A 0 tokens Apache-2.0

testing

47

duckduckgo/apple-browsers

Cursor rule Cursor

This guide covers testing practices and patterns for the DuckDuckGo browser on iOS and macOS platforms.

252 today B 0 tokens Apache-2.0

ui-testing

48

duckduckgo/apple-browsers

Cursor rule Cursor

This guide covers UI testing practices and patterns specifically for the DuckDuckGo macOS browser.

252 today A 0 tokens Apache-2.0