🚀 A deployed instance is available at: https://llm-search-ero.pages.dev
LLM Search is a client-side-only web application that allows you to interact with large language models (LLMs) using your own OpenAI API key. The app is designed for privacy and ease of use, utilizing browser local storage, so no keys or queries ever sent to a third-party server. It features a step-by-step onboarding flow, browser integration instructions, and a modern, user-friendly interface.
- Secure, local storage of your OpenAI API key
- Step-by-step onboarding and settings
- Chat interface for interacting with LLMs
- Browser integration instructions for quick access
- Built with React, Vite, and Material UI Joy
- Clone this repository:
git clone <your-repo-url> cd llm-search
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open http://localhost:5173 in your browser.
- Go to
about:config - Add a new key for
browser.urlbar.update2.engineAliasRefreshwith the valuetrue - You should now be able to enter your URL details
- Open Settings > Search engine > Manage search engines and site search.
- Under 'Site search', click "Add" and enter:
- Search engine name: LLM Search
- Shortcut: llm
- URL: https://llm-search-ero.pages.dev?q=%s (or your deployed instance)
- Save. Now you can search by typing
llmin the address bar, then a space, then your query. - To set as default: Under 'Default search engines', click the three dots next to LLM Search and choose "Make default" (if available in your Chrome version).
- Open Edge's settings.
- Select Privacy, search, and services from the left menu.
- Scroll down to Search and services and choose Address bar and search.
- Click Manage search engines.
- Click Add and fill in:
- Search engine name: LLM Search
- Shortcut: llm
- URL: https://llm-search-ero.pages.dev?q=%s (or your deployed instance)
- Close settings. You can now search by typing
llmin the address bar, then a space, then your query.
- I don't have an apple or iphone, but it's my understanding that Safari does not support custom search engines natively. You can still use this app manually.
- On first launch, follow the onboarding steps:
- Getting Started
- Enter your OpenAI API key in Settings
- (Optional) Set up browser integration
- Start chatting!
- Your API key is stored securely in your browser's local storage and never leaves your device.
- Only supports OpenAI-compatible API keys at this time
- No support for other LLM providers
- Safari does not support custom search engines
- No server-side storage or user accounts
- Note: After developing this project, I discovered [llmchat.co], which is a more feature-rich tool. However, a cursory glance seems to indicate that it does not appear to offer browser search engine integration like LLM Search does.
- Support for additional LLM providers (Anthropic, Google, etc.)
- Enhanced chat features (history, context, etc.)
- Improved browser extension or native integration
- Mobile and accessibility improvements
MIT
For more information, see the Vite documentation and Material UI Joy.