--- pretty_name: OFFDIGITZ (formerly Nova Browser) license: mpl-2.0 tags: - android - geckoview - browser - kotlin - webextensions - ai --- # OFFDIGITZ ๐ŸฆŽโšก > **This project has been renamed OFFDIGITZ.** The active repo is > [Offlin33er/offdigitz-browser](https://huggingface.co/datasets/Offlin33er/offdigitz-browser) > (v1.0.0). This repo holds the v0.8.0 rename point and earlier history. **Not a conventional browser.** OFFDIGITZ is a chrome-less, unrestricted GeckoView browser whose entire interface is a **command palette** โ€” with a built-in **AI assistant**. ## What makes it different ### 1. Chrome-less by design No URL bar. No toolbar row. No tab strip. Content is edge-to-edge, full screen. One floating **โŒ˜** button summons the command palette โ€” everything routes through it: - Type anything โ†’ **Go to โ€ฆ** / **๐Ÿ” Search DuckDuckGo** / **๐Ÿค– Ask AI** - `New tab` ยท `Close current tab` ยท `Reload page` ยท `Open tab tray` ยท `Add-ons manager` ยท `Dev console` ยท `Clear console` ยท `Ask AI` ยท `AI settings` - A thin loading bar hugs the top edge โ€” that's the only persistent indicator. ### 2. Unrestricted defaults (deliberately unlike mainstream browsers) | Restriction | Conventional browsers | OFFDIGITZ | |---|---|---| | Tracking protection / content blocking | ON by default | **OFF** โ€” no ContentBlocking policy configured | | Extension permission prompts | Dialog per install | **Auto-granted** (`AUTO_GRANT_PERMISSIONS = true` in `BrowserActivity`; flip to `false` to restore prompts) | | `about:config` | Hidden/blocked | **Enabled** โ€” full engine configuration surface | | Remote debugging | Off | **Always on** โ€” desktop Firefox DevTools via `about:debugging` | | DevTools (Eruda) | None | **Injected into every page** | **Engine-level limit (not embedder-fixable):** Gecko validates add-on signatures at install time โ€” unsigned `.xpi` installs are refused by the engine regardless of app settings. Privileged extensions ship inside the APK (OFFDIGITZ's dev console does exactly that). ### 3. Real WebExtensions - Bundled `devconsole@offdigitz` (privileged, `ensureBuiltIn`) โ€” Eruda in every page, console logs bridged to the native screen - AMO installs: `.xpi` URL or add-on page URL โ†’ `WebExtensionController.install()` โ†’ Gecko validates Mozilla signature โ†’ permissions auto-granted in unrestricted mode - Add-ons manager: list, enable/disable, uninstall ### 4. Built-in AI (โŒ˜ โ†’ Ask AI) - Full chat screen; anything typed in the palette can be sent straight to the AI via the **๐Ÿค– Ask AI** row - **Two backends**, chosen in AI settings: - **Hugging Face** โ€” models like Llama via `router.huggingface.co/v1` + your HF token - **Any OpenAI-compatible API** โ€” OpenAI, Groq, or Ollama on your own PC (base URL + key) - Keys are stored **only on your device** (SharedPreferences) and sent only to the endpoint you choose ### 5. Developer console, three layers 1. **Eruda** in-page inspector (console / DOM / network) 2. **Native console screen** via native messaging (`โŒ˜ โ†’ Dev console`) 3. **Remote debugging**: desktop Firefox DevTools (`about:config` also enabled) ## Versions | Version | Milestone | |---|---| | 0.1.0 | GeckoView shell, tabs, bundled dev-console extension, remote debugging | | 0.2.0 | Tab tray, session restore, VIEW-intent handling | | 0.3.0 | Loading bar, live URL sync, back/fwd states, history autocomplete | | 0.4.0 | Add-ons manager + native console screen | | 0.5.0 | AMO installs + permission flow (superseded pre-release) | | 0.6.0 | **The pivot: chrome-less โŒ˜ palette + unrestricted defaults** | | 0.7.0 | Built-in AI (Ask AI chat, HF + OpenAI-compatible backends) | | **0.8.0** | **Renamed to OFFDIGITZ** (launcher label, palette/AI headers, extension id, applicationId `com.offdigitz.browser`) | ## Which APK to install In [`apk/`](apk/): | File | Use | |---|---| | `offdigitz-0.8.0-arm64-release.apk` | **Most modern phones** โ€” small, optimized | | `offdigitz-0.8.0-universal-release.apk` | Any device | | `offdigitz-0.8.0-debug.apk` | Debug build with all ABIs | Release builds are debug-signed (installable for testing). The renamed app installs as a new app (`com.offdigitz.browser`) alongside any earlier Nova install. ## Build it 1. [Android Studio](https://developer.android.com/studio) (2024.2+) โ†’ clone this repo โ†’ sync. 2. `curl -L -o app/src/main/assets/devconsole/eruda.min.js https://cdn.jsdelivr.net/npm/eruda/eruda.min.js` 3. Run โ–ถ (minSdk 26). ## Dependency pins (cloud-build verified) | Dependency | Version | |---|---| | `org.mozilla.geckoview:geckoview` | `147.0.20260212191108` | | AGP / Gradle | 8.9.1 / 8.11.1 | | Kotlin | 2.2.21 + built-in Compose compiler plugin | | Compose BOM | 2024.09.03 | | minSdk / compileSdk | 26 / 36 | ## Layout ``` app/src/main/java/dev/nova/browser/ (internal package path; app identity is com.offdigitz.browser) BrowserActivity.kt โ€” chrome-less shell, โŒ˜ FAB, unrestricted runtime config CommandPalette.kt โ€” the primary UI: commands, navigate, search, Ask AI AiChat.kt โ€” AI settings store, OpenAI-format client (HF router + compatible), chat + settings screens TabManager.kt โ€” sessions, persistence/restore, history, extension registry TabTray.kt โ€” tab management (via palette) ExtensionManagerScreen.kt โ€” add-ons: list, toggle, uninstall, AMO install ConsoleScreen.kt โ€” full dev console app/src/main/assets/devconsole/ manifest.json โ€” privileged built-in extension (devconsole@offdigitz) eruda-loader.js โ€” Eruda injection + console bridge background.js โ€” extension background script ``` ## Honest notes - **Auto-granted permissions are a real security trade-off** โ€” that's the point of the product, but it means installed add-ons get what they ask for without a gate. One constant (`AUTO_GRANT_PERMISSIONS`) flips prompts back on. - Session restore is URL-level (no scroll/state capture yet). - Release builds are debug-signed and not R8-minified. - Eruda exposes page internals โ€” you chose unrestricted; mainstream browsers deliberately don't. - The internal Kotlin package path is still `dev.nova.browser` (invisible); a cosmetic package-directory rename is a future pass. ## License MPL-2.0.