ROKH
← All recipes

Every customs and shipping paper findable in seconds

parts checkedsmall server

What you get

Scans and email attachments go into one archive that reads them, tags each by supplier, shipment and document type with a local AI model, and answers “where is the certificate of origin for March?”

Why this combination

The AI runs on your own machine through Ollama, so contracts and invoices never go to a cloud service, which is what usually blocks AI in import firms.

Parts

paperless-ngx GitHubDocument archive that OCRs, tags and makes every scan searchable.licence: GPL-3.048,647 starslast update: November 26, 2026
paperless-ai GitHubAdds AI tagging and chat with documents to Paperless-ngx, can use a local model.licence: MIT6,167 starslast update: November 26, 2026
ollama GitHubRuns open language models on your own computer.licence: MIT188,177 starslast update: November 26, 2026

What was checked

On November 26, 2026 a script checked all 3 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.

Nobody has yet run this exact combination end to end on real data. Build it on a copy of your data first; the prompt below asks your AI agent to tell you plainly what does not work.

Limits, honestly

Needs a computer with 16 GB of RAM for the local model; keep paper originals where the law requires them.

How to start

It needs a small always-on computer: an old PC, a Raspberry Pi or a 5-dollar cloud server. Copy the prompt into an AI agent; it sets up the parts with Docker and explains each step.

Prompt for your AI agent

Build this for me: Every customs and shipping paper findable in seconds.
What I want to get: Scans and email attachments go into one archive that reads them, tags each by supplier, shipment and document type with a local AI model, and answers “where is the certificate of origin for March?”

Use these open projects and data:
- paperless-ngx: https://github.com/paperless-ngx/paperless-ngx (GPL-3.0)
- paperless-ai: https://github.com/clusterzx/paperless-ai (MIT)
- ollama: https://github.com/ollama/ollama (MIT)

Why this combination: The AI runs on your own machine through Ollama, so contracts and invoices never go to a cloud service, which is what usually blocks AI in import firms.
Known limits: Needs a computer with 16 GB of RAM for the local model; keep paper originals where the law requires them.

Run it on my computer. Tell me first what you will install and where.
Explain each step in plain words for someone who does not program.
Do not ask me for passwords or keys and do not use administrator rights.
Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first.
When it works, tell me how to open it again. If something does not work, say so plainly.

Fits

Import, export, foreign suppliersAccounting and financeLaw office and contracts