Everything you save, organized on your own machine.
Memex reads the notes, links, recipes and files you throw at it, files them, and answers questions about them. The AI runs on your computer. A cloud AI is something you switch on yourself, one key at a time.
Install with Docker View the source
Free, MIT licensed, no account, no telemetry.
- Garlic and olive oil pasta recipe
- Kyoto in spring: temples and gardens place
- Landlord bank details, account number 0012 3456 7890 note
- Router admin, PIN: 4821 note
- Gift ideas for the family note
- Wi-Fi password vault
- Weekly review checklist note
Sample notes, and the same rules the app applies before every cloud call. They are a safety net, not a guarantee: tag anything that must never leave as private, or keep it in the vault.
Save it now, find it later
- Capture
- Paste a link, drop a PDF or a photo, record a voice memo, import Google Keep, or press the bookmarklet in your browser. Saving is instant; the AI does its work in the background and shows how long it will take.
- Organize
- Every item gets a type, categories, tags and a short summary. Movies and books get a shelf with ratings, places get a map link, and the people, authors and cities in your notes become connected entries you can browse. Each item says which AI classified it, and you can redo it with another.
- Ask
- Ask in plain words, such as "which Thai place did I want to try near the harbour?", and get an answer with the notes it came from. Search finds meaning, not just matching words.
Local by default, cloud when you decide
Out of the box Memex uses Ollama on your computer, so nothing is sent anywhere. If you would rather not run a model, you can add a Gemini, OpenAI, Claude or Groq key instead. You can even pick a different one for each job, such as Gemini for Ask and your own computer for everything else.
| On your computer | In the cloud | |
|---|---|---|
| Reads and classifies your notes | Ollama (llama3.2, gemma3) | Gemini, OpenAI, Claude or Groq |
| Powers search and Ask | nomic-embed-text | Gemini or OpenAI embeddings |
| Needs a key and your consent | No | Yes, and it is off until you turn it on |
| Private items | Handled here | Never sent |
| Cost | Free, uses your hardware | Billed by the provider, not by Memex |
The rest of what is in the box
- Weekly digest. A short summary of what you saved, an "on this day" memory, and a connection between two notes you had not linked.
- Rediscovery. Forgotten notes come back to the dashboard instead of sinking.
- Reminders. Attach a date to any item and get a browser notification when it is due.
- Password vault. Encrypted in your browser with a master password that never leaves it.
- Sharing. A public link for one item that expires in a week and can be revoked.
- Obsidian export. Your whole library as Markdown files, whenever you want to leave.
- Backup and restore. One command each. Restore refuses a file that is not a complete backup.
- Sample data. Forty made-up items to look around in, removed with one click.
- History you can undo. Every AI classification is kept, so you can roll one back.
- Installable. Works as an app on your desktop or phone, with cached pages offline.
What stays on your machine, and what does not
What Memex does
- Keeps your notes in a Postgres database you run yourself.
- Listens on your own computer only, by default. Nothing is exposed to your network.
- Sends nothing to a cloud AI unless you add a key, choose it and consent, and never in Strict Local Mode.
- Holds back vault items, items filed under Passwords or Personal, items tagged private, and text that looks like account details.
- Encrypts the vault in your browser. The server only ever sees ciphertext.
What it does not
- It does not encrypt the rest of your database or your backups. Use disk encryption and keep backups private.
- It has one account and is not built for sharing a server with other people.
- A cloud AI you enable does see what you send it. The guard above reduces that; it cannot promise it.
- It cannot recover a lost vault password. That is what makes the vault private.
Install it in a few minutes
You need Docker and nothing else. The first build takes a few minutes.
git clone https://github.com/jagdeepvirdi/memex.git && cd memex
cp .env.example .env # set JWT_SECRET: the file shows how to make one
docker compose up -d
Then open http://localhost:3002, create your account, and choose local AI or paste a cloud key. Settings has a button that loads sample data so you can look around first.
Tested on Windows with Docker Desktop. macOS and Linux use standard Docker features but have not been tried yet; if you try one, please tell us what you find.