Commit fc8d66a5 authored by Domi's avatar Domi

update: README.md

parent 307cb86f
GA_MEASUREMENT_ID=G-NZW1X7RXTD
GA_API_SECRET=cw05MUKjSWWlZ_NMf8n0Fw
_AUTOCOMPLETE_API=https://anything-copilot.alib.workers.dev/v1/tab/completion
AUTOCOMPLETE_API=http://localhost:8000/v1/tab/completion
...@@ -16,9 +16,6 @@ coverage ...@@ -16,9 +16,6 @@ coverage
public/js public/js
package package
/cypress/videos/
/cypress/screenshots/
# Editor directories and files # Editor directories and files
.vscode/* .vscode/*
!.vscode/extensions.json !.vscode/extensions.json
...@@ -28,3 +25,12 @@ package ...@@ -28,3 +25,12 @@ package
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
# Playwright
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
/cypress/videos/
/cypress/screenshots/
<div align="center"> <div align="center">
<img width="200" src="public/logo.svg" alt="Logo"> <img width="120" src="public/logo.svg" alt="Anything Copilot Logo">
<h1>Anything Copilot - Any web page as copilot</h1> <h1>Anything Copilot: Powerfull Multi-tab Sidebar,Split-Screen</h1>
<p>Use the official ChatGPT website or any other webpage for free as your AI copilot, including GPTs, GPT-4, or any new features. </p> <p>Bringing AI closer. Use any of your favorite AI tools for free in the sidebar or a Mini Window. </p>
</div>
<div align="center">
<a href="https://chromewebstore.google.com/u/1/detail/anything-copilot-any-web/lilckelmopbcffmglfmfhelaajhjpcff" target="_blank">
<img height="48" src="docs/assets/available_in_the_chrome_web_store.png" >
</a>
<a href="https://microsoftedge.microsoft.com/addons/detail/anything-copilot/lbeehbkcmjaopnlccpjcdgamcabhnanl" target="_blank">
<img height="48" src="docs/assets/edge_get_the_add_on.svg" >
</a>
</div> </div>
## Install/Download - Edge Add-ons & Chrome web store ## Get the Extension
Works with Chrome, Edge, Opera, Vivaldi, and more.
- [Edge Add-ons - Anything Copilot](https://microsoftedge.microsoft.com/addons/detail/anything-copilot/lbeehbkcmjaopnlccpjcdgamcabhnanl)
- [Chrome web store - Anything Copilot](https://chromewebstore.google.com/u/1/detail/anything-copilot-any-web/lilckelmopbcffmglfmfhelaajhjpcff) - [Chrome web store - Anything Copilot](https://chromewebstore.google.com/u/1/detail/anything-copilot-any-web/lilckelmopbcffmglfmfhelaajhjpcff)
- [Edge Add-ons - Anything Copilot](https://microsoftedge.microsoft.com/addons/detail/anything-copilot/lbeehbkcmjaopnlccpjcdgamcabhnanl)
Open any web page in a Copilot window and seamlessly multitask with other pages or applications. - [ZIZIYI - Anything Copilot](https://ziziyi.com/anything-copilot)
## Screenshots & Video ## Screenshots & Video
<table> <table>
<tr> <tr>
<td> <td>
<img src="docs/assets/1280x800_1.png" alt="Anything Copilot screenshot 1" > <img src="docs/assets/en-1280x800_1.png" alt="Anything Copilot screenshot 1" >
</td> </td>
<td> <td>
<img src="docs/assets/1280x800_2.png" alt="Anything Copilot screenshot 1" > <img src="docs/assets/en-1280x800_2.png" alt="Anything Copilot screenshot 2" >
</td> </td>
</tr> </tr>
</table> </table>
[📺 Youtube - Anything Copilot demo](https://youtu.be/RnOUGg-WiH0?si=8YHPLGvczmUTsVqU) [📺 Youtube - Mini Window](https://youtube.com/shorts/46GFbzAzboE)
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). ## Features
## Type Support for `.vue` Imports in TS ### Multi-tab Sidebar: Tabbed Sidebar for Ultimate Convenience.
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. <p align="center">
<img width="380" src="docs/assets/ai-sidebar.mp4.jpg" >
</p>
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: Access and use multiple AI assistants and tools at the same time, right from the sidebar. Consolidate your subscriptions and seamlessly use ChatGPT Plus, Claude Pro, Gemini Pro, and others all in one place with Anything Copilot.
1. Disable the built-in TypeScript Extension ### Mini Window: System-Wide AI with a Floating Assistant
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
## Customize configuration <p align="center">
<img width="380" src="docs/assets/mini-window.mp4.jpg" >
</p>
See [Vite Configuration Reference](https://vitejs.dev/config/). We’ve brought the power of AI out of the browser and placed it right on your desktop. Our intelligent floating window stays on top of all your applications, giving you a familiar AI assistant in Office, design software, and everywhere else you work.
## Project Setup ## Project Setup
......
<svg width="172" height="60" viewBox="0 0 172 60" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_25_2)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M172 3C172 1.344 170.656 0 169 0H3.00022C1.34407 0 0 1.344 0 3V57C0 58.656 1.34407 60 3.00022 60H169C170.656 60 172 58.656 172 57V3Z" fill="#001D2F"/>
<path d="M83.1638 44.4758L82.1193 41.8505H75.6349L74.5904 44.4758H71L77.071 29.1912H80.6832L86.7542 44.4758H83.1638ZM76.6576 39.292H81.0966L78.8771 33.7298L76.6576 39.292Z" fill="white"/>
<path d="M93.7609 29.1912C95.4146 29.1912 96.8943 29.5249 98.1999 30.1701C99.5055 30.8153 100.528 31.7275 101.268 32.8844C101.986 34.0413 102.356 35.354 102.356 36.8224C102.356 38.2908 101.986 39.6034 101.268 40.7604C100.528 41.9395 99.5055 42.8517 98.1999 43.4969C96.8943 44.1421 95.4146 44.4758 93.7609 44.4758H88.408V29.1912H93.7609ZM94.1743 41.4946C95.11 41.4946 95.9586 41.2943 96.6985 40.8938C97.4383 40.4934 98.0258 39.9372 98.4393 39.2252C98.8527 38.5355 99.0486 37.7346 99.0486 36.8224C99.0486 35.9324 98.8527 35.1315 98.4393 34.4195C98.0258 33.7076 97.4383 33.1514 96.6985 32.7509C95.9586 32.3727 95.11 32.1725 94.1743 32.1725H91.6067V41.4946H94.1743Z" fill="white"/>
<path d="M109.602 29.1912C111.256 29.1912 112.735 29.5249 114.041 30.1701C115.347 30.8153 116.369 31.7275 117.109 32.8844C117.827 34.0413 118.197 35.354 118.197 36.8224C118.197 38.2908 117.827 39.6034 117.109 40.7604C116.369 41.9395 115.347 42.8517 114.041 43.4969C112.735 44.1421 111.256 44.4758 109.602 44.4758H104.249V29.1912H109.602ZM110.015 41.4946C110.951 41.4946 111.8 41.2943 112.54 40.8938C113.279 40.4934 113.867 39.9372 114.28 39.2252C114.694 38.5355 114.89 37.7346 114.89 36.8224C114.89 35.9324 114.694 35.1315 114.28 34.4195C113.867 33.7076 113.279 33.1514 112.54 32.7509C111.8 32.3727 110.951 32.1725 110.015 32.1725H107.448V41.4946H110.015Z" fill="white"/>
<path d="M125.465 36.978H119.503V39.7368H125.465V36.978Z" fill="white"/>
<path d="M134.713 44.7427C133.299 44.7427 131.993 44.3867 130.775 43.6525C129.556 42.9406 128.577 41.9839 127.859 40.7602C127.141 39.5366 126.771 38.2239 126.771 36.8223C126.771 35.4206 127.141 34.108 127.859 32.8843C128.577 31.6829 129.556 30.7262 130.775 29.992C131.993 29.28 133.299 28.9241 134.713 28.9241C136.128 28.9241 137.433 29.28 138.652 29.992C139.87 30.7262 140.85 31.6829 141.568 32.8843C142.286 34.108 142.656 35.4206 142.656 36.8223C142.656 38.2239 142.286 39.5366 141.568 40.7602C140.85 41.9839 139.87 42.9406 138.652 43.6525C137.433 44.3867 136.128 44.7427 134.713 44.7427ZM134.713 41.7614C135.54 41.7614 136.302 41.5389 137.02 41.0717C137.738 40.6268 138.304 40.026 138.717 39.2696C139.131 38.5132 139.348 37.69 139.348 36.8223C139.348 35.9546 139.131 35.1314 138.717 34.3749C138.304 33.6407 137.738 33.04 137.02 32.5728C136.302 32.1278 135.54 31.9054 134.713 31.9054C133.908 31.9054 133.147 32.1278 132.429 32.5728C131.71 33.04 131.123 33.6407 130.71 34.3972C130.296 35.1536 130.079 35.9546 130.079 36.8223C130.079 37.69 130.296 38.5132 130.71 39.2696C131.123 40.026 131.71 40.6268 132.429 41.0717C133.147 41.5389 133.908 41.7614 134.713 41.7614Z" fill="white"/>
<path d="M144.548 29.1912H147.747L154.971 39.0695V29.1912H158.17V44.4758H154.971L147.747 34.5975V44.4758H144.548V29.1912Z" fill="white"/>
<path d="M76.3097 20.0311H80.6253V24.2034C80.1409 24.7287 79.5244 25.134 78.8051 25.4341C78.0712 25.7343 77.3373 25.8844 76.6033 25.8844C75.6492 25.8844 74.7685 25.6442 73.9611 25.149C73.1391 24.6687 72.4932 24.0233 72.0088 23.1979C71.5098 22.3724 71.2749 21.4869 71.2749 20.5414C71.2749 19.5958 71.5098 18.7103 72.0088 17.8849C72.4932 17.0594 73.1391 16.4141 73.9611 15.9338C74.7685 15.4535 75.6492 15.2134 76.6033 15.2134C77.3519 15.2134 78.0859 15.3635 78.8051 15.6636C79.5244 15.9638 80.1409 16.369 80.6253 16.8793L79.3189 18.125C79.0107 17.7498 78.5996 17.4646 78.1006 17.2395C77.6015 17.0294 77.1024 16.9243 76.6033 16.9243C75.9868 16.9243 75.4143 17.0894 74.8859 17.4196C74.3428 17.7498 73.9171 18.1851 73.6088 18.7404C73.3006 19.2957 73.1391 19.896 73.1391 20.5414C73.1391 21.1867 73.3006 21.7871 73.6088 22.3424C73.9171 22.8977 74.3428 23.348 74.8859 23.6781C75.4143 24.0083 75.9868 24.1734 76.6033 24.1734C76.985 24.1734 77.3813 24.1134 77.7776 23.9783C78.1593 23.8432 78.5263 23.6631 78.8345 23.423V21.5619H76.3097V20.0311Z" fill="white"/>
<path d="M89.7408 17.1045H83.9867V19.5959H89.1977V21.3069H83.9867V23.9934H89.7408V25.7044H82.1519V15.3936H89.7408V17.1045Z" fill="white"/>
<path d="M94.0123 17.1045H90.783V15.3936H99.0618V17.1045H95.8472V25.7044H94.0123V17.1045Z" fill="white"/>
<path d="M106.813 17.1045H103.583V15.3936H111.862V17.1045H108.647V25.7044H106.813V17.1045Z" fill="white"/>
<path d="M120.067 15.3936H121.888V25.7044H120.067V21.3069H115.033V25.7044H113.198V15.3936H115.033V19.5959H120.067V15.3936Z" fill="white"/>
<path d="M131.341 17.1045H125.587V19.5959H130.798V21.3069H125.587V23.9934H131.341V25.7044H123.752V15.3936H131.341V17.1045Z" fill="white"/>
<g clip-path="url(#clip1_25_2)">
<path d="M53.623 40.4863C53.0196 40.7999 52.3973 41.0758 51.7598 41.3125C49.741 42.0639 47.6033 42.445 45.4492 42.4375C37.1348 42.4375 29.8926 36.7246 29.8926 29.377C29.9034 28.3931 30.1762 27.4298 30.6829 26.5864C31.1895 25.7429 31.9118 25.0497 32.7754 24.5781C25.252 24.8945 23.3184 32.7344 23.3184 37.3223C23.3184 50.3301 35.2891 51.6309 37.873 51.6309C39.2617 51.6309 41.3535 51.2266 42.6191 50.8223L42.8477 50.752C47.6911 49.0781 51.8201 45.8047 54.5547 41.4707C54.6342 41.339 54.6683 41.1849 54.6518 41.032C54.6353 40.8791 54.5691 40.7358 54.4634 40.6241C54.3577 40.5124 54.2182 40.4384 54.0664 40.4135C53.9147 40.3886 53.7589 40.4142 53.623 40.4863Z" fill="url(#paint0_linear_25_2)"/>
<path opacity="0.35" d="M53.623 40.4863C53.0196 40.7999 52.3973 41.0758 51.7598 41.3125C49.741 42.0639 47.6033 42.445 45.4492 42.4375C37.1348 42.4375 29.8926 36.7246 29.8926 29.377C29.9034 28.3931 30.1762 27.4298 30.6829 26.5864C31.1895 25.7429 31.9118 25.0497 32.7754 24.5781C25.252 24.8945 23.3184 32.7344 23.3184 37.3223C23.3184 50.3301 35.2891 51.6309 37.873 51.6309C39.2617 51.6309 41.3535 51.2266 42.6191 50.8223L42.8477 50.752C47.6911 49.0781 51.8201 45.8047 54.5547 41.4707C54.6342 41.339 54.6683 41.1849 54.6518 41.032C54.6353 40.8791 54.5691 40.7358 54.4634 40.6241C54.3577 40.5124 54.2182 40.4384 54.0664 40.4135C53.9147 40.3886 53.7589 40.4142 53.623 40.4863Z" fill="url(#paint1_radial_25_2)"/>
<path d="M31.58 49.416C30.0154 48.4442 28.6591 47.1716 27.5898 45.6719C26.3687 44.0005 25.5282 42.0822 25.1272 40.0515C24.7262 38.0209 24.7745 35.927 25.2686 33.917C25.7627 31.9069 26.6908 30.0294 27.9876 28.4161C29.2844 26.8028 30.9185 25.4928 32.7753 24.5781C33.3378 24.3145 34.2695 23.8574 35.5175 23.875C36.3958 23.8818 37.2605 24.0916 38.0442 24.488C38.8279 24.8844 39.5093 25.4567 40.0351 26.1602C40.7424 27.1113 41.1301 28.2621 41.1425 29.4473C41.1425 29.4121 45.4492 15.4551 27.08 15.4551C19.3632 15.4551 13.0175 22.7676 13.0175 29.2012C12.9868 32.5996 13.7134 35.9623 15.1445 39.0449C17.4881 44.0354 21.5825 47.9917 26.6505 50.1627C31.7184 52.3338 37.4071 52.5685 42.6367 50.8223C40.8045 51.4009 38.8686 51.5749 36.9626 51.3321C35.0567 51.0893 33.2262 50.4355 31.5976 49.416H31.58Z" fill="url(#paint2_linear_25_2)"/>
<path opacity="0.41" d="M31.58 49.416C30.0154 48.4442 28.6591 47.1716 27.5898 45.6719C26.3687 44.0005 25.5282 42.0822 25.1272 40.0515C24.7262 38.0209 24.7745 35.927 25.2686 33.917C25.7627 31.9069 26.6908 30.0294 27.9876 28.4161C29.2844 26.8028 30.9185 25.4928 32.7753 24.5781C33.3378 24.3145 34.2695 23.8574 35.5175 23.875C36.3958 23.8818 37.2605 24.0916 38.0442 24.488C38.8279 24.8844 39.5093 25.4567 40.0351 26.1602C40.7424 27.1113 41.1301 28.2621 41.1425 29.4473C41.1425 29.4121 45.4492 15.4551 27.08 15.4551C19.3632 15.4551 13.0175 22.7676 13.0175 29.2012C12.9868 32.5996 13.7134 35.9623 15.1445 39.0449C17.4881 44.0354 21.5825 47.9917 26.6505 50.1627C31.7184 52.3338 37.4071 52.5685 42.6367 50.8223C40.8045 51.4009 38.8686 51.5749 36.9626 51.3321C35.0567 51.0893 33.2262 50.4355 31.5976 49.416H31.58Z" fill="url(#paint3_radial_25_2)"/>
<path d="M39.7891 33.1563C39.6309 33.332 39.1914 33.5957 39.1914 34.1406C39.1914 34.5977 39.4902 35.0547 40.0352 35.4238C42.5488 37.1816 47.3125 36.9355 47.3301 36.9355C49.204 36.9343 51.0433 36.4305 52.6562 35.4766C54.2801 34.5267 55.6275 33.169 56.5649 31.5379C57.5022 29.9068 57.9969 28.059 58 26.1777C58.0527 22.2402 56.5937 19.6211 56.0137 18.4609C52.2695 11.1836 44.2363 7 35.5 7C29.587 6.99942 23.9115 9.32646 19.7009 13.4778C15.4903 17.6292 13.0832 23.2712 13 29.1836C13.0879 22.7676 19.4687 17.582 27.0625 17.582C27.6777 17.582 31.1934 17.6348 34.4453 19.3398C36.73 20.4751 38.6219 22.2691 39.877 24.4902C40.9492 26.3535 41.1426 28.7266 41.1426 29.6758C41.1426 30.625 40.668 32.0137 39.7715 33.1738L39.7891 33.1563Z" fill="url(#paint4_radial_25_2)"/>
<path d="M39.7891 33.1563C39.6309 33.332 39.1914 33.5957 39.1914 34.1406C39.1914 34.5977 39.4902 35.0547 40.0352 35.4238C42.5488 37.1816 47.3125 36.9355 47.3301 36.9355C49.204 36.9343 51.0433 36.4305 52.6562 35.4766C54.2801 34.5267 55.6275 33.169 56.5649 31.5379C57.5022 29.9068 57.9969 28.059 58 26.1777C58.0527 22.2402 56.5937 19.6211 56.0137 18.4609C52.2695 11.1836 44.2363 7 35.5 7C29.587 6.99942 23.9115 9.32646 19.7009 13.4778C15.4903 17.6292 13.0832 23.2712 13 29.1836C13.0879 22.7676 19.4687 17.582 27.0625 17.582C27.6777 17.582 31.1934 17.6348 34.4453 19.3398C36.73 20.4751 38.6219 22.2691 39.877 24.4902C40.9492 26.3535 41.1426 28.7266 41.1426 29.6758C41.1426 30.625 40.668 32.0137 39.7715 33.1738L39.7891 33.1563Z" fill="url(#paint5_radial_25_2)"/>
</g>
</g>
<defs>
<linearGradient id="paint0_linear_25_2" x1="23.3184" y1="38.1133" x2="54.6777" y2="38.1133" gradientUnits="userSpaceOnUse">
<stop stop-color="#0C59A4"/>
<stop offset="1" stop-color="#114A8B"/>
</linearGradient>
<radialGradient id="paint1_radial_25_2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(40.6328 38.3497) scale(16.7695 15.9311)">
<stop offset="0.7" stop-opacity="0"/>
<stop offset="0.9" stop-opacity="0.5"/>
<stop offset="1"/>
</radialGradient>
<linearGradient id="paint2_linear_25_2" x1="39.8418" y1="24.5078" x2="20.2773" y2="45.8301" gradientUnits="userSpaceOnUse">
<stop stop-color="#1B9DE2"/>
<stop offset="0.2" stop-color="#1595DF"/>
<stop offset="0.7" stop-color="#0680D7"/>
<stop offset="1" stop-color="#0078D4"/>
</linearGradient>
<radialGradient id="paint3_radial_25_2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(25.4022 41.9694) rotate(-81.3844) scale(25.2046 20.3628)">
<stop offset="0.8" stop-opacity="0"/>
<stop offset="0.9" stop-opacity="0.5"/>
<stop offset="1"/>
</radialGradient>
<radialGradient id="paint4_radial_25_2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(17.551 15.3173) rotate(92.2906) scale(35.6066 75.8346)">
<stop stop-color="#35C1F1"/>
<stop offset="0.1" stop-color="#34C1ED"/>
<stop offset="0.2" stop-color="#2FC2DF"/>
<stop offset="0.3" stop-color="#2BC3D2"/>
<stop offset="0.7" stop-color="#36C752"/>
</radialGradient>
<radialGradient id="paint5_radial_25_2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(55.1981 20.5879) rotate(73.7398) scale(17.1035 13.9086)">
<stop stop-color="#66EB6E"/>
<stop offset="1" stop-color="#66EB6E" stop-opacity="0"/>
</radialGradient>
<clipPath id="clip0_25_2">
<rect width="172" height="60" fill="white"/>
</clipPath>
<clipPath id="clip1_25_2">
<rect width="45" height="45" fill="white" transform="translate(13 7)"/>
</clipPath>
</defs>
</svg>
This source diff could not be displayed because it is too large. You can view the blob instead.
# 1.5.4
link @ziziyi/invoker
修复 welcome 404
# 1.5.5
sidebar img 导致页面加载慢
# todo
favicon 兼容性问题
opera 侧边栏
# challenge
ChatGPT 登录 Cookie 问题
选择当点击时可用 bug
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment