Skip to content

About

React + TypeScript AI-powered sidebar with OpenRouter integration, context-aware suggestions, and customizable workflows

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

AI Sidebar Logo

AI Sidebar Extension

Your personal, intelligent browsing sidekick 🚀

Version License React Vite


Hey there! 👋 Welcome to AI Sidebar — a Chrome extension i built to bring the power of advanced LLMs directly into your browser. Instead of switching tabs to talk to ChatGPT or Claude, AI Sidebar sits right next to whatever you're working on. It's designed to be smart, fast, and protective of your privacy.

It's not just a chat box, though! It acts as a real agent: it can read the page you're on, browse the web to find answers, and even click and type on web pages for you.


📸 See it in action

Chat Interface
Chat Interface
Fast, clean conversations with real-time streaming.
Settings & Models
Settings
Easily swap between your favorite models and secure your API keys.
Agentic DOM Interaction
DOM Interaction
The AI "sees" your page and can interact with it for you.
Voice Input
Voice Input
Just talk to it! Built-in dictation makes things hands-free.

✨ What makes it special?

  • 🧠 Bring Your Own Model: Whether you like OpenAI, Anthropic, Gemini, Groq, or even local models via Ollama/LMStudio, i've got you covered. You can even mix and match using OpenRouter!
  • 🛡️ Truly Private & Secure: All your keys belong to you, All API keys are encrypted at rest using AES-GCM right in your browser. it is never tracked, and your chat history lives strictly in your local IndexedDB.
  • ⚡ Built for Speed: Created a custom StreamingBuffer that keeps the UI buttery smooth, even when the AI is dumping thousands of words at once.
  • 🕵️ Real Agentic Powers: It doesn't just talk; it does things. Tell it to "search the web for X", or "click the login button", and it will autonomously use tools to get it done (majority times it works, if it doesnt do report on the feedback form in the settings).
  • 📂 Easy Chat Management: Branch your conversations, easily pick up where you left off, and export your chats whenever you need them.
  • 🎙️ Voice Ready: Tap the mic and just start speaking.

🛠️ Want to tinker with the code?

If you're a developer and want to run this locally or contribute, here's how to get started:

What you'll need

  • Node.js (v18 or newer)
  • npm, yarn, or pnpm
  • A Chromium browser (Chrome, Edge, Brave, etc.)

Getting it running

  1. Grab the code:

    git clone https://github.com/MR-1124/AI-Sidebar.git
    cd AI-Sidebar
  2. Install the packages:

    npm install
  3. Fire up the dev server:

    npm run dev

    Vite will take care of hot-reloading as you make changes!

Loading it into Chrome

  1. Go to chrome://extensions/ in your browser.
  2. Toggle on "Developer mode" in the top right.
  3. Click "Load unpacked" and select the dist/ folder inside the project.
  4. Pin it to your toolbar and click the icon to open the sidebar. You're good to go!

🧪 Running Tests

We use Vitest to make sure things don't break. You can run the test suite easily:

# Run everything once
npm run test

# Run in watch mode while coding
npm run test:watch

🏗️ What's Under the Hood

Here's what we're running:


🐛 Known Issues & What's Next

Warning

I'm building and shipping fast! Because of this, you might occasionally run into a bug, especially with the AI trying to click complex web elements or handling weird provider rate limits. I'm actively learning and improving it every day. If something breaks, please do let me know, I'll try my best to fix it!

🤝 Let's build this together!

I would absolutely love your help. If you have an idea, find a bug, or want to add a feature:

  1. Open an issue so we can chat about it.
  2. Fork the repo and make your branch (git checkout -b feature/MyCoolIdea).
  3. Commit your tweaks (git commit -m 'Added this cool thing').
  4. Push it up (git push origin feature/MyCoolIdea).
  5. Open a Pull Request!

Built with ❤️ for power users, tinkerers, and AI enthusiasts.

About

React + TypeScript AI-powered sidebar with OpenRouter integration, context-aware suggestions, and customizable workflows

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages