Replay is a chrome extension that lets you search through all the pages in your browsing history to find the one you can't remember. It uses cosine similarity search to find the page based on the content of the page and the search query provided by the user. Replay is built using Supabase DB and Supabase Auth, and OpenAI APIs to create embeddings for webpages, store them to Supabase, and find the page by computing cosine similarity between content of page and query.
replay.mov
To install Replay, you will need to follow these steps:
Either use a pre-built extension from the source code named dist.zip
or
1.Clone the repository from Github using the following command:
git clone https://github.com/KamaniBhavin/replay.git
2.Install dependencies using npm:
npm install
3.Run the build script to create a dist
folder for the extension:
npm run build
4.Open Google Chrome and navigate to the Extensions page. You can do this by typing chrome://extensions
in the URL bar.
5.Enable Developer Mode by toggling the switch in the top right corner of the page.
6.Click on Load unpacked
and select the dist
folder created in step 3 or the unzipped version of the build downloaded from the repo.
7.The Replay extension should now be installed and ready to use.
To use Replay, you can follow these steps:
1.👤 Use the extension popup to log in with your Google account.
2.🔗 Add your OpenAI API key to the same popup.
3.🌐 Start browsing the web.
4.🎯 Press Ctrl+Space to toggle spotlight search on any webpage.
5.🔍 Enter any content you remember about the page you're looking for in the spotlight search field.
6.📋 A list of web pages relevant to your query will appear below.
7.🤔 Browse the list and click on the webpage you've been searching for (but can't remember).
8.🆕 The page will open in a new tab
Replay is built using the following technologies:
- Supabase DB
- Supabase Auth
- OpenAI APIs
The project was developed by Bhavin Kamani. If you have any questions or comments, please feel free to contact me at 13havinkamani@gmail.com.