askrobots / dbbasic-browser
Public
A desktop browser with x402 built in: when a page asks for payment, it pays in stablecoins and shows the content.
danq9
site icons (favicons) in tabs, address bar suggestions and the bookmarks panel
7249579
15 hours, 42 minutes ago
History
package.json · 1.4 KB · 37 lines
| 1 | { |
| 2 | "name": "@dbbasic/browser", |
| 3 | "version": "0.1.0", |
| 4 | "type": "module", |
| 5 | "description": "The dbbasic-browser Electron shell — owns the network stack via protocol.handle to pay x402 challenges transparently.", |
| 6 | "license": "Apache-2.0", |
| 7 | "author": "AskRobots", |
| 8 | "repository": { |
| 9 | "type": "git", |
| 10 | "url": "git+https://github.com/askrobots/dbbasic-browser.git", |
| 11 | "directory": "apps/browser" |
| 12 | }, |
| 13 | "main": "src/main.ts", |
| 14 | "scripts": { |
| 15 | "build": "esbuild src/main.ts --bundle --platform=node --format=esm --external:electron --external:viem --external:@anthropic-ai/sdk --external:openai --outfile=dist/main.js && node scripts/build-chrome.mjs && node scripts/copy-reader-assets.mjs && cp src/help.html src/preload.cjs src/webview-preload.cjs assets/icon.png dist/", |
| 16 | "build:standalone": "npm run build && node scripts/build-standalone.mjs", |
| 17 | "start": "npm run build && node scripts/launch.mjs", |
| 18 | "test": "vitest run", |
| 19 | "e2e": "node scripts/e2e.mjs", |
| 20 | "typecheck": "tsc --noEmit" |
| 21 | }, |
| 22 | "dependencies": { |
| 23 | "@anthropic-ai/sdk": "^1.10.0", |
| 24 | "@dbbasic/vault": "*", |
| 25 | "@dbbasic/x402-engine": "*", |
| 26 | "@mozilla/readability": "^0.6.0", |
| 27 | "openai": "^7.60.0", |
| 28 | "viem": "^2.21.0" |
| 29 | }, |
| 30 | "devDependencies": { |
| 31 | "@types/node": "^26.1.1", |
| 32 | "electron": "^45.4.1", |
| 33 | "esbuild": "^0.28.2", |
| 34 | "typescript": "^5.6.0", |
| 35 | "vitest": "^5.1.1" |
| 36 | } |
| 37 | } |