Loading repository data…
Loading repository data…
memex-life / repository
Your second brain for the web browsing. An AI powered Chrome extension that constructs personal knowledge base for you.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Your second brain for web browsing. Picture possessing the ultimate ability of total recall.
This project aims to create a browser extension that acts like a personal memex machine. It will keep track of everything you browse online to build your own knowledge base. Then it will use AI to retrieve that knowledge whenever you need it.
What is a Memex?
Consider a future device for individual use, which is a sort of mechanized private file and library. It needs a name, and, to coin one at random, “memex” will do. A memex is a device in which an individual stores all his books, records, and communications, and which is mechanized so that it may be consulted with exceeding speed and flexibility. It is an enlarged intimate supplement to his memory.
--- “As We May Think” Vannevar Bush (1945)
When you browse the web, this extension will inject a script to capture the text content on the pages you visit. It will send that content to the backend service-worker for processing The service-worker will break the content into pieces and store it in a database. The popup page acts as a chat interface to answer your questions using the information in the database.
Build extension files into dist/ folder
npm install
npm run build # or npm run watch
Currently the LangchainJs has not yet support browser runtime. The extension still needs a backend server as Knowledge Base implementaion.
set environments:
export TOKENIZERS_PARALLELISM=false
export OPENAI_API_KEY=<your-api-key>
cd server
FLASK_APP=server flask run
Once you have completed the above steps, you can start using the Memex browser extension to enhance your web browsing experience.