https://github.com/Mozilla-Ocho/Memory-Cache
MemoryCache is an experimental development project to turn a local desktop environment into an on-device AI agent
https://github.com/Mozilla-Ocho/Memory-Cache
artificial-intelligence firefox-addon local-ai
Last synced: 5 months ago
JSON representation
MemoryCache is an experimental development project to turn a local desktop environment into an on-device AI agent
- Host: GitHub
- URL: https://github.com/Mozilla-Ocho/Memory-Cache
- Owner: Mozilla-Ocho
- License: mpl-2.0
- Created: 2023-09-21T16:14:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T16:30:59.000Z (over 1 year ago)
- Last Synced: 2024-11-06T09:06:41.440Z (11 months ago)
- Topics: artificial-intelligence, firefox-addon, local-ai
- Language: JavaScript
- Homepage: https://memorycache.ai/
- Size: 4.27 MB
- Stars: 556
- Watchers: 16
- Forks: 25
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/misslivirose/privateGPT). |
| ---------------------------------------------------------------------------------------------------------------------- |## Prerequisites
1. Set up [privateGPT](https://github.com/imartinez/privateGPT) - either using the primordial checkpoint, or from my fork.
2. Create a symlink between a subdirectory in your default Downloads folder called 'MemoryCache' and a 'MemoryCache' directory created inside of /PrivateGPT/source_documents/MemoryCache
3. Apply patch to Firefox to add the `printerSettings.silentMode` property to the Tabs API. [See wiki page for instructions](https://github.com/Mozilla-Ocho/Memory-Cache/wiki/Modifying-Firefox-to-Save-PDF-files-automagically-to-MemoryCache)
4. Copy /scripts/run_ingest.sh into your privateGPT directory and run it to start `inotifywait` watching your downloads directory for new content## Setting up the Extension
1. Clone the Memory-Cache GitHub repository to your local machine
2. In Firefox, navigate to `about:debugging` and click on 'This Firefox'
3. Click 'Load Temporary Add-on" and open the `extension/manifest.json` file in the MemoryCacheExt directory## Using the Extension
1. Under the 'Extensions' menu, add the Memory Cache extension to the toolbar
2. 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.silentMode` property addition.