This browser extension utilizes AI technology to analyze web pages and extract important information.
There are two ways to summarize:
- Click the
Analyze
button, use the title and summary to summarize the page content. This is the default method. - click the
Zettelkasten
button, use the zettelkasten/卡片盒笔记 method to summarize the page content
- Clone the repository to your local machine or download the zip package in Releases.
- Open Chrome and navigate to
chrome://extensions
. - Enable Developer mode by toggling the switch in the top right corner.
- Click on "Load unpacked", select the
packages/chromium
folder if you are using clone or the unzip folder if you are using Release package.
There are two AI modes available for you to choose from:
-
Through the ChatGPT web app, which requires you to have successfully logged in to the ChatGPT web version to preserve the session.
-
Through OpenAI's API, which requires you to provide the corresponding API Key.
- The default host is https://api.openai.com, you can customize this value.
- API key is required, you can find it in OpenAI API Key
If you don't have access to OpenAI, you can purchase API Key at API2D. Update the host and API Key to use it.
- Pin the SummarAI button to the extension toolbar.
- Navigate to the web page you want to summarize and click on the SummerAI icon.
- The extension will analyze the content of the page and display a summary in the popup.
Safari plug-ins are typically used for macOS/iOS systems, you should compile SummarAI.xcodeproj with Xcode.
- Check the Allow unsigned extensions option in Safari's developer options.
- Change the developer certificate to yours.
If you want to change the code logic, you need to recompile the TypeScript file:
- install dependencies with
yarn install
- build source code with
yarn build
The development of the web side of safari extension is still carried out through typescript code, and the js code update will be completed in yarn build
. The native interface development should use Swift in the xcode project.
- For any issues or questions, please contact me.
-
ErrCode:
CLOUDFLARE
The openai server rejected the request, possible reasons:
- No permission to access the API
- The authentication credentials provided are invalid or incorrect
- Requests are too frequent, triggering traffic limiting
-
ErrCode:
UNAUTHORIZED
Failed to obtain
chat.openai.com
accesstoken, possible reasons:- Your login credentials have expired, so you'll need to log back into
chat.openai.com
and try again
- Your login credentials have expired, so you'll need to log back into