Memory-Cache
Memory-Cache copied to clipboard
MemoryCache is an experimental development project to turn a local desktop environment into an on-device AI agent
Memory Cache
Memory Cache is a project that allows you to save a webpage while you're browsing in Firefox as a PDF, and save it to a synchronized folder that can be used in conjunction with privateGPT to augment a local language model.
| ⚠️: This setup uses the primordial version of privateGPT. I'm working from a fork that can be found here. |
|---|
Prerequisites
- Set up privateGPT - either using the primordial checkpoint, or from my fork.
- Create a symlink between a subdirectory in your default Downloads folder called 'MemoryCache' and a 'MemoryCache' directory created inside of /PrivateGPT/source_documents/MemoryCache
- Apply patch to Firefox to add the
printerSettings.silentModeproperty to the Tabs API. See wiki page for instructions - Copy /scripts/run_ingest.sh into your privateGPT directory and run it to start
inotifywaitwatching your downloads directory for new content
Setting up the Extension
- Clone the Memory-Cache GitHub repository to your local machine
- In Firefox, navigate to
about:debuggingand click on 'This Firefox' - Click 'Load Temporary Add-on" and open the
extension/manifest.jsonfile in the MemoryCacheExt directory
Using the Extension
- Under the 'Extensions' menu, add the Memory Cache extension to the toolbar
- When you want to save a page to your Memory Cache, click the icon and select the 'Save' button. This will save the file silently as a PDF if you are using a Firefox build with the
printerSettings.silentModeproperty addition.