Memex

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.

Where does each note go?
  • 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.

Local and cloud AI compared
On your computerIn the cloud
Reads and classifies your notesOllama (llama3.2, gemma3)Gemini, OpenAI, Claude or Groq
Powers search and Asknomic-embed-textGemini or OpenAI embeddings
Needs a key and your consentNoYes, and it is off until you turn it on
Private itemsHandled hereNever sent
CostFree, uses your hardwareBilled by the provider, not by Memex

The rest of what is in the box

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.

Read the full security notes

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.