Offlin33er commited on
Commit
a8da28b
Β·
verified Β·
1 Parent(s): fec98a5

Cross-link Oxford Digital 6,000-row v4 Enterprise Security Suite

Browse files
Files changed (1) hide show
  1. README.md +131 -125
README.md CHANGED
@@ -1,126 +1,132 @@
1
- ---
2
- pretty_name: OFFDIGITZ (formerly Nova Browser)
3
- license: mpl-2.0
4
- tags:
5
- - android
6
- - geckoview
7
- - browser
8
- - kotlin
9
- - webextensions
10
- - ai
11
- ---
12
-
13
- # OFFDIGITZ 🦎⚑
14
-
15
- > **This project has been renamed OFFDIGITZ.** The active repo is
16
- > [Offlin33er/offdigitz-browser](https://huggingface.co/datasets/Offlin33er/offdigitz-browser)
17
- > (v1.0.0). This repo holds the v0.8.0 rename point and earlier history.
18
-
19
- **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**.
20
-
21
- ## What makes it different
22
-
23
- ### 1. Chrome-less by design
24
- 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:
25
-
26
- - Type anything β†’ **Go to …** / **πŸ” Search DuckDuckGo** / **πŸ€– Ask AI**
27
- - `New tab` Β· `Close current tab` Β· `Reload page` Β· `Open tab tray` Β· `Add-ons manager` Β· `Dev console` Β· `Clear console` Β· `Ask AI` Β· `AI settings`
28
- - A thin loading bar hugs the top edge β€” that's the only persistent indicator.
29
-
30
- ### 2. Unrestricted defaults (deliberately unlike mainstream browsers)
31
- | Restriction | Conventional browsers | OFFDIGITZ |
32
- |---|---|---|
33
- | Tracking protection / content blocking | ON by default | **OFF** β€” no ContentBlocking policy configured |
34
- | Extension permission prompts | Dialog per install | **Auto-granted** (`AUTO_GRANT_PERMISSIONS = true` in `BrowserActivity`; flip to `false` to restore prompts) |
35
- | `about:config` | Hidden/blocked | **Enabled** β€” full engine configuration surface |
36
- | Remote debugging | Off | **Always on** β€” desktop Firefox DevTools via `about:debugging` |
37
- | DevTools (Eruda) | None | **Injected into every page** |
38
-
39
- **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).
40
-
41
- ### 3. Real WebExtensions
42
- - Bundled `devconsole@offdigitz` (privileged, `ensureBuiltIn`) β€” Eruda in every page, console logs bridged to the native screen
43
- - AMO installs: `.xpi` URL or add-on page URL β†’ `WebExtensionController.install()` β†’ Gecko validates Mozilla signature β†’ permissions auto-granted in unrestricted mode
44
- - Add-ons manager: list, enable/disable, uninstall
45
-
46
- ### 4. Built-in AI (⌘ β†’ Ask AI)
47
- - Full chat screen; anything typed in the palette can be sent straight to the AI via the **πŸ€– Ask AI** row
48
- - **Two backends**, chosen in AI settings:
49
- - **Hugging Face** β€” models like Llama via `router.huggingface.co/v1` + your HF token
50
- - **Any OpenAI-compatible API** β€” OpenAI, Groq, or Ollama on your own PC (base URL + key)
51
- - Keys are stored **only on your device** (SharedPreferences) and sent only to the endpoint you choose
52
-
53
- ### 5. Developer console, three layers
54
- 1. **Eruda** in-page inspector (console / DOM / network)
55
- 2. **Native console screen** via native messaging (`⌘ β†’ Dev console`)
56
- 3. **Remote debugging**: desktop Firefox DevTools (`about:config` also enabled)
57
-
58
- ## Versions
59
-
60
- | Version | Milestone |
61
- |---|---|
62
- | 0.1.0 | GeckoView shell, tabs, bundled dev-console extension, remote debugging |
63
- | 0.2.0 | Tab tray, session restore, VIEW-intent handling |
64
- | 0.3.0 | Loading bar, live URL sync, back/fwd states, history autocomplete |
65
- | 0.4.0 | Add-ons manager + native console screen |
66
- | 0.5.0 | AMO installs + permission flow (superseded pre-release) |
67
- | 0.6.0 | **The pivot: chrome-less ⌘ palette + unrestricted defaults** |
68
- | 0.7.0 | Built-in AI (Ask AI chat, HF + OpenAI-compatible backends) |
69
- | **0.8.0** | **Renamed to OFFDIGITZ** (launcher label, palette/AI headers, extension id, applicationId `com.offdigitz.browser`) |
70
-
71
- ## Which APK to install
72
-
73
- In [`apk/`](apk/):
74
-
75
- | File | Use |
76
- |---|---|
77
- | `offdigitz-0.8.0-arm64-release.apk` | **Most modern phones** β€” small, optimized |
78
- | `offdigitz-0.8.0-universal-release.apk` | Any device |
79
- | `offdigitz-0.8.0-debug.apk` | Debug build with all ABIs |
80
-
81
- Release builds are debug-signed (installable for testing). The renamed app installs as a new app (`com.offdigitz.browser`) alongside any earlier Nova install.
82
-
83
- ## Build it
84
-
85
- 1. [Android Studio](https://developer.android.com/studio) (2024.2+) β†’ clone this repo β†’ sync.
86
- 2. `curl -L -o app/src/main/assets/devconsole/eruda.min.js https://cdn.jsdelivr.net/npm/eruda/eruda.min.js`
87
- 3. Run β–Ά (minSdk 26).
88
-
89
- ## Dependency pins (cloud-build verified)
90
-
91
- | Dependency | Version |
92
- |---|---|
93
- | `org.mozilla.geckoview:geckoview` | `147.0.20260212191108` |
94
- | AGP / Gradle | 8.9.1 / 8.11.1 |
95
- | Kotlin | 2.2.21 + built-in Compose compiler plugin |
96
- | Compose BOM | 2024.09.03 |
97
- | minSdk / compileSdk | 26 / 36 |
98
-
99
- ## Layout
100
-
101
- ```
102
- app/src/main/java/dev/nova/browser/ (internal package path; app identity is com.offdigitz.browser)
103
- BrowserActivity.kt β€” chrome-less shell, ⌘ FAB, unrestricted runtime config
104
- CommandPalette.kt β€” the primary UI: commands, navigate, search, Ask AI
105
- AiChat.kt β€” AI settings store, OpenAI-format client (HF router + compatible), chat + settings screens
106
- TabManager.kt β€” sessions, persistence/restore, history, extension registry
107
- TabTray.kt β€” tab management (via palette)
108
- ExtensionManagerScreen.kt β€” add-ons: list, toggle, uninstall, AMO install
109
- ConsoleScreen.kt β€” full dev console
110
- app/src/main/assets/devconsole/
111
- manifest.json β€” privileged built-in extension (devconsole@offdigitz)
112
- eruda-loader.js β€” Eruda injection + console bridge
113
- background.js β€” extension background script
114
- ```
115
-
116
- ## Honest notes
117
-
118
- - **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.
119
- - Session restore is URL-level (no scroll/state capture yet).
120
- - Release builds are debug-signed and not R8-minified.
121
- - Eruda exposes page internals β€” you chose unrestricted; mainstream browsers deliberately don't.
122
- - The internal Kotlin package path is still `dev.nova.browser` (invisible); a cosmetic package-directory rename is a future pass.
123
-
124
- ## License
125
-
 
 
 
 
 
 
126
  MPL-2.0.
 
1
+ ---
2
+ pretty_name: OFFDIGITZ (formerly Nova Browser)
3
+ license: mpl-2.0
4
+ tags:
5
+ - android
6
+ - geckoview
7
+ - browser
8
+ - kotlin
9
+ - webextensions
10
+ - ai
11
+ ---
12
+
13
+ # OFFDIGITZ 🦎⚑
14
+
15
+ <!-- OXFORD_DIGITAL_V4_BANNER_START -->
16
+ > **Commercial 6,000-Row Multi-Domain Security Suite v4 (Zero Overlap with v1–v3):** Need an unseen, contamination-free benchmark to evaluate or fine-tune beyond the public v1–v3 splits? Explore the **6,000-row Oxford Digital Enterprise Security Remediation Suite v4** (`1,200` Solidity EVM + `1,200` Rust/Solana Anchor + `1,200` Python/TS AI Agent & MCP + `1,200` Go/TS/Python Cloud APIs + `1,200` K8s/Terraform IaC in Parquet/CSV/JSONL):
17
+ > - **Interactive 100-Row Free Sample:** [`Offlin33er/solidity-exploit-reasoning-v4-sample`](https://huggingface.co/datasets/Offlin33er/solidity-exploit-reasoning-v4-sample)
18
+ > - **Instant Commercial License ($599 Self-Serve Pro / $1,499 Enterprise):** [Get Full 6,000-Row v4 Suite](https://buy.polar.sh/polar_cl_BRF5b1REPnB25KchbKx85ZckWVA5ITZf1nkVi3YVYn8) Β· Direct Enterprise / Instant USDC: `rayxxxnd@oxforddigitals.com`
19
+ <!-- OXFORD_DIGITAL_V4_BANNER_END -->
20
+
21
+ > **This project has been renamed OFFDIGITZ.** The active repo is
22
+ > [Offlin33er/offdigitz-browser](https://huggingface.co/datasets/Offlin33er/offdigitz-browser)
23
+ > (v1.0.0). This repo holds the v0.8.0 rename point and earlier history.
24
+
25
+ **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**.
26
+
27
+ ## What makes it different
28
+
29
+ ### 1. Chrome-less by design
30
+ 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:
31
+
32
+ - Type anything β†’ **Go to …** / **πŸ” Search DuckDuckGo** / **πŸ€– Ask AI**
33
+ - `New tab` Β· `Close current tab` Β· `Reload page` Β· `Open tab tray` Β· `Add-ons manager` Β· `Dev console` Β· `Clear console` Β· `Ask AI` Β· `AI settings`
34
+ - A thin loading bar hugs the top edge β€” that's the only persistent indicator.
35
+
36
+ ### 2. Unrestricted defaults (deliberately unlike mainstream browsers)
37
+ | Restriction | Conventional browsers | OFFDIGITZ |
38
+ |---|---|---|
39
+ | Tracking protection / content blocking | ON by default | **OFF** β€” no ContentBlocking policy configured |
40
+ | Extension permission prompts | Dialog per install | **Auto-granted** (`AUTO_GRANT_PERMISSIONS = true` in `BrowserActivity`; flip to `false` to restore prompts) |
41
+ | `about:config` | Hidden/blocked | **Enabled** β€” full engine configuration surface |
42
+ | Remote debugging | Off | **Always on** β€” desktop Firefox DevTools via `about:debugging` |
43
+ | DevTools (Eruda) | None | **Injected into every page** |
44
+
45
+ **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).
46
+
47
+ ### 3. Real WebExtensions
48
+ - Bundled `devconsole@offdigitz` (privileged, `ensureBuiltIn`) β€” Eruda in every page, console logs bridged to the native screen
49
+ - AMO installs: `.xpi` URL or add-on page URL β†’ `WebExtensionController.install()` β†’ Gecko validates Mozilla signature β†’ permissions auto-granted in unrestricted mode
50
+ - Add-ons manager: list, enable/disable, uninstall
51
+
52
+ ### 4. Built-in AI (⌘ β†’ Ask AI)
53
+ - Full chat screen; anything typed in the palette can be sent straight to the AI via the **πŸ€– Ask AI** row
54
+ - **Two backends**, chosen in AI settings:
55
+ - **Hugging Face** β€” models like Llama via `router.huggingface.co/v1` + your HF token
56
+ - **Any OpenAI-compatible API** β€” OpenAI, Groq, or Ollama on your own PC (base URL + key)
57
+ - Keys are stored **only on your device** (SharedPreferences) and sent only to the endpoint you choose
58
+
59
+ ### 5. Developer console, three layers
60
+ 1. **Eruda** in-page inspector (console / DOM / network)
61
+ 2. **Native console screen** via native messaging (`⌘ β†’ Dev console`)
62
+ 3. **Remote debugging**: desktop Firefox DevTools (`about:config` also enabled)
63
+
64
+ ## Versions
65
+
66
+ | Version | Milestone |
67
+ |---|---|
68
+ | 0.1.0 | GeckoView shell, tabs, bundled dev-console extension, remote debugging |
69
+ | 0.2.0 | Tab tray, session restore, VIEW-intent handling |
70
+ | 0.3.0 | Loading bar, live URL sync, back/fwd states, history autocomplete |
71
+ | 0.4.0 | Add-ons manager + native console screen |
72
+ | 0.5.0 | AMO installs + permission flow (superseded pre-release) |
73
+ | 0.6.0 | **The pivot: chrome-less ⌘ palette + unrestricted defaults** |
74
+ | 0.7.0 | Built-in AI (Ask AI chat, HF + OpenAI-compatible backends) |
75
+ | **0.8.0** | **Renamed to OFFDIGITZ** (launcher label, palette/AI headers, extension id, applicationId `com.offdigitz.browser`) |
76
+
77
+ ## Which APK to install
78
+
79
+ In [`apk/`](apk/):
80
+
81
+ | File | Use |
82
+ |---|---|
83
+ | `offdigitz-0.8.0-arm64-release.apk` | **Most modern phones** β€” small, optimized |
84
+ | `offdigitz-0.8.0-universal-release.apk` | Any device |
85
+ | `offdigitz-0.8.0-debug.apk` | Debug build with all ABIs |
86
+
87
+ Release builds are debug-signed (installable for testing). The renamed app installs as a new app (`com.offdigitz.browser`) alongside any earlier Nova install.
88
+
89
+ ## Build it
90
+
91
+ 1. [Android Studio](https://developer.android.com/studio) (2024.2+) β†’ clone this repo β†’ sync.
92
+ 2. `curl -L -o app/src/main/assets/devconsole/eruda.min.js https://cdn.jsdelivr.net/npm/eruda/eruda.min.js`
93
+ 3. Run β–Ά (minSdk 26).
94
+
95
+ ## Dependency pins (cloud-build verified)
96
+
97
+ | Dependency | Version |
98
+ |---|---|
99
+ | `org.mozilla.geckoview:geckoview` | `147.0.20260212191108` |
100
+ | AGP / Gradle | 8.9.1 / 8.11.1 |
101
+ | Kotlin | 2.2.21 + built-in Compose compiler plugin |
102
+ | Compose BOM | 2024.09.03 |
103
+ | minSdk / compileSdk | 26 / 36 |
104
+
105
+ ## Layout
106
+
107
+ ```
108
+ app/src/main/java/dev/nova/browser/ (internal package path; app identity is com.offdigitz.browser)
109
+ BrowserActivity.kt β€” chrome-less shell, ⌘ FAB, unrestricted runtime config
110
+ CommandPalette.kt β€” the primary UI: commands, navigate, search, Ask AI
111
+ AiChat.kt β€” AI settings store, OpenAI-format client (HF router + compatible), chat + settings screens
112
+ TabManager.kt β€” sessions, persistence/restore, history, extension registry
113
+ TabTray.kt β€” tab management (via palette)
114
+ ExtensionManagerScreen.kt β€” add-ons: list, toggle, uninstall, AMO install
115
+ ConsoleScreen.kt β€” full dev console
116
+ app/src/main/assets/devconsole/
117
+ manifest.json β€” privileged built-in extension (devconsole@offdigitz)
118
+ eruda-loader.js β€” Eruda injection + console bridge
119
+ background.js β€” extension background script
120
+ ```
121
+
122
+ ## Honest notes
123
+
124
+ - **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.
125
+ - Session restore is URL-level (no scroll/state capture yet).
126
+ - Release builds are debug-signed and not R8-minified.
127
+ - Eruda exposes page internals β€” you chose unrestricted; mainstream browsers deliberately don't.
128
+ - The internal Kotlin package path is still `dev.nova.browser` (invisible); a cosmetic package-directory rename is a future pass.
129
+
130
+ ## License
131
+
132
  MPL-2.0.