# BookDetective

## Start here

Try a fictional title by hand in the live app, then read the repeat-import test. [View the project page](bookdetective.html).

## Why I built it

I wanted one shelf for books I enter by hand and reading notes I can keep in my browser, with an optional Kindle import.

## How I tested it

With fictional files, I imported the same title twice and then tried an unrecognized folder. The live behavior could mark books Not seen even though the folder did not prove they were missing.

**Status:** Live app; import fix in progress.

## What it does

I built a browser reading shelf with manual entry, notes and a metadata import. It uses select Kindle sidecar paths rather than reading ebook contents. Shelves and notes are stored in the browser. An optional ISBN lookup sends the entered ISBN to Open Library.

## What went wrong

A manually added title could get a Kindle ID on the first import and still be marked Not seen when I imported the same folder a second time. A folder with no recognized metadata also changed labels on unrelated books. I reproduced both in an isolated test using fictional data, not a real Kindle.

## What I’m changing

I drafted a fix that makes imports add or update titles without treating an incomplete folder as proof another book is missing. The draft also uses a native button for the folder picker. In isolated tests the repeat import kept one record with its Reading shelf and note. The fix is not deployed; keyboard, picker and device behavior still need testing.

## Try it without personal data

Open the live app and add a fictional title by hand. The public app is available; the Kindle import workflow has not been verified on a physical device.

[Live app](https://bookdetective.onrender.com/) · [Public source](https://github.com/budmaster420710-jpg/bookdetective)
