À propos
Material 3 Expressive Browser For Android
Sécurité et confidentialité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
An open-source Android browser on Firefox's GeckoView engine, with a Material 3 Expressive interface.
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
| Attribute | Details |
|---|---|
| App | Petal Browser (com.petal.browser), latest release v4.8.0 |
| Platform | Android 8.0 and above (API 26+), compile and target SDK 36 |
| Engine | Mozilla GeckoView 159.0 with Mozilla Android Components 159.0.1 |
| Language | 100% Kotlin 2.4 (about 660 source files, no Java), JVM 17 target |
| UI | Jetpack Compose (BOM 2026.09) and Material 3 Expressive (material3 1.5.0-alpha22) |
| Ad & tracker blocking | Built-in petal_network_blocker WebExtension with EasyList, uBlock uAssets and Hagezi lists, plus Gecko Enhanced Tracking Protection (Strict by default) |
| Extensions | Firefox WebExtensions: add-on manager, AMO, .xpi import, 10 built-in add-ons |
| Sync | Optional encrypted sync through a folder you own (bookmarks, history, passwords, tabs, Send to device) |
| Builds | GitHub (in-app updater), Google Play, F-Droid (no ads, no Google code) |
| Languages | 28 translations |
| License | GNU GPL v3.0 |
Screenshots
Features
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 |
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.
|
35 expressive shapes, spring motion, predictive back, dynamic colour from your wallpaper, a true-black AMOLED theme and an optional Liquid Glass look.
|
Workspaces, collapsible tab folders, pinned tabs and a Glance peek sheet, with a Chrome-style tab grid transition.
|
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 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
| Layer | Library / Tool | Role |
|---|---|---|
| Language | Kotlin 2.4 (Compose compiler 2.4.21) | All app code. KSP 2.3.13 for annotation processing. |
| Build | Android Gradle Plugin 9.4.0 · Gradle wrapper | Flavors for GitHub, Play and F-Droid, with ABI splits for arm64-v8a, armeabi-v7a, x86 and x86_64. |
| UI | Jetpack Compose BOM 2026.09 · Material 3 1.5.0-alpha22 | Expressive components, springs and shape morphing (graphics-shapes), Liquid Glass via backdrop. |
| Engine | GeckoView 159.0.20261102144711 | Rendering and the WebExtension runtime. |
| Browser components | Mozilla Android Components 159.0.1 | Engine bridge, BrowserStore, downloads, prompts, site permissions, local bookmark, history and password storage. |
| DI & navigation | Hilt 2.60.1 · Navigation Compose 2.10 | Dependency injection and screen routing. |
| Media | Media3 1.11 (ExoPlayer, HLS, session) · yt-dlp library | Playback, background audio and the media grabber. |
| Storage | SQLite (SQLiteOpenHelper) · Android Keystore · Biometrics | History, bookmarks and the local password vault. |
| Optional tools | Shizuku API 13 · ML Kit · CameraX + ZXing | Privileged installs, on-device recognition and the QR scanner. |
| Platform | Min SDK 26 · Target SDK 36 | Android 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
- Mozilla GeckoView and Mozilla Android Components for the engine and browser components.
- Hagezi and uBlock Origin uAssets for the filter lists. Their licences are in
site/assets/licenses/. - Shizuku by RikkaApps for the optional privileged API.
- Material 3 Expressive for the design language.
License
Petal is free software under the GNU General Public License v3.0.
Made by Vanshu Agarwal From India 🇮🇳
Explorer des projets similaires
Chargement…