Newton is a Chrome Extension that allows users to discreetly run Claude Opus from Anthropic using their own API key. This extension is designed to provide quick and accurate answers to questions selected by the user directly from their browser.
- API Key Connection: Securely connect your Anthropic API key through the extension's popup interface.
- Discreet Usage: Use Claude Opus to generate answers without leaving your browser.
- Clipboard Integration: Automatically copies generated answers to your clipboard for easy use.
- Clone this repository to your local machine.
- Open Google Chrome and navigate to
chrome://extensions/
. - Enable Developer Mode by toggling the switch in the top right corner.
- Click on "Load unpacked" and select the directory where you cloned this repository.
- Click on the Newton icon in your Chrome toolbar to open the popup.
- If you haven't already, enter your Anthropic API key and click "Connect".
- Highlight text on any webpage, right-click, and select "Ask Newton" from the context menu.
- The answer will be generated and copied to your clipboard, indicated by a notification.
- API Key Management: Manage your API key through the popup interface. You can connect a new key or disconnect an existing key at any time.
@anthropic-ai/sdk
: SDK for interacting with Anthropic's Claude Opus.@plasmohq/storage
: Used for securely storing and retrieving the API key.
Contributions are welcome! Please fork the repository and submit a pull request with your proposed changes.
This project is licensed under the MIT License - see the LICENSE file for details.