- TypeScript 96.4%
- CSS 2.6%
- JavaScript 0.9%
- HTML 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| assets | ||
| public | ||
| src | ||
| .DS_Store | ||
| .gitignore | ||
| CLAUDE.md | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| PRIVACY.md | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| wxt.config.ts | ||
Sidecore AI
AI assistant that lives in Chrome's Side Panel.
Summarize pages. Ask questions across tabs. Use any LLM provider.
Install • Features • How it works • Development • Privacy
Why Sidecore AI?
You have 12 tabs open. You need a quick summary. Or you want to ask a question that spans multiple articles.
Without Sidecore AI: copy text from each tab, paste into ChatGPT, lose formatting, hit token limits, repeat.
With Sidecore AI: click the icon, type @ to select tabs, ask your question. Done.
Features
- Side Panel chat — always visible alongside your browsing, no tab switching
- Multi-tab context — select multiple tabs with
@mentions and query across all of them - Smart extraction — converts pages to clean markdown via Readability, with optimized extractors for Reddit and X/Twitter
- Bring your own AI — works with any OpenAI-compatible API:
- OpenAI, Anthropic (via proxy), Google Gemini
- Ollama, LM Studio, OpenRouter, Together AI
- Any custom endpoint
- Context menu — right-click any page for "Summarize" or "Ask about this page"
- Budget-aware — intelligently manages token budgets across multiple tabs
- Privacy-first — zero telemetry, zero tracking. Everything stays local
How it works
1. Click extension icon ──> Side Panel opens
2. Go to Settings ──> Enter your API key & endpoint
3. Type @ in chat ──> Pick tabs as context
4. Ask your question ──> Get an answer
Content is extracted on-demand from tabs you explicitly select. Requests go directly to your configured provider — Sidecore AI never sees your data.
Installation
Chrome Web Store
https://chromewebstore.google.com/detail/sidecore-ai/eknmcilipdfdpobhbfcpnfbgepdfodjk
From source (developer mode)
Prerequisites: Node.js 18+, npm
# Clone the repo
git clone https://github.com/alesha-pro/sidecore-ai.git
cd sidecore-ai
# Install dependencies
npm install
# Build for production
npm run build
Then load in Chrome:
- Open
chrome://extensions - Enable Developer mode (top right)
- Click Load unpacked
- Select the
.output/chrome-mv3/folder - Click the Sidecore AI icon in the toolbar to open the Side Panel
Development
npm run dev # Dev server with hot reload (auto-opens Chrome)
npm run build # Production build ──> .output/chrome-mv3/
npm run zip # Create distributable .zip
npm run dev launches Chrome with the extension pre-loaded. Edit files and see changes instantly.
Tech stack
| Layer | Technology |
|---|---|
| Framework | WXT (Manifest V3) |
| UI | Preact + TypeScript |
| Styling | Tailwind CSS v3 |
| Extraction | Readability + Turndown |
| Build | Vite |
Architecture
src/
├── entrypoints/
│ ├── sidepanel/ # Main UI (Preact app)
│ ├── background.ts # Service worker
│ └── article-extractor.content.ts # On-demand content extractor
├── components/ # UI components
├── lib/
│ ├── llm/ # OpenAI-compatible client
│ ├── storage.ts # Chrome storage wrapper
│ └── types.ts # Shared types
└── background/
└── extraction/ # Tab extraction + budgeting
Data flow:
- User selects tabs via
@mention picker - Side panel sends
extract-tabsmessage to background service worker - Background injects content extractor into selected tabs
- Extractor converts HTML to Markdown (Readability + Turndown)
- Background applies context budget, returns extracted content
- Side panel builds prompt with context, calls LLM API
- Streaming response rendered in chat
Supported providers
Any service with an OpenAI-compatible /v1/chat/completions endpoint:
| Provider | Base URL |
|---|---|
| OpenAI | https://api.openai.com/v1 |
| OpenRouter | https://openrouter.ai/api/v1 |
| Together AI | https://api.together.xyz/v1 |
| Ollama (local) | http://localhost:11434/v1 |
| LM Studio (local) | http://localhost:1234/v1 |
| Any compatible | Your endpoint URL |
Privacy
- No telemetry. No analytics. No tracking pixels. No data collection.
- No backend. Sidecore AI has no server. There is nothing to phone home to.
- Local storage only. Settings and chat history live in
chrome.storage.localon your device. - You control the data flow. Content is sent only to the AI provider you configure.
- Minimal permissions. Host access is optional and requested at runtime only when needed.
Permissions
| Permission | Why |
|---|---|
sidePanel |
Display the chat UI |
storage |
Save settings & chat history locally |
tabs |
List tabs for context selection |
activeTab |
Extract from current tab on user action |
scripting |
Inject content extractor on demand |
contextMenus |
Right-click quick actions |
<all_urls> (optional) |
Multi-tab extraction & custom API endpoints (requested at runtime) |
License
Built with Preact, WXT, and too many open tabs.