File size: 6,359 Bytes
fec98a5 96a8f56 bbb5922 fec98a5 96a8f56 bbb5922 96a8f56 92ac450 96a8f56 92ac450 96a8f56 92ac450 96a8f56 5823889 96a8f56 5823889 96a8f56 5823889 96a8f56 bbb5922 96a8f56 92ac450 96a8f56 bbb5922 96a8f56 5823889 6addbc9 bbb5922 7a5e986 bbb5922 96a8f56 bbb5922 96a8f56 bbb5922 96a8f56 6addbc9 bbb5922 96a8f56 bbb5922 96a8f56 04a8b70 bbb5922 96a8f56 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | ---
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. |