Mintplex-Labs/anythingllm-extension
概要
AnythingLLM Docker 版および Desktop アプリ向けのブラウザー拡張機能
システム・インフラできること
- Chat with any page. The tab you're on is one click away as context.
- Bring in more tabs. Type @ to add other currently open tabs to the conversation.
- Right-click actions. Highlight text and choose Ask, Summarize, Explain, Rewrite, or Fix spelling and grammar. Right-click a page to chat with it, or an image to add it to the chat.
- Attachments and voice. Drag, drop, or paste files and images, or dictate with the microphone.
計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- +5
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
AnythingLLM Browser Companion
Chat with any page using AnythingLLM from your browser.
Chrome Web Store • Features • Getting started • Development • Contributing
[!NOTE] The companion needs a running AnythingLLM instance, version 1.20.0 or newer. Desktop, Docker, and Cloud instances all work.
Features
- Chat with any page. The tab you're on is one click away as context.
- Bring in more tabs. Type
@to add other currently open tabs to the conversation. - Right-click actions. Highlight text and choose Ask, Summarize, Explain, Rewrite, or Fix spelling and grammar. Right-click a page to chat with it, or an image to add it to the chat.
- Attachments and voice. Drag, drop, or paste files and images, or dictate with the microphone.
- Agents in the panel. Approve tool calls, answer clarifying questions, and see charts, files, and scheduled jobs.
- Synced threads. Every chat is saved as a thread in your workspace, so you can continue it in AnythingLLM.
- Save the web. Send a selection or a whole page to AnythingLLM, or embed it straight into a workspace.
- Your instance, your data. The chats, pages, and files you share go only to the AnythingLLM instance you connect.
Getting started
- Install from the Chrome Web Store, or build it yourself.
- Click the toolbar icon, or press
Alt+Shift+L, to open the side panel. - In AnythingLLM, go to Settings > Tools > Browser Extension and click Connect, then approve the request in the panel. You can also paste the connection string into the panel instead.
- Pick a workspace and start chatting.
Disconnecting, settings (language and light/dark/system theme), and the threads list are in the panel's header.
Development
You'll need Node.js 18+ and Yarn.
yarn install
yarn dev # rebuilds dist/ on every change
yarn build # one-off production build
yarn build:prod # build, then zip dist/ into release/ for the Chrome Web Store
Then load it into Chrome:
- Open
chrome://extensionsand turn on Developer mode. - Click Load unpacked and select the
distfolder. - After a rebuild, click the reload icon on the extension's card.
Project layout
| Path | What's in it |
|---|---|
public/manifest.json |
Extension manifest (name, version, permissions) |
public/background.js |
Service worker: context menus, connection handling, side panel |
public/contentScript.js |
Runs on pages to read content and relay connection requests |
src/components/SidePanel/ |
The side panel React app |
src/locales/ |
UI strings and translation scripts |
Translations
English strings live in src/locales/en/. Run yarn translations:verify after changing them. yarn translations:normalize, yarn translations:unused, and yarn translations:prune keep the files tidy.
Contributing
Contributions are welcome.
- Fork the repo and create a branch from
main. - Make your change, then run
yarn lintandyarn build. - Load the built extension and check your change against a real AnythingLLM instance.
- Open a pull request that describes what changed and includes screenshots for UI changes.
Found a bug or have an idea? Open an issue.
Related
- AnythingLLM: the all-in-one AI app this extension connects to
- AnythingLLM Desktop
- Documentation
License
関連プロジェクトを探す
読み込み中…