An Android app that wraps Gemini in a WebView, with extras:
- Adaptive icon — the Gemini zodiac symbol filled with a yellow→red→blue→green gradient, on a white background. A trademark-safe knockoff: the glyph is a public-domain astrology symbol, not the proprietary Gemini sparkle.
- Material 3 theme with light/dark mode support
- Navbar color adapts to device type + orientation + theme:
- Dark mode:
#0F0F0Fon tablet landscape (desktop-style layout), OLED black#000000elsewhere - Light mode:
#FDFCFCeverywhere (matches the web light surface)
- Dark mode:
- Loading screen with the Webmini logo that fades out smoothly after first page load
- Blob: URL download support — downloads code files, images, and other attachments that use
blob:URLs (includingblob:null/...from sandboxed iframes) viaWebViewCompat.addDocumentStartJavaScript - Long-press image menu with Share / Download options (downloads the preview image — see warning in the dialog)
- Share-to-Webmini — share text or files from other apps directly into the wrapped site
- Hidden Settings menu with:
- WebView switcher (pick which WebView implementation to use — Thorium recommended)
- Desktop mode toggle
- Performance optimizations (GPU blocklist bypass, surface control)
- Update checker
Webmini is an independent, unofficial client. It is not affiliated with, endorsed by, or sponsored by Google. The Webmini name, icon (the Gemini zodiac glyph with a gradient fill), and source code are this project's own — they do not use the Gemini trademark or the proprietary Gemini sparkle logo. Webmini simply loads the public
gemini.google.comwebsite inside an Android WebView, the same way any general-purpose browser would.
- JDK 17+ (JDK 21 tested)
- Android SDK with
platforms;android-34andbuild-tools;34.0.0 - AndroidX WebView 1.12+ (for
addDocumentStartJavaScriptblob capture support)
# Set SDK location
echo "sdk.dir=$HOME/Android/Sdk" > local.properties
# Build release APK (signed with bundled test.keystore)
./gradlew assembleRelease
# APK lands in app/build/outputs/apk/release/app-release.apk./gradlew assembleDebug
# APK lands in app/build/outputs/apk/debug/app-debug.apkAndroid WebView's DownloadListener only gives Java a URL string. For blob: URLs (especially blob:null/... created in sandboxed iframes), Java can't fetch the blob directly. This app uses WebViewCompat.addDocumentStartJavaScript (androidx.webkit 1.12+) to inject a blob-capture script into every frame at document creation time. The script:
- Overrides
URL.createObjectURLin every frame (main + all iframes, including sandboxed null-origin ones) - Eagerly reads each blob via
FileReader.readAsDataURLat creation time (before the page can revoke the URL) - Main frame stores blob data in
window.__blobRefs - Iframes send blob data to parent via
postMessage(works cross-origin) - When the
DownloadListenerfires, the download interceptor checks__blobRefsfirst, then falls back tofetch()
See app/src/main/assets/blob_capture.js and app/src/main/assets/download_interceptor.js for the implementation.
The in-app Check for updates button queries the GitHub releases API for this repository:
https://api.github.com/repos/MrHuaweiFan/Webmini/releases
When a newer release is found, the app opens the release's download page in the user's default browser. If you fork this repo, update REPO_API and USER_AGENT in app/src/main/java/com/webmini/app/webview/UpdateChecker.java to point at your own releases.
- Web URL: edit
URLinapp/src/main/java/com/webmini/app/MainActivity.java - App name: edit
app_nameinapp/src/main/res/values/strings.xml - App icon: edit
app/src/main/res/drawable/ic_launcher_foreground.xml(vector drawable with gradient) and regenerate the PNG fallbacks, or just replace theic_launcher.pngfiles underapp/src/main/res/mipmap-*/ - Version: edit
versionCode/versionNameinapp/build.gradle
Based on WebGPT.
Webmini is free software released under the MIT License — see LICENSE for the full text. The Webmini name and icon are this project's own and do not infringe any third-party trademark. "Gemini" is a trademark of Google LLC; this project is not affiliated with Google and merely loads the public gemini.google.com website inside an Android WebView.
The repository ships F-Droid / Fastlane upstream metadata so the app's listing (description, icon, screenshots, changelog) is under direct control of the developer:
fastlane/metadata/android/en-US/
├── short_description.txt (≤ 80 chars, no trailing dot)
├── full_description.txt
├── changelogs/
│ └── 22.txt (max 500 chars; 22 = versionCode)
└── images/
├── icon.png (512×512 PNG)
├── phoneScreenshots/ (1.png … 5.png)
└── sevenInchScreenshots/ (1.png)
See Submitting to F-Droid — Quick Start Guide for the official spec.
Gemini WebApp for Android repo is now private to avoid any brand infringement.