https://github.com/all-in-aigc/explain
a chrome extension to explain what you selected in a web page.
https://github.com/all-in-aigc/explain
Last synced: 6 days ago
JSON representation
a chrome extension to explain what you selected in a web page.
- Host: GitHub
- URL: https://github.com/all-in-aigc/explain
- Owner: all-in-aigc
- Created: 2023-09-01T09:15:07.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2023-09-01T09:16:15.000Z (over 1 year ago)
- Last Synced: 2025-04-05T19:51:13.766Z (30 days ago)
- Language: TypeScript
- Size: 142 KB
- Stars: 9
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What's this
Explain is a Chrome extension used to explain anything you selected in a web page.
## How to use
- install from source code
```shell
cd path-to-sourcepnpm install
pnpm dev
```- import local extension
open `chrome://extensions/`
import unzip dir `path-to-source/build/chrome-mv3-dev`
- custom env variables
open or new a file named `path-to-source/.env`
change to your custom variables
```
PLASMO_PUBLIC_OPENAI_API_KEY=YOUR-OPENAI-API-KEY
```- use Explain in web page
refresh a web page
select something, right click your mouse
you will see a menu named 'Explain it', click it to Explain what you selected.
## Reference
[plasmo](https://docs.plasmo.com/framework)