Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lablab-ai/webgpu-llm-chrome-extension-starter
WebLLM Chrome Extension Starter Pack.
https://github.com/lablab-ai/webgpu-llm-chrome-extension-starter
Last synced: 10 days ago
JSON representation
WebLLM Chrome Extension Starter Pack.
- Host: GitHub
- URL: https://github.com/lablab-ai/webgpu-llm-chrome-extension-starter
- Owner: lablab-ai
- Created: 2023-08-10T12:09:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-10T12:20:40.000Z (about 1 year ago)
- Last Synced: 2024-08-01T02:28:59.046Z (3 months ago)
- Language: CSS
- Size: 11.7 KB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebLLM Chrome Extension
![Chrome Extension](https://github.com/mlc-ai/mlc-llm/assets/11940172/0d94cc73-eff1-4128-a6e4-70dc879f04e0)
To run the extension, first start a local server using the steps outlined [here](https://mlc.ai/mlc-llm/docs/deploy/rest.html). Next, you can do the following steps under this folder
```bash
npm install
npm run build
```This will create a new directory at `chrome-extension/dist/`. To load the extension into Chrome, first launch Chrome with web security disabled (this is to disable CORS).
```bash
google-chrome --disable-web-security --user-data-dir=/some/dir/
```Next, go to Extensions > Manage Extensions and select Load Unpacked. Add the `chrome-extension/dist/` directory. You can now pin the extension to your toolbar and use it to chat with your favorite model!
---
[![Artificial Intelligence Hackathons, tutorials and Boilerplates](https://storage.googleapis.com/lablab-static-eu/images/github/lablab-banner.jpg)](https://lablab.ai)
## Join the LabLab Discord
![Discord Banner 1](https://discordapp.com/api/guilds/877056448956346408/widget.png?style=banner1)
On lablab discord, we discuss this repo and many other topics related to artificial intelligence! Checkout upcoming [Artificial Intelligence Hackathons](https://lablab.ai) Event[![Acclerating innovation through acceleration](https://storage.googleapis.com/lablab-static-eu/images/github/nn-group-loggos.jpg)](https://newnative.ai)