Skip to content

Website Code Extraction #287

@git-union

Description

@git-union

Website Code Extraction

As a user, I want a Chrome extension that allows me to extract the code from the current website I'm visiting, suggest edits via GPT, and generate a pull request to submit to the website owner for changes I believe should be made.

Acceptance Criteria

  • The extension can identify and extract HTML/CSS/JS code from the current page.
  • Users can highlight or specify sections of code they want to change.
  • The extension integrates with GPT to process user suggestions and generates revised code snippets.
  • Users can review and confirm the changes before submission.
  • The extension formats the changes into a pull request or patch format.
  • Users can submit the suggested changes to the website owner directly from the extension.
  • The extension provides feedback to the user on the status of their submitted changes.
  • The extension maintains a history log of all changes suggested by the user.
sequenceDiagram
  participant User
  participant Extension
  participant GPT API
  participant Website Repo
  User->>Extension: Trigger code extraction
  Extension->>User: Display extracted code
  User->>Extension: Specify code changes
  Extension->>GPT API: Send code and suggestions
  GPT API-->>Extension: Return suggested code edits
  Extension->>User: Show suggested edits
  User->>Extension: Confirm edits
  Extension->>Website Repo: Create pull request/patch
  Website Repo-->>User: Acknowledge submission
Loading

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions