Skip to content
프로젝트

Mintplex-Labs/anythingllm-extension

GitHub에서 보기

소개

AnythingLLM Docker 및 Desktop 애플리케이션용 브라우저 확장 프로그램

시스템 및 인프라

이 수치를 측정하는 방법

What you can do

  • 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.

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+5
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

AnythingLLM

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

  1. Install from the Chrome Web Store, or build it yourself.
  2. Click the toolbar icon, or press Alt+Shift+L, to open the side panel.
  3. 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.
  4. 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:

  1. Open chrome://extensions and turn on Developer mode.
  2. Click Load unpacked and select the dist folder.
  3. 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.

  1. Fork the repo and create a branch from main.
  2. Make your change, then run yarn lint and yarn build.
  3. Load the built extension and check your change against a real AnythingLLM instance.
  4. 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

License

MIT © Mintplex Labs

관련 프로젝트 살펴보기

불러오는 중…