DominaresTools

Let an AI edit a live web page through small, checkable edits instead of rewriting the file.

pagepatch sits between a model's reply and your saved page. The model writes small edits, pagepatch applies each on its own, refuses the unsafe ones, checks the rest landed and tells the model exactly what to fix.

Buy pagepatch for $99

One payment of $99, plus sales tax where it applies, and every future update. Delivered as a private GitHub repository you're invited to.

What it does

A small edit language
Nine directives a model can follow, with a parser that survives code fences, missing closers and awkward selectors.
Each edit stands on its own
Good edits are kept when others fail. A selector that matches nothing comes back with the closest real selectors, so the model corrects itself in one round.
The wrong element is never edited
When a selector matches several elements, nothing changes, and you get one selector per match.
Unsafe markup refused
Scripts, event handlers, javascript: URLs, frames and CSS that would freeze or blank the page are stripped or refused.
Checks that the change landed
Checks built from each edit run without a browser, or in one with the included verifier.
Works with any model
propose(llm, html, instruction) runs the loop. llm is any function from prompt to reply; there is no vendor SDK.

Try it

pip install ./pagepatch
pagepatch map page.html
pagepatch apply page.html edits.txt -o new.html

What you get

pagepatch 1.0.0: the Python engine, the pagepatch command and a browser verifier, with 517 automated tests. Python 3.10 or newer.

A commercial license. Use it and change it in your own projects and your clients' projects. Don't share or resell the source. Read the license.

Every update. New versions land in the same repository; git pull to get them.

How buying works

  1. Enter your GitHub username. You'll see the account before you pay, so you can check it's yours.
  2. Pay $99, plus any sales tax shown at checkout, on Stripe's checkout page.
  3. Accept the invitation GitHub emails you. Signed in as that account, you'll also find it at github.com/dominares-tools/pagepatch/invitations. Invitations expire after 7 days; you can get a new one any time.
  4. Clone and install:
    git clone https://github.com/dominares-tools/pagepatch.git
    pip install ./pagepatch

Questions

Do I need GitHub?
Yes. Access is a read-only invitation to a private repository, sent to the GitHub account you choose.
Can I get a refund?
Yes, within 14 days, no questions asked. Access ends when the refund goes through. Refund policy.
Who takes the payment?
Stripe. Your purchase is sold through Link, Stripe's checkout service, which also works out sales tax and sends your receipt.
Something wrong?
Email josephlinares02@gmail.com. Every buyer of a tool shares its repository, so support happens by email rather than in GitHub issues.