Interact with Anthropic's Claude in Vue with This Browser Extension

Chatbot Browser Link

A browser extension that lets Anthropic's Claude see and (and eventually) interact and edit web pages and the browser itself. It uses Claude.ai's text field directly in a background tab, so no API key is required. Works with free accounts!

ezgif-3-8067e3fc01

How it works

After installing (see manual installing)

  1. Visit any page and click the browser button
  2. This will automatically open a new tab for claude.ai/chat if one isn't already open (make sure you're logged in)
  3. Start prompting with Claude
  4. For now, press Scan to get Claude to "See" the page content. This will be automatic

image

Claude.ai/chat will open up and the icon will turn green

DisconnectedConnectedInputs not found *
icon-officon-green-128chatbot-browser-link-disconnected

* Troubleshooting "Inputs not found"

  • Make sure you have a browser tab open to: Claude.ai/chat
  • Click the browser tab containing Claude.ai/chat to "wake" the tab up (sometimes browsers put unused tabs to sleep to save resources)
  • If that doesn't work it could be due to a change on Claude, give me a few hours (I use it myself almost everyday 🙌)

Features coming soon

  • Automatically scan HTML/Content based on query (right now you gotta do it manually)
  • Click on links and navigate pages on its own
  • Fill form fields and interact with page (ex: like and retweet on Twitter)
  • Know how to Google search on its own
  • See About this project below for more or follow the project in my technical diary: https://zactolle.super.site/projects/chatbot-browser-link

Coming soon! It's now working but just needs some more documentation
 

Manual installing

This project will soon be available on the Play Store after some testing, but you can try it by installing this repository manually

  1. Download this project
  2. Sideload the extension to Edge, Chrome, Brave, or other Chromium browsers

1. First get the files

Method A: Download as .zip

(coming soon)

Method B: Download as git

Run the following from your terminal:

# Download
git clone https://github.com/zactolle/chatbot-browser-link

# (Optional) Only if you want to develop the extension,
# it's already built so you can skip this
cd clause-browser-link
npm install
npm start
npm run build

2. Sideload the extension

Once you have the files, add the /dist folder to your browser. The instructions are similar for chromium browsers like Microsoft Edge and Google Chrome

image

  1. Enable Developer mode
  2. Load the /dist folder as an "Unpacked extension"
  3. (Optional) Make sure it is enabled
  4. (Optional) Click reload if you get errors
     

Developing

  1. Requirements
    1. Node.js is required for starting the local development server with npm start
    2. git is optional and needed to pull the latest version with git pull
  2. Debugging
    1. This is all still experimental and it crashes in weird ways sometimes. To "clear the cache bugs" reload the extension in chrome://extensions
       




 

About this project

The Problem

  • Claude is a foundational Large Language Model with a 100K context window, but no API
    • 100k is roughly the average length of 1 novel, 5 short stories, or several npm packages and codebases
  • If given access, Claude could read entire pages and edit the code directly using prompts/words
  • Since there’s no API, the current process is painful:
graph TD
save["Right click save"]-->flatten["Flatten to one file"]-->upload["Upload to Claude"]-->process["Process"]-->saveToFile["Save response as an .html file"]-->test["Test in browser"]
  • Even with API doing anything useful would involve knowing how to code

The Solution

  • Browser extension that syncs Claude.ai’s input field in one tab with the HTML of a separate tab so that you can ask Claude questions and have it directly affect the page
  • The Browser extension updates the input field on Claude.ai directly so no need to use API and can be used with a free account
  • Claude can affect the page directly, enabling automation and “breakout” use cases that use native browser APIs

Use Cases

  • Automate any browser task by just describing it with words, no coding required
    • Fill and submit form fields
    • Answer captchas
    • Automate any real world task that can be done by you with just a browser using just words
    • Build “worker bots” that can automate paid tasks on Fiverr
    • Analyze and ask questions about users, lists of users, hashtags, trending topics, and more just by visiting the pages
    • Permanently update a websites design or functionality by describing it with words

 

Vision

  • Browser Copilot
  • Browser AutoGPT
  • AGI browser extension
     

Contributing

This project is still mostly in the research and pre-validation phase, but feel free to create a Pull Request or ask for a feature or anything else. I'll share links to a Discord soon!


Download details:

Author: ZacTolle
Source: https://github.com/ZacTolle/chatbot-browser-link

#vue #vuejs 

Interact with Anthropic's Claude in Vue with This Browser Extension
1.30 GEEK