Build your own CamScanner with Claude Code
A document scanner: snap a document, auto-crop and straighten, black and white filters and more.
The Claude Code prompt
Build my own take on CamScanner: a document scanner. Give it an original name, logo, colours and copy, and do not use CamScanner's name, branding or assets. Version one should have: - Snap a document - Auto-crop and straighten - Black and white filters - Text recognition - Export as PDF The hard part: Edge detection. Use OpenCV.js. How to build it: 1. Read this folder first. If it is empty, set up Next.js (App Router, TypeScript, Tailwind) with Postgres through Prisma or Supabase, and Supabase Auth or Auth.js for sign-in. Write a short PLAN.md with the data model, screens, third-party services and what you are leaving out of version one. 2. Build the core loop end to end before anything else: snap a document, working with real data saved to the database. 3. Add the rest of the features one at a time, and seed realistic demo data so every screen looks alive. 4. Keep API keys in environment variables, and put any paid service behind a small interface with a local stub, so the app runs on a fresh machine without accounts. 5. Run it, click through every screen on desktop and mobile widths, fix what breaks, and finish with a summary of what works, what is stubbed and how to deploy it.
Paste it into Claude Code in an empty folder. It plans first, so read PLAN.md and steer before it starts building.
Version one
- Snap a document
- Auto-crop and straighten
- Black and white filters
- Text recognition
- Export as PDF
The hard part
Edge detection. Use OpenCV.js.
Make it yours: a niche CamScanner ignores, an original name and brand, and one feature it does badly done well.
More to build
- Your own Google Drive
Cloud file storage: upload files and folders, previews for images, PDFs and video, share links with permissions and more.
- Your own Opal
A screen time and app blocker: block apps and sites on a schedule, focus sessions, screen time reports and more.
- Your own Vivino
A wine label scanner and rating app: scan a label, ratings and reviews, price comparison and more.
- Your own ReciMe
A recipe saver from social media: save recipes from links and videos, extract ingredients and steps with AI, meal planner and more.
- Your own 1Password
A password manager: encrypted vault, generate passwords, browser autofill extension and more.
- Your own Dropbox
File sync and sharing: upload and sync folders, share links, version history and more.