mckaywrigley/clarity-ai
A web search engine powered by OpenAI's LLM that scrapes Google for relevant pages and synthesizes answers.

Velocity · 7d
+1.2
★ / day
Trend
→steady
star history
Clarity is a Perplexity.ai-style search and answer application built with TypeScript. It takes a user query, scrapes Google for relevant webpages, parses the page content, builds a prompt combining the query with scraped text, and calls the OpenAI API to generate and stream an answer back to the user. The app demonstrates how to combine web retrieval with LLMs for real-time AI-powered search.