Skip to content
eshanizedPublic

About

🐼 Production-quality, lightweight, privacy-focused Chromium desktop browser powered by C++20 and Qt 6 QML

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

392 Commits

Folders and files

Repository files navigation

Cute Panda Logo

Cute Panda 🐼

A production-quality, lightweight, beautiful, and privacy-conscious Chromium-based desktop web browser.

CI C++20 Qt 6 Engine Storage Platform License: MIT PRs Welcome

Visual Showcase β€’ Key Features β€’ Architecture β€’ Build & Install β€’ Shortcuts β€’ Documentation


Overview

Cute Panda combines the uncompromising web standard compatibility and multi-process security sandboxing of Chromium (via Qt 6 WebEngine) with a distinct, fluid, native desktop presentation layer powered by C++20 and Qt Quick / QML.

Designed with the philosophy of "Premium minimalism + playful details + native desktop ergonomics", Cute Panda delivers instantaneous startup, zero telemetry, integrated tracking and ad blocking, SQLite transactional persistence, and memory-aware tab management.


Visual Showcase

πŸŒ“ Speed Dial & New Tab Experience

A responsive, distraction-free start page featuring customizable quick-dial tiles, search engine shortcuts, and Catppuccin-inspired light and dark color palettes.

Light Theme Speed Dial Dark Theme Speed Dial
New Tab Light New Tab Dark

🌐 High-Fidelity Chromium Web Rendering & Omnibox

Full support for modern HTML5, CSS Grid, WebGL, Canvas, and V8 JavaScript, coupled with an intelligent omnibox that provides real-time URL classification, search auto-completion, and bookmark matching.

Live Chromium Web Rendering Intelligent Omnibox Autocomplete
Chromium Web Rendering Omnibox Suggestions

βš™οΈ Deep Configuration & Privacy Dashboard

Granular control over tracking protection, per-site peripheral permissions (camera, microphone, geolocation), theme customizations, search providers, and startup profiles.

Settings β€” Appearance & Styling Settings β€” Privacy & Sandboxing
Settings Light Settings Dark

πŸ“‘ Workspace Sidebars & Integrated Tools

Quick-toggle vertical drawers for seamless browsing workflows without cluttering the viewport.

Bookmarks & History Drawer AI Copilot & Memory Optimizer
Bookmarks Sidebar Copilot Sidebar

Core Features & Subsystems

Feature Description
πŸ›‘οΈ In-Memory Trie Adblock Zero-latency synchronous trie matcher filtering network requests against EasyList and tracking rules without touching disk or SQLite.
⚑ Sub-100ms Startup Measured cold-boot to interactive in ~65–90ms with asynchronous SQLite initialization and on-demand WebEngine profile binding.
πŸ” Intelligent Omnibox C++20 domain and URL classifier distinguishing local addresses, intranet ports, domains, and queries with live search suggestions.
πŸ•΅οΈ Isolated Private Browsing True Off-The-Record (OTR) profile isolation with RAM-only cookie/cache stores, never persisting history, downloads, or permissions to disk.
πŸ—„οΈ SQLite WAL Persistence Non-blocking transactional database engine managing bookmarks, history, site permissions, and session restore with schema migrations.
πŸ“– Reader Mode Clean, typography-focused reading layout extracting primary article body, stripping sidebars, and offering Serif/Sans font switching.
⬇️ Safe Download Engine Path traversal mitigations, MIME type sanitization, explicit user approval prompts, and duplicate filename conflict resolution.
πŸ” Origin-based Permissions Strict request FIFO queue for camera, microphone, notifications, and geolocation with zero race conditions across tabs.
πŸ”„ Crash Recovery & Sessions Crash-state detector offering instant session restoration with serialized tab metadata after unexpected system termination.
🧠 Memory Discarding Automatic background tab pruning and memory reclaiming to maintain high responsiveness even under dozens of active tabs.

Architecture

graph TD
    subgraph UI ["Desktop Presentation Shell (Qt Quick / QML)"]
        TabStrip["Tab Strip & Pinned Tabs"]
        Omnibox["Intelligent Omnibox"]
        Sidebars["Sidebars (Bookmarks / History / Copilot)"]
        SettingsUI["Settings & Permission Prompts"]
    end

    subgraph Core ["Core Browser Engine (C++20)"]
        BrowserWindow["BrowserWindow / TabModel"]
        UrlClassifier["UrlClassifier & SearchEngine"]
        AdBlocker["AdBlockEngine (Trie Matcher)"]
        PermissionMgr["PermissionManager"]
        DownloadMgr["DownloadManager"]
        SettingsMgr["SettingsManager"]
    end

    subgraph Web ["Chromium Sandboxed Runtime"]
        WebProfile["QWebEngineProfile (Default / OTR)"]
        WebEngineView["QWebEngineView (Sandboxed Renderers)"]
        Interceptors["UrlRequestInterceptor"]
    end

    subgraph Storage ["Persistent Storage Subsystem"]
        DBMigrator["DatabaseMigrator"]
        DBWorker["DatabaseWorker (Threaded Queue)"]
        SQLiteDB[("SQLite 3 Database (WAL Mode)")]
    end

    UI <--> Core
    Core <--> Web
    Core <--> Storage
    Interceptors --> AdBlocker
Loading

Technology Stack

  • Rendering Engine: Chromium via Qt 6 WebEngine
  • Application Shell: Qt 6.8+ (Qt Quick / QML, Qt Quick Controls 2)
  • Programming Language: C++20 (concepts, std::string_view, structured bindings)
  • Storage Subsystem: SQLite 3 with Write-Ahead Logging (WAL) and foreign key integrity
  • Build System: CMake 3.20+ with Ninja build tool
  • Platform Support: Linux (X11 / Wayland), Windows 10/11, macOS 13+

Building from Source

1. Prerequisites

Arch Linux (Recommended)

sudo pacman -S base-devel cmake ninja gcc clang \
    qt6-base qt6-declarative qt6-webengine qt6-svg sqlite libsecret

Ubuntu / Debian (24.10+)

sudo apt-get install -y build-essential cmake ninja-build \
    qt6-base-dev qt6-declarative-dev qt6-webengine-dev \
    libqt6svg6-dev libsqlite3-dev libsecret-1-dev

Fedora (41+)

sudo dnf install gcc-c++ cmake ninja-build \
    qt6-qtbase-devel qt6-qtdeclarative-devel qt6-qtwebengine-devel \
    qt6-qtsvg-devel sqlite-devel libsecret-devel

macOS (Homebrew)

brew install cmake ninja qt@6 sqlite

2. Configure & Build

Cute Panda uses standardized CMake presets defined in CMakePresets.json:

# 1. Clone the repository
git clone https://github.com/eshanized/CutePanda.git
cd CutePanda

# 2. Configure using the development preset
cmake --preset default

# 3. Compile across all CPU cores
cmake --build --preset default -j$(nproc)

3. Run Cute Panda

# Launch browser
./build/bin/CutePanda

# Launch with an initial URL
./build/bin/CutePanda https://duckduckgo.com

4. Run Automated Test Suites

ctest --preset default --output-on-failure

Keyboard Shortcuts

Shortcut Action
Ctrl + T Open new tab
Ctrl + W Close active tab
Ctrl + Shift + T Reopen recently closed tab
Ctrl + Tab / Ctrl + PageDown Next tab
Ctrl + Shift + Tab / Ctrl + PageUp Previous tab
Ctrl + 1 .. 8 Switch to tab 1 through 8
Ctrl + 9 Switch to last tab
Ctrl + L / Alt + D Focus Omnibox address bar
Ctrl + Shift + N Open private browsing window
Ctrl + B Toggle Bookmarks sidebar
Ctrl + H Toggle History sidebar
Ctrl + J Toggle Downloads sidebar
Ctrl + D Bookmark current page
Ctrl + R / F5 Reload active page
Ctrl + Shift + R Force reload (bypass cache)
Ctrl + + / - / 0 Zoom In / Out / Reset Zoom
F11 Toggle Fullscreen

Project Structure

CutePanda/
β”œβ”€β”€ .github/                 # GitHub Actions workflows & issue templates
β”œβ”€β”€ app/                     # Main desktop application entry point (main.cpp)
β”œβ”€β”€ cmake/                   # Modular CMake helper scripts & toolchains
β”œβ”€β”€ docs/                    # Deep technical architecture & specifications
β”‚   β”œβ”€β”€ ARCHITECTURE.md      # Subsystem contracts, concurrency, and threading
β”‚   β”œβ”€β”€ BUILDING.md          # Multi-platform build and cross-compile guide
β”‚   β”œβ”€β”€ DESIGN_SYSTEM.md     # Typography, glassmorphism, Catppuccin color tokens
β”‚   β”œβ”€β”€ PERFORMANCE.md       # Benchmarks, startup profiles, and memory limits
β”‚   β”œβ”€β”€ ROADMAP.md           # Implementation milestones and upcoming features
β”‚   β”œβ”€β”€ SECURITY.md          # Multi-process sandboxing and threat assessment
β”‚   └── adr/                 # Architecture Decision Records
β”œβ”€β”€ packaging/               # Packaging scripts (AppImage, Flatpak, DMG, NSIS)
β”œβ”€β”€ resources/               # Vector icons, mascots, branding & EasyList rules
β”œβ”€β”€ src/                     # Core C++20 engine & subsystem implementations
β”‚   β”œβ”€β”€ adblock/             # Network request interceptor & trie rule matcher
β”‚   β”œβ”€β”€ core/                # Logging, constants, and utilities
β”‚   β”œβ”€β”€ navigation/          # Omnibox controller, search providers & URL classifier
β”‚   β”œβ”€β”€ platform/            # Native Wayland/X11, theme hooks & icon provider
β”‚   β”œβ”€β”€ reader/              # Article parser & distraction-free reader engine
β”‚   β”œβ”€β”€ security/            # Permission manager & credential store
β”‚   β”œβ”€β”€ settings/            # SettingsManager & reactive theme controller
β”‚   └── storage/             # SQLite 3 WAL migrations, thread worker & data access
β”œβ”€β”€ tests/                   # Automated unit, integration, and security test suites
└── ui/                      # Native Qt Quick / QML desktop components
    β”œβ”€β”€ components/          # Reusable controls (Omnibox, GlassSurface, Tooltip)
    β”œβ”€β”€ navigation/          # TabStrip, TabBar, and NavigationBar
    β”œβ”€β”€ overlays/            # CrashRecovery, ReaderMode, and Dialogs
    β”œβ”€β”€ sidebars/            # Bookmarks, History, Downloads, and Copilot panels
    β”œβ”€β”€ views/               # SpeedDial new-tab view and Settings views
    └── themes/              # Catppuccin Mocha & Latte palette token providers

Documentation Index

Explore in-depth documentation covering every layer of Cute Panda:


Contributing

Contributions make open-source software thrive! Whether reporting a bug, proposing an improvement, or submitting a pull request, we welcome your support.

  1. Review the Code of Conduct.
  2. Check the Contributing Guide for setup and code conventions.
  3. Browse open issues on our Issue Tracker.

License

Cute Panda is released under the MIT License.

Copyright (c) 2026 Eshan Roy & Cute Panda Contributors.

About

🐼 Production-quality, lightweight, privacy-focused Chromium desktop browser powered by C++20 and Qt 6 QML

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages