Skip to content

officialzubairansari/slash-engine

 
 

Repository files navigation

Slash Engine

Slash Engine is an open-source browser extension that offers a sidebar and web interface, enabling interaction with your local AI model directly from any webpage.

Installation

Slash Engine supports Chromium-based browsers like Chrome, Brave, and Edge, as well as Firefox.

Chrome Web Store

Features

  • Sidebar: A sidebar that can be opened on any webpage. It allows you to interact with your model and see the results.

  • Web UI: A web UI that allows you to interact with your model like a ChatGPT Website.

  • Chat With Webpage: You can chat with the webpage and ask questions about the content.

want more features? Create an issue and let me know.

Manual Installation

Pre-requisites

  1. Clone the repository
git clone https://github.com/Arcotic-Solutions-Ltd/slash-engine.git
cd slash-engine
  1. Install the dependencies
bun install
  1. Build the extension (by default it will build for Chrome)
bun run build

or you can build for Firefox

bun build:firefox
  1. Load the extension (chrome)
  • Open the Extension Management page by navigating to chrome://extensions.

  • Enable Developer Mode by clicking the toggle switch next to Developer mode.

  • Click the Load unpacked button and select the build directory.

  1. Load the extension (firefox)
  • Open the Add-ons page by navigating to about:addons.
  • Click the Extensions tab.
  • Click the Manage Your Extensions button.
  • Click the Load Temporary Add-on button and select the manifest.json file from the build directory.

Usage

Sidebar

Once the extension is installed, you can open the sidebar via context menu or keyboard shortcut.

Default Keyboard Shortcut: Ctrl+Shift+Y

Web UI

You can open the Web UI by clicking on the extension icon which will open a new tab with the Web UI.

Default Keyboard Shortcut: Ctrl+Shift+L

Note: You can change the keyboard shortcuts from the extension settings on the Chrome Extension Management page.

Development

You can run the extension in development mode to make changes and test them.

bun dev

This will start a development server and watch for changes in the source files. You can load the extension in your browser and test the changes.

Browser Support

Browser Sidebar Chat With Webpage Web UI
Chrome
Brave
Firefox
Vivaldi
Edge
LibreWolf
Zen Browser
Opera
Arc

Local AI Provider

  • Ollama

  • Chrome AI (Gemini Nano)

  • OpenAI API Compatible endpoints (like LM Studio, llamafile etc.)

Roadmap

  • Firefox Support
  • More Local AI Providers
  • More Customization Options
  • Better UI/UX

Privacy

Slash Engine does not collect any personal data. The only time the extension communicates with the server is when you are using the share feature, which can be disabled from the settings.

All the data is stored locally in the browser storage. You can view the source code and verify it yourself.

You learn more about the privacy policy here.

Contributing

Contributions are welcome. If you have any feature requests, bug reports, or questions, feel free to create an issue.

License

MIT

Dedicated to the Memory of Rohingya Genocide Martyrs

This project is dedicated to the memory of the martyrs of the Rohingya genocide. May their struggles never be forgotten. #ProtectTheRohingya #StopRohingyaGenocide

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.3%
  • Other 0.7%