nova-browser / README.md
Offlin33er's picture
Add YAML metadata (license MPL-2.0, tags) and pointer to renamed offdigitz-browser repo
fec98a5 verified
|
Raw History Blame Contribute Delete
6.36 kB
metadata
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 (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/:

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 (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.