[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114519":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":29,"discoverSource":30},114519,"claude-photo-sorter","kairothq\u002Fclaude-photo-sorter","kairothq","Point Claude at your camera roll: it sorts photos and videos into folders, finds duplicates, and plays it back on a live localhost dashboard.",null,"Python",519,96,2,1,0,11,130,208,61,99.93,"MIT License",false,"main",[],"2026-11-14 09:34:54","2026-11-23 20:14:08","# Claude photo sorter\n\nPoint Claude at your camera roll. It looks at every photo and video, sorts them into folders, finds your duplicates, and you watch it happen on a live dashboard on your own laptop.\n\n![The dashboard sorting a camera roll](docs\u002Fpreview.gif)\n\n\u003Csub>The demo above uses drawn placeholder images, not real photos.\u003C\u002Fsub>\n\n- **Sorts photos and videos** into folders like Selfies, Food, Travel, Screenshots, Talking heads and Screen recordings. Use the standard folders or make your own.\n- **Finds duplicates**: identical copies, burst shots and re-saved screenshots go to a `_Review` folder, with a list of which copy was kept.\n- **Never touches your originals.** It only reads them and makes sorted copies. On a Mac the copies take no extra space.\n- **Runs on your computer.** Your photos are not uploaded anywhere.\n\n## Start here (no coding needed)\n\nYou need a Mac and a Claude plan. Windows and Linux work too, with a few less conveniences.\n\n**1. Install Claude Code** from [claude.com\u002Fclaude-code](https:\u002F\u002Fclaude.com\u002Fclaude-code). Then open the **Terminal** app (press `⌘ Space`, type *Terminal*, press Enter), type `claude` and press Enter.\n\n**2. Paste this to Claude:**\n\n```\nSet up and open https:\u002F\u002Fgithub.com\u002Fkairothq\u002Fclaude-photo-sorter\n```\n\nClaude downloads it, sets it up and opens the dashboard in your browser.\n\n**3. In the dashboard:**\n\n1. **Choose folder**: pick the folder with your photos (a Google Photos or Apple Photos export, or any folder).\n2. Pick where the sorted copies should go. The default is right next to your photos.\n3. Press **Start sorting**.\n\nIt shows how long it usually takes, then sorts on its own while you watch every photo fly into its folder. About 4 minutes for 1,000 photos.\n\n\u003Cdetails>\n\u003Csummary>Don't have your photos on your computer yet?\u003C\u002Fsummary>\n\n- **Google Photos:** go to [takeout.google.com](https:\u002F\u002Ftakeout.google.com), select only Google Photos, download, and unzip everything into one folder.\n- **iPhone or Apple Photos:** in Photos on your Mac, select all, then File > Export > Export Unmodified Originals, into a new folder.\n\u003C\u002Fdetails>\n\n## Using it again\n\nThe dashboard lives at **http:\u002F\u002F127.0.0.1:8765** while it's running. To open it again later, either:\n\n- double-click **Open Photo Sorter.command** in the `claude-photo-sorter` folder (it's in your home folder), or\n- tell Claude \"open my photo sorter\".\n\nPress **New sort** to sort a different folder, or send the copies somewhere else.\n\n## The dashboard\n\n| | |\n|---|---|\n| **Sort with Claude** | Before sorting: asks for anything missing, then starts. After sorting: replays the animation (good for screen recording). Add `?d=20` to the address for a slower take. |\n| **New sort** | Pick a new photos folder and a new place for the copies. |\n| **Advanced** (in the setup card) | See the folders that will be made, remove any, or press **+** to add your own. Choose Claude or Jev. Try 200 photos first. |\n| **Click a folder** | Browse everything in it. Click a photo to see it full size, flip with the arrow keys, and **Move to** another folder if it's wrong. |\n| **Edit folders** | Rename folders and describe what goes in each. |\n| **Open sorted folder** | Opens the result in Finder. |\n| ☀ \u002F ☾ | Light or dark. |\n\nWant a look without your own photos? Run `.\u002Fstart.sh --demo`.\n\n## How it works\n\n1. **Scan**: makes a small preview of every file and a fingerprint to spot copies. Your originals are only read.\n2. **Duplicates**: compares fingerprints, plus a pixel check for screenshots so similar app screens aren't mistaken for copies.\n3. **Labels**: runs Claude Code in the background (`claude -p`), four at a time, each looking at about 90 previews and picking a folder for each. This uses your Claude plan and needs no API key.\n4. **Folders**: copies each file into its folder, and duplicates into `_Review\u002Fduplicates`. Writes `sorted.csv` and `duplicates.csv`.\n\n### Claude or Jev?\n\n| | Claude (default) | Jev (Advanced, optional) |\n|---|---|---|\n| What | Claude Code reads contact sheets of 30 previews | [TypeSafe's](https:\u002F\u002Ftypesafe.ai) Jev 1.14 image model, one question per file |\n| Cost | Included in your Claude plan | Billed per file, about 980 tokens each. Shows an estimate and asks first |\n| Speed | About a minute per 1,000 files | About 75 seconds per 1,000 files |\n| Setup | Nothing | Put `JEV_KEY=your-key` in a `.env` file in this folder |\n\n## Privacy\n\n- The dashboard only listens on `127.0.0.1`, so nothing else on your network can reach it.\n- Previews, labels and the file list stay in `dashboard\u002Fdata\u002F` and `work\u002F`, which are never committed.\n- With Claude, the small previews are read by Claude Code the same way as anything else you share with it. With Jev, a 280px preview of each file goes to TypeSafe's API. Originals never leave your computer.\n\n## Running it by hand\n\n```bash\n.\u002Fsetup.sh          # once: Python packages into .venv\u002F\n.\u002Fstart.sh          # opens http:\u002F\u002F127.0.0.1:8765\n```\n\nEvery step is also a script in `scripts\u002F` (`scan.py`, `dupes.py`, `label_claude.py`, `label_jev.py`, `apply.py`). Agents read `CLAUDE.md` (or `AGENTS.md`) for the full playbook. Needs Python 3.9+, and ffmpeg for video previews (`brew install ffmpeg`).\n\n## License\n\nMIT\n","这是一个基于 Claude AI 的本地照片与视频智能分类工具，运行在用户本机，不上传数据。它自动识别照片内容（如自拍、美食、旅行、截图等），按语义类别归档；支持检测重复文件、连拍照片及重保存的截图，并将待审核项移入专用文件夹。项目采用 Python 实现，集成轻量级 Web 仪表盘（localhost:8765），实时可视化分类过程，全程只读取原始文件并生成硬链接或副本，保障隐私与原图安全。适用于个人相册整理、手机照片导出后自动化归档、数字资产管理等本地化、隐私敏感场景。","2026-11-24 04:48:51","CREATED_QUERY"]