https://github.com/legraphista/localplexity
LocalPlexity is a lite version of Perplexity aimed at 100% privacy and openness. Everything is done locally, in your browser, from searching the web to distilling a response for your question.
https://github.com/legraphista/localplexity
llm perplexity search web web-llm webgpu
Last synced: about 1 month ago
JSON representation
LocalPlexity is a lite version of Perplexity aimed at 100% privacy and openness. Everything is done locally, in your browser, from searching the web to distilling a response for your question.
- Host: GitHub
- URL: https://github.com/legraphista/localplexity
- Owner: legraphista
- License: agpl-3.0
- Created: 2024-08-08T13:52:39.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-08-12T12:29:43.000Z (9 months ago)
- Last Synced: 2025-03-26T19:04:34.944Z (about 2 months ago)
- Topics: llm, perplexity, search, web, web-llm, webgpu
- Language: TypeScript
- Homepage: https://localplexity.pages.dev/
- Size: 811 KB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
#
[LocalPlexity](https://localplexity.pages.dev/)
[LocalPlexity](https://localplexity.pages.dev/) is a lite version of [Perplexity](https://www.perplexity.ai/) aimed at 100% privacy and openness. Everything is done locally, in your browser, from searching the web to distilling a response for your question.
You can visit the website at [localplexity.pages.dev](https://localplexity.pages.dev/).

## Features
- Local search and response generation
- 100% privacy and openness
- Anonymous searches using a proxy
- Open source
- No ads / No tracking## How It Works
LocalPlexity operates entirely within your browser to ensure complete privacy and openness. Here's a brief overview of how it works:
1. **Local Search and Response Generation**: When you enter a search query, LocalPlexity scrapes DuckDuckGo search results to find relevant information.
2. **Data Processing**: The websites are fetched, then `@mozilla/readability` extracts the essential content and `node-html-markdown` is converting HTML to Markdown.
3. **Response Generation**: The data is then passed to a small LLM to generate a response to your query.
All operations are performed locally in your browser, with no personal data being sent to external servers. All communication is anonymized using a proxy to ensure that your searches are not tracked.
___
## Installation
1. Clone the repository:
```sh
git clone https://github.com/legraphista/localplexity.git
cd localplexity
```2. Install dependencies:
```sh
yarn install
```## Usage
Start the development server:
```sh
yarn start
```## License
This project is licensed under the AGPL-3.0 License. See the LICENSE file for details.