Files
indexipro/README.md
T
juli 8ba66eab34 Limit AI questions and research depth so thousands of items scale
- Settings: question mode (needed / valuable only / never), value
  threshold, max questions per item, value from which to research deeply
- ask_humans enforces the limits server-side and tells the AI to finish
- Skip - don't ask again (web, Questions page, Android To-do), Dismiss all,
  Allow questions again per item
- App 1.3.0
2026-11-12 19:26:28 +01:00

17 KiB

IndexiPro logo

IndexiPro

Photograph everything. Your AI does the research.

IndexiPro helps a group of non-experts catalogue a large, mixed collection of physical things quickly — a household, an attic, a shop's stock, a club archive, a storage unit. Furniture, books, vinyl records, CDs, stamps, coins, art, silver, tools, electronics, boxes of who-knows-what: it all goes in the same way.

  • The team (each with their own account) only takes photos with their phones and optionally adds a note, a location and a quantity.
  • The AI — your own Claude or ChatGPT subscription, connected over MCP — does the heavy lifting. It researches each item in depth and verifies its identification against several sources. It picks the category and fills in the details that matter for that kind of thing (ISBN and edition for books, the exact pressing for records and CDs via Discogs — catalogue number, matrix/runout, label, country — catalogue number for stamps, hallmarks for silver, dimensions for furniture…), writes research notes on what it checked and what is still uncertain, and triages the item.
  • After every run the AI writes an honest report: what it found, what it couldn't determine, and what needs more information. It reports in the chat and on the AI reports page.
  • Anyone else (relatives, a buyer, an appraiser) can get a read-only share link — no account, no password, no app.

Value indications are available but deliberately low-key: the AI only adds them when there's real evidence (comparable sold prices), and the app leads with the catalogue, not the money.

 phones (Android app / any browser)        web app (this server)              your AI subscription
 ┌───────────────────────────┐   photos   ┌──────────────────────┐   MCP    ┌───────────────────────┐
 │ scan QR → account → shoot │ ─────────▶ │ catalogue, search,   │ ◀──────▶ │ research & verify,     │
 │ offline queue, to-do list │ ◀───────── │ photos, reports      │          │ document, ask humans,  │
 └───────────────────────────┘ questions  └──────────────────────┘          │ report back honestly   │
                                                   │ read-only links         └───────────────────────┘
                                                   ▼
                                           anyone you share with

Features

Web app — dashboard (progress, latest AI report, highlights, triage, team leaderboard, activity feed), full-text search across everything including custom fields, filters (status / tier / category / location), bulk edits, merging duplicates, CSV export, printable QR sticker labels, research notes, comparable sales, and optional copy-ready sales listings.

Custom fields — every item has free-form fields on top of the standard ones. The AI picks the right fields per category and reuses the names already in use (the field_conventions tool), so all books get author / publisher / isbn / edition, all records get artist / label / catalogue_number / matrix_runout / media_grade / sleeve_grade, and all stamps get country / catalogue / catalogue_number. Custom fields are searchable, editable in the web app, and become columns in the CSV export.

Android app — QR sign-up and sign-in, a big camera button, several photos per item, gallery import, sticky location with recent-location chips, quantity, and a note. Uploads go through a durable offline queue (attics and cellars have bad signal) that retries in the background. My items shows what the AI made of your photos. To-do shows the AI's questions ("please photograph the hallmark") with a one-tap photo or answer reply. The app checks the server for updates and shows a download banner.

Browser capture — iPhones, or anyone without the app, can scan the same QR code and add items from the browser.

Triage tiers — notable (rare, special or significant — worth a closer look), sell, lot (handle together with similar items), keep (personal or sentimental), donate, discard.

Statuses — new (waiting for AI) → identified → needs_info (AI asked the team) → reviewed → listed → sold / kept / disposed.

Quick start

cp .env.example .env        # set PUBLIC_URL, ADMIN_PASSWORD, COLLECTION_NAME, CURRENCY
docker compose up -d --build

Open PUBLIC_URL (or http://<server-ip>:8080) and sign in as admin with ADMIN_PASSWORD (min. 6 characters). If you leave it empty, a password is generated and printed once in docker compose logs. Change it under My account. All data, the database and the photos, lives in ./data. Back up that folder.

Without Docker: Node 22+, then cd server && npm install && ADMIN_PASSWORD=… npm start.

Making it reachable

Phones on the same wifi can use http://<server-ip>:8080. But Claude.ai and ChatGPT connect from the internet, so the server needs a public https address. The easiest options:

  • Cloudflare Tunnel (free, no open ports): create a tunnel in the Cloudflare Zero Trust dashboard, point a hostname at http://indexipro:8080, put the token in .env as CLOUDFLARE_TUNNEL_TOKEN, then run docker compose --profile tunnel up -d.
  • Tailscale Funnel: tailscale funnel 8080.
  • Any reverse proxy with TLS (Caddy, Traefik, nginx).

Set PUBLIC_URL to that address so QR codes and AI connector addresses use it.

Accounts and access

Who How they get in Can
Admin username + password everything: team accounts, share links, settings, delete
Editor username + password; created by scanning the join QR, or added by an admin add, edit and research items, answer AI questions, create their own AI keys
Share link a read-only link, no account look around; value indications can be hidden per link
AI a personal API key per AI account read photos, fill in data, research, report; every change is logged as e.g. AI (Sam's Claude)

Admins can add people directly (a temporary password is generated), reset passwords, change roles and disable accounts. Disabling an account instantly signs out that person's phones and revokes their AI keys.

Getting started

  1. Team: an admin opens Team & sharing and shows the join QR code (there's a fullscreen button). Helpers point their phone camera at it and tap the link. On Android they install the app and tap Open in the app; on an iPhone or without the app they stay in the browser. They enter their name and choose a password, which creates their account. Join codes last 12 hours and can be stopped at any time. To add a second phone for the same person: My account → Pair a phone shows a personal, single-use QR code.
  2. Sharing: on the same page, under Read-only share links, type who the link is for and click Create link. The link is copied to the clipboard. Untick show values to hide value indications for that link, and switch a link off whenever you like.
  3. AI (anyone on the team; no technical knowledge needed): open Connect AI.
    • Once: click Make my connection. You get a server URL (https://<your-server>/mcp) and a private API token. Add an MCP server named IndexiPro in your AI app with that URL and the token as Authorization: Bearer <token>. For apps that only have a URL field, the page also shows a one-address version with the token inside the URL. No login or other settings are needed, and the page shows "last used" once the AI has really connected. Codex / ChatGPT desktop: put the token under Headers (Authorization → Bearer <token>), and leave "Bearer token env var" empty. That field wants the name of an environment variable, not the token.
    • Every time after that: click 🤖 Start AI research, copy the start message, paste it into a new chat and send. The message contains no secret. The AI reports back when it's done; say "continue" for the next batch.
    • Developers: it's a standard Streamable-HTTP MCP server; Claude Code: claude mcp add --transport http indexipro <address>.

Set the collection's country / region under Settings (or REGION in .env). The AI researches internationally, because prices differ a lot between platforms and countries; in the Netherlands, for example, eBay.de and Marktplaats often say more than eBay.nl. It gives the local market extra weight and notes which market each comparable comes from. You can also put extra instructions for the AI under Settings → Extra guidance (e.g. "Paperbacks can be grouped as lots."). They're sent to the AI with every connection.

Tip: write the item number shown after saving (e.g. #142) on a piece of masking tape on the object, or print QR labels from the browse page (Select → Print labels). Then a request from the AI like "please photograph the underside of #142" is easy to act on.

How the AI works

By default the AI does deep research on every item:

  1. It reads every label and mark, zooming in on photos at full resolution.
  2. It verifies its identification against several independent sources (maker and museum references, collector catalogues, specialist forums, auction archives) and pins down the exact model, edition or variant.
  3. It records what it checked in research notes, together with an honest confidence level.
  4. It is free to research however it sees fit: web and image search, maker archives, museum collections, collector databases, forums, auction archives, and marketplaces in any country. The goal is that people understand what they're looking at. Where there's evidence, it adds a value indication backed by comparable sales from several markets.
  5. When the photos aren't enough, it asks the team one simple question.
  6. At the end of a run, or whenever it has to stop, it calls submit_run_report and writes the same report in the chat: what it found per item, what it is confident about, what it couldn't determine, what needs more info or an expert, and anything that went wrong.

Keeping it manageable with thousands of items

Under Settings → AI questions & research depth:

Setting Effect
Questions to the team Ask when really needed / Only for valuable or notable items / Never ask
"Valuable" means at least the value threshold for the option above
Max questions per item default 1. After that the AI finishes the item with what it has.
Deep research only from below this estimated value the AI does a quick identification and moves on (0 = deep research for everything)

The server enforces these limits: ask_humans refuses requests that break them, and its refusal tells the AI to finish the item and note what is uncertain. Every item the AI sees says whether it may ask about it.

Every question also has Skip — don't ask again: on the item page, on the Questions page and in the app's To-do tab. The Questions page has Dismiss all. A skipped item is marked identified (or goes back to the AI once if it wasn't identified yet), and the AI won't ask about it again unless someone clicks Allow questions again on the item.

MCP tools

Tool What the AI uses it for
collection_overview counts, progress, what's waiting
field_conventions categories and custom field names already in use, to stay consistent
next_items_to_identify the next unprocessed items with photos and notes from the team
get_item, get_photo the full record; one photo at full resolution to read marks and labels
list_items, search_items filtering and full-text search (duplicates, sets, related items)
update_item title, category, maker, year, condition, custom attributes, research notes, confidence, tier, optional value range
bulk_update triaging many items at once
add_comparables recording the reference or sold listings it found as evidence
ask_humans putting a question on the team's to-do list (the item returns to the queue when answered)
submit_run_report the honest end-of-run report, shown on AI reports and on the dashboard
save_listing storing a ready-to-paste sales listing, when asked
merge_items combining duplicates
research_links starting points grouped by purpose: identification (image search, Wikipedia, museum collections, forums), category databases (AbeBooks, Discogs, Colnect, Numista, Chrono24, BoardGameGeek…), auction archives, eBay sold listings in 10 countries, and regional marketplaces (Marktplaats, 2dehands, Kleinanzeigen, Leboncoin, Subito, Wallapop, Tradera, Willhaben, Allegro, Vinted, Etsy…). The AI is free to use any other source too.
search_ebay optional extra: live eBay listings via the official API, only when EBAY_CLIENT_ID and EBAY_CLIENT_SECRET are set

Two prompts, catalogue_batch and write_listings, are included too. The server is a standard stateless Streamable-HTTP MCP endpoint at /mcp/<key>, or at /mcp with Authorization: Bearer <key>.

Security notes

  • Passwords are stored as scrypt hashes, and repeated wrong logins are throttled.
  • Each AI connection is personal, stored hashed, and its address is shown only once. Anyone who has the address can read and edit the collection; if it leaks, remove it on Connect AI and make a new one. The everyday "Start AI research" message never contains it.
  • Share links are read-only: the server refuses all write requests. They can be revoked at any time. Hiding values strips them from every API response for that link, not just from the UI.
  • Phone tokens are stored hashed on the server. Signing out a phone, or disabling its owner, takes effect immediately.

Android app: updates and releases

The app updates itself from the server it's paired with. When the server offers a newer version, a banner appears (there's also ⋮ → Check for updates). Tapping Update downloads the APK, verifies its SHA-256 checksum against the server's metadata, and opens Android's installer. The first time, Android asks to allow IndexiPro to install apps. Updates only install over a copy signed with the same key.

The server offers the current APK at two addresses: /download/indexipro.apk (always the latest) and /download/IndexiPro-<version>.apk.

Making a release:

cd android
# 1. bump versionCode and versionName in app/build.gradle.kts, commit
# 2. build, commit the web-app copy, tag v<version>, push, create the Gitea release:
GITEA_TOKEN_FILE=/path/to/token ./release.sh [release-notes.md]

Every release gets the tag v<versionName> and the asset IndexiPro-<versionName>.apk, so the download URL is predictable:

https://git.autisme.monster/juli/indexipro/releases/download/v<version>/IndexiPro-<version>.apk

For F-Droid metadata: point at the versioned release asset, not at the fixed server/public/download/indexipro.apk path in the source tree. For example Binaries: https://git.autisme.monster/juli/indexipro/releases/download/v%v/IndexiPro-%v.apk with UpdateCheckMode: Tags. Then auto-update picks up each new version on its own.

To only build (no tag or release): ./build-and-publish.sh. It updates the web-app copy and writes android/dist/IndexiPro-<version>.apk.

Release signing uses android/keystore.properties and android/indexipro-release.jks. These are not committed — keep a backup, because without the same key Android refuses updates to copies that are already installed. Without them the build falls back to the debug key. Building requires JDK 17 and the Android SDK (local.properties).

Development

cd server
npm install
npm test                                     # end-to-end test: accounts, pairing, uploads, MCP keys, reports, share links
node scripts/seed-demo.js http://localhost:8080 <admin-password>   # demo items + a demo report
node scripts/render-icons.js                 # re-render favicons + Android icons from branding/

Stack: Node 22, Express, SQLite (better-sqlite3, FTS5 search), sharp for images, the official MCP TypeScript SDK; plain HTML/JS front-end without a build step; Kotlin + Jetpack Compose, OkHttp, WorkManager and ZXing for Android.