A Chrome extension that helps you remember and search through web pages and tweets using semantic search. Built with modern web technologies and powered by AI.
- Remember web pages and tweets with a single click
- Semantic search through your saved content
- Keyboard shortcuts for quick access
- Debug panel for understanding search results
- Modern, clean interface
- Support for both text-based and semantic search
- Automatic content extraction and summarization
- Persistent storage of your memories
- Clone this repository
git clone https://github.com/siddharthborah/memory.git
cd memory
- Install dependencies
npm install
- Build the extension
npm run build
The build process will automatically:
- Copy required WebAssembly (WASM) files from the transformers package
- Bundle all assets and dependencies
- Create the distribution in the
dist
directory
- Load the extension in Chrome
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the
dist
directory
npm run build
: Build the extension (automatically handles WASM files)npm run watch
: Build and watch for changesnpm run clean
: Clean the build directory
- Click the extension icon to open the popup
- Use
⌘M
(Mac) orCtrl+M
(Windows) to remember the current page - Use
⌘J
(Mac) orCtrl+J
(Windows) to view your memories - Search through your memories using text or semantic search
- Right-click on any page to remember it
- On Twitter, right-click to remember specific tweets
The extension uses:
- Semantic search powered by MiniLM-L6-v2
- WebAssembly (WASM) for efficient model inference
- Uses ONNX Runtime for model execution
- Automatically bundles required WASM files during build
- Chrome Storage API for persistence
- Webpack for bundling
- Transformers.js for AI model inference
- Readability.js for content extraction
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
If you encounter any issues with the build:
- Make sure all dependencies are installed:
npm install
- Check that the WASM files are present in the root directory after building
- If WASM files are missing, you can manually copy them:
node copy-wasm.js
MIT