Skip to content
Projets

À propos

Material 3 Expressive Browser For Android

Sécurité et confidentialité

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
+7
in 15 days
+20
in 1 month
Mise à jour retardée

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original
Petal Browser



Petal

An open-source Android browser on Firefox's GeckoView engine, with a Material 3 Expressive interface.


Google Play Store Get it on Appteka Get it on APKPure
Get it on Orion Store Download APK Petal Website
GitHub Source Telegram Channel Report an Issue

GeckoView 161 Material 3 Expressive Add-ons Ready
Android 8.0+ Kotlin 2.4 + Compose GPL-3.0
Google Play Petal Web PRs Welcome


Docs · Changelog · Features · Screenshots · Quick Facts · Permissions · Build · FAQ


Petal is an open-source Android browser built on Mozilla's GeckoView engine and Mozilla Android Components, not the system WebView. Pages render like Firefox, Firefox add-ons work, and a built-in blocker cancels ad and tracker requests before they load. The interface is 100% Kotlin and Jetpack Compose in Material 3 Expressive.

Latest release: v4.8.0 · GeckoView 159.0 · Android Components 159.0.1 · Changelog


Quick Facts

AttributeDetails
AppPetal Browser (com.petal.browser), latest release v4.8.0
PlatformAndroid 8.0 and above (API 26+), compile and target SDK 36
EngineMozilla GeckoView 159.0 with Mozilla Android Components 159.0.1
Language100% Kotlin 2.4 (about 660 source files, no Java), JVM 17 target
UIJetpack Compose (BOM 2026.09) and Material 3 Expressive (material3 1.5.0-alpha22)
Ad & tracker blockingBuilt-in petal_network_blocker WebExtension with EasyList, uBlock uAssets and Hagezi lists, plus Gecko Enhanced Tracking Protection (Strict by default)
ExtensionsFirefox WebExtensions: add-on manager, AMO, .xpi import, 10 built-in add-ons
SyncOptional encrypted sync through a folder you own (bookmarks, history, passwords, tabs, Send to device)
BuildsGitHub (in-app updater), Google Play, F-Droid (no ads, no Google code)
Languages28 translations
LicenseGNU GPL v3.0

Screenshots

Petal home

Petal tabs

Petal shield

Features

Firefox engine

GeckoView 159 and Mozilla Android Components handle rendering, tabs, downloads, prompts and sync. One active tab is mounted at a time; background tabs live in BrowserStore.

Built-in blocking

A bundled WebExtension cancels ad and tracker requests before they are sent, with early cosmetic filtering. A 7-section Privacy & Security page covers HTTPS-only, DNS-over-HTTPS, fingerprinting and more.

Material 3 Expressive

35 expressive shapes, spring motion, predictive back, dynamic colour from your wallpaper, a true-black AMOLED theme and an optional Liquid Glass look.

Tab organisation

Workspaces, collapsible tab folders, pinned tabs and a Glance peek sheet, with a Chrome-style tab grid transition.

Downloads & media

Downloads use Mozilla's download service, so cookies and private mode carry over. Media3 ExoPlayer with picture-in-picture, a reader mode with read-aloud, and a yt-dlp based media grabber.

Sync & optional AI

Sync and send tabs through a folder you own, with no account needed. An optional assistant uses your own key for Gemini, OpenAI, Anthropic, Groq or a local Ollama.

Permissions

Petal asks only when a feature is actively invoked:

Permission Purpose
INTERNET & ACCESS_NETWORK_STATE Loading web pages and detecting connection state.
CAMERA & RECORD_AUDIO Requested only when a web page prompts for camera/mic access or QR code scanning.
ACCESS_FINE_LOCATION Optional; prompted strictly per site with granular allow/block toggles.
READ_MEDIA_* & storage Uploading files, viewing downloaded PDFs, and local storage management.
POST_NOTIFICATIONS & foreground Foreground services for ongoing downloads and background media playback.
USE_BIOMETRIC Unlocking your local password safe with biometric authentication.
VIBRATE Material 3 Expressive spring motion haptics and touch feedback.
REQUEST_INSTALL_PACKAGES Optional built-in seamless updater for GitHub releases.
SYSTEM_ALERT_WINDOW Optional floating island on devices running versions without Android 16 Live Updates.

Tech Stack

LayerLibrary / ToolRole
LanguageKotlin 2.4 (Compose compiler 2.4.21)All app code. KSP 2.3.13 for annotation processing.
BuildAndroid Gradle Plugin 9.4.0 · Gradle wrapperFlavors for GitHub, Play and F-Droid, with ABI splits for arm64-v8a, armeabi-v7a, x86 and x86_64.
UIJetpack Compose BOM 2026.09 · Material 3 1.5.0-alpha22Expressive components, springs and shape morphing (graphics-shapes), Liquid Glass via backdrop.
EngineGeckoView 159.0.20261102144711Rendering and the WebExtension runtime.
Browser componentsMozilla Android Components 159.0.1Engine bridge, BrowserStore, downloads, prompts, site permissions, local bookmark, history and password storage.
DI & navigationHilt 2.60.1 · Navigation Compose 2.10Dependency injection and screen routing.
MediaMedia3 1.11 (ExoPlayer, HLS, session) · yt-dlp libraryPlayback, background audio and the media grabber.
StorageSQLite (SQLiteOpenHelper) · Android Keystore · BiometricsHistory, bookmarks and the local password vault.
Optional toolsShizuku API 13 · ML Kit · CameraX + ZXingPrivileged installs, on-device recognition and the QR scanner.
PlatformMin SDK 26 · Target SDK 36Android 8.0 and newer.

Architecture

Petal is a single Android app written in Kotlin. Mozilla's GeckoView renders pages, Mozilla Android Components keep tab, download and sync state in a BrowserStore, and Jetpack Compose draws the interface. The full write-up is in architecture.md.

graph TD
    classDef core fill:#b81d63,stroke:#ffd9e3,stroke-width:2px,color:#ffffff
    classDef ui fill:#463647,stroke:#cfb8ce,stroke-width:1.5px,color:#fed7ff
    classDef engine fill:#224466,stroke:#78b3f0,stroke-width:1.5px,color:#e1f0ff
    classDef sec fill:#2b4c38,stroke:#85d6a4,stroke-width:1.5px,color:#e8f8ee

    Petal["Petal Browser (Kotlin)"]:::core
    Petal --> UI["Material 3 Expressive UI<br/>compose / ui"]:::ui
    Petal --> Engine["GeckoView 159 + Android Components 159.0.1<br/>engine / browser"]:::engine
    Petal --> Privacy["Privacy and sync<br/>privacy / passwords / account"]:::sec
    Petal --> Media["Media and downloads<br/>media / download"]:::ui

    UI --> U1["Shape morphing and spring motion"]:::ui
    UI --> U2["Liquid Glass, predictive back"]:::ui
    UI --> U3["Tab grid, workspaces, folders"]:::ui

    Engine --> E1["WebExtension runtime and add-on manager"]:::engine
    Engine --> E2["BrowserStore and PetalTabViewController"]:::engine
    Engine --> E3["Total Cookie Protection, Strict ETP"]:::engine

    Privacy --> P1["petal_network_blocker WebExtension"]:::sec
    Privacy --> P2["Biometric password vault"]:::sec
    Privacy --> P3["Folder sync"]:::sec

    Media --> M1["Media3 ExoPlayer, PiP"]:::ui
    Media --> M2["Mozilla AbstractFetchDownloadService"]:::ui
    Media --> M3["yt-dlp media grabber"]:::ui
Package map

Paths are inside app/src/main/java/com/petal/browser/ unless noted:

Area Package path Responsibility
UI components ui/ Shared Material 3 Expressive components, glass effects, theme and haptics.
Screens compose/ Home, tabs, settings, downloads, PDF and image viewers, extensions, AI.
Engine engine/ browser/ GeckoView runtime, PetalTabViewController, store bridge, cookie bridge.
Media media/ Player, picture-in-picture, playback service.
Downloads download/ Download state and UI on top of Mozilla's download service.
Privacy and vault privacy/ passwords/ security/ Blocking settings, biometric vault and app lock.
Account account/ Profile and sync through a folder you own.
Built-in add-ons app/src/main/assets/web_extensions/ Ten bundled WebExtensions, including petal_network_blocker.
Startup profile baselineprofile/ (repo root) Baseline Profile for faster cold starts.
Website site/ (repo root) Static project site, changelog and docs.

Building

You need JDK 17 or newer and the Android SDK.

git clone https://github.com/shreyagarwal72/petal.git
cd petal

./gradlew assembleDebug      # debug APK
./gradlew assembleRelease    # release APK

The release APK is written to app/build/outputs/apk/release/. Or open the folder in Android Studio and run the app configuration on a device.

Contributing

Bug reports, ideas and pull requests are welcome, especially for browsing reliability, interface polish, privacy and documentation. Read the code of conduct first, and open an issue before starting a large change. For the visual rules, start with design.md.

Credits

License

Petal is free software under the GNU General Public License v3.0.

Made by Vanshu Agarwal From India 🇮🇳

Explorer des projets similaires

Chargement…