{"id":23571668,"url":"https://github.com/cnuahs/semantic-history-search","last_synced_at":"2026-04-12T02:33:32.229Z","repository":{"id":269507089,"uuid":"900174872","full_name":"cnuahs/semantic-history-search","owner":"cnuahs","description":"A Chrome extension to provide semantic search over your browsing history.","archived":false,"fork":false,"pushed_at":"2025-02-10T22:23:59.000Z","size":533,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T23:25:08.505Z","etag":null,"topics":["angular","brave-extension","browsing-history","chrome-extension","document-embedding","huggingface-transformers","langchain","langchain-js","manifest-v3","semantic-search"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cnuahs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-08T04:02:28.000Z","updated_at":"2025-02-10T22:24:03.000Z","dependencies_parsed_at":"2024-12-24T04:24:40.560Z","dependency_job_id":"efcea86b-4185-4a8a-b5d8-8af68b9bf5af","html_url":"https://github.com/cnuahs/semantic-history-search","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"ac1507653b031b4e706a70c5cd18b90726c8e702"},"previous_names":["cnuahs/semantic-history-search"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnuahs%2Fsemantic-history-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnuahs%2Fsemantic-history-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnuahs%2Fsemantic-history-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnuahs%2Fsemantic-history-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cnuahs","download_url":"https://codeload.github.com/cnuahs/semantic-history-search/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254513119,"owners_count":22083513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","brave-extension","browsing-history","chrome-extension","document-embedding","huggingface-transformers","langchain","langchain-js","manifest-v3","semantic-search"],"created_at":"2024-12-26T20:18:58.798Z","updated_at":"2026-04-12T02:33:32.214Z","avatar_url":"https://github.com/cnuahs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semantic-history-search\n\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\nA Chrome extension to provide semantic search over your browsing history. It goes beyond simple keyword matching of page titles, analysing the content of visited sites and allowing you to find previously visited pages based on their meaning and relevance to your queries. This provides intuitive rediscovery of previously visited sites or specific content from your history.\n\n## Installation\n\n### 1. Clone this repository\n\nClone this repository to your local machine:\n\n```bash\ngit clone https://github.com/cnuahs/semantic-history-search.git\ncd semantic-history-search\n```\n\n### 2. Build the Extension\n\nInstall the necessary dependencies and build the extension:\n\n```bash\nnpm install\nnpx ng build\n```\n\n### 3. Install in Chrome as an Unpacked Extension\n\n1.  Open Chrome and navigate to chrome://extensions/.\n2.  Enable \"Developer mode\" by toggling the switch in the top right corner.\n3.  Click on the \"Load unpacked\" button.\n4.  Select the `dist/` directory inside your cloned repository.\n\nThe extension should now be installed and ready to use in Chrome.\n\n## Setup and configuration\n\n### 1. Sign Up for Pinecone\n\nVisit the [Pinecone website](https://www.pinecone.io/) and sign up for a free account.\n\n### 2. Create an Index\n\nOnce you have created an account and logged in, follow these steps to create an index:\n\n1. Navigate to the \"Database\" / \"Indexes\" tab.\n2. Click on the \"Create Index\" button.\n3. Name your index (e.g., `shs-ext`).\n4. Configure the index settings (number of dimensions and similarity metric) to suite your embedding model and click \"Create\". If using the default embedding model (c.f. [Xenova/all-MiniLM-L6-v2](https://huggingface.co/Xenova/all-MiniLM-L6-v2)), set the number of dimensions to 384 and the similarity metric to \"Cosine similarity\".\n\n### 3. Get Your Pinecone API Key\n\nTo get your Pinecone API key:\n\n1. Navigate to the \"API keys\" tab.\n2. Click on the \"Create API key\" button.\n3. Copy the generated API key and store it securely.\n\nYou will need this API key to configure the extension to use Pinecone for semantic search.\n\n### 4. Configure the extension to use Pinecone\n\n1. Click the extension's icon in the Chrome toolbar to display the UI.\n2. Click the gear icon in the top right to display the \"Settings\" page.\n3. Enter your Pinecone index name (from Step 2) and API key (from Step 3).\n4. Click \"Apply\".\n\n## Development\n\n### Build\n\nRun `npx ng build [--configuration development]` to build the extension. Build artifacts will be stored in `dist/`.\n\nThe `development` configuration builds the extension without minification. Highly recommended when debugging using the Chrome developer tools.\n\n### Notes\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 20.3.19.\n\nFor help on the Angular CLI use `npx ng help` or see the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\u003cspan style=\"margin:0px; display:inline-block;\"\u003e\n  \u003ca href=\"https://angular.dev/\"\u003e\n    \u003cpicture\u003e\n      \u003c!-- Colour specs from https://primer.style/primitives/colors --\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.simpleicons.org/angular/c9d1d9\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.simpleicons.org/angular/24292f\"\u003e\n      \u003cimg alt=\"Angular logo\" width=\"50px\" src=\"https://cdn.simpleicons.org/angular.svg\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/span\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003cspan style=\"margin:0px; display:inline-block;\"\u003e\n  \u003ca href=\"https://tailwindcss.com/\"\u003e\n    \u003cpicture\u003e\n      \u003c!-- Colour specs from https://primer.style/primitives/colors --\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.simpleicons.org/tailwindcss/c9d1d9\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.simpleicons.org/tailwindcss/24292f\"\u003e\n      \u003cimg alt=\"Tailwind CSS logo\" width=\"50px\" src=\"https://cdn.simpleicons.org/tailwindcss.svg\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/span\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003cspan style=\"margin:0px; display:inline-block;\"\u003e\n  \u003ca href=\"https://www.langchain.com/langchain\"\u003e\n    \u003cpicture\u003e\n      \u003c!-- Colour specs from https://primer.style/primitives/colors --\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.simpleicons.org/langchain/c9d1d9\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.simpleicons.org/langchain/24292f\"\u003e\n      \u003cimg alt=\"Electron logo\" width=\"50px\" src=\"https://cdn.simpleicons.org/langchain.svg\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/span\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003cspan style=\"margin:0px; display:inline-block;\"\u003e\n  \u003ca href=\"https://huggingface.co/\"\u003e\n    \u003cpicture\u003e\n      \u003c!-- Colour specs from https://primer.style/primitives/colors --\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.simpleicons.org/huggingface/c9d1d9\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.simpleicons.org/huggingface/24292f\"\u003e\n      \u003cimg alt=\"Electron logo\" width=\"50px\" src=\"https://cdn.simpleicons.org/huggingface.svg\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/span\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnuahs%2Fsemantic-history-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcnuahs%2Fsemantic-history-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnuahs%2Fsemantic-history-search/lists"}