{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "dom-actions-doma--customize-doma-from-source",
 "repo": "dom-actions/doma",
 "repo_url": "https://github.com/dom-actions/doma",
 "repo_slug": "dom-actions-doma",
 "title": "Build and modify DomA from its open-source source code",
 "page_title": "How to build and modify DomA from its open-source source code with Doma",
 "summary": "Clone the repo, build it, and run the dev mode to change how the browser agent behaves.",
 "who": "A developer who wants a custom browser automation agent based on the open-source DomA core for their own internal use.",
 "problem": "A prebuilt extension does not fit a specific workflow, and the developer needs to change the agent's code.",
 "outcome": "A locally built DomA extension that includes your changes, loaded into Chrome or Edge for testing.",
 "steps": [
  "Install Node.js 20 or later.",
  "Run `git clone https://github.com/dom-actions/doma` and then `cd doma && npm install`.",
  "Run `npm run build`, then load dist/desktop/open as an unpacked extension with Developer mode on.",
  "Run `npm run dev` to work on the code while developing, and read CONTRIBUTING.md before you send changes.",
  "Confirm your change works in the browser and review the PolyForm Shield License terms before distributing or offering a product."
 ],
 "agent_prompt": "Clone the dom-actions/doma repo, install dependencies, and run the build so that the output is in dist/desktop/open. Expected output: a built extension folder and a short note of the build result. Verify that dist/desktop/open exists and loads as an unpacked extension in Chrome or Edge.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The license forbids using this software or derivatives to provide a product or service that competes with DomA or its commercial edition, so a custom build must be used within those terms.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "typescript",
 "requirements": [
  "Chrome or Edge browser",
  "Your own LLM API key from an OpenAI-compatible provider",
  "Node.js 20+ only if you build from source"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "Running npm install pulls third-party packages, so review the dependency list before running the install in a sensitive environment."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/dom-actions-doma/customize-doma-from-source/",
 "md": "https://dedupedai.com/use-cases/dom-actions-doma/customize-doma-from-source/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/dom-actions-doma--customize-doma-from-source.json",
 "api_version": "v1"
}
