A web application that allows users to capture images using a mobile camera and perform OCR (Optical Character Recognition) using AI through OpenRouter API.
- Mobile camera integration (optimized for iOS)
- OCR processing using OpenRouter AI API (google/gemini-2.0-flash)
- User authentication (username/password)
- Cross-device text sharing
- Admin account for management
- Node.js (v14+)
- MongoDB
- Clone the repository
- Install dependencies:
npm install cd client && npm install cd ../server && npm install - Configure environment variables in
.envfiles - Start development servers:
# Start backend server cd server && npm start # Start frontend development server cd client && npm start
Create .env files in the server directory with the following variables:
PORT=5000
MONGODB_URI=mongodb://localhost:27017/camera-ocr-app
JWT_SECRET=your_jwt_secret
OPENROUTER_API_KEY=your_openrouter_api_key
- Access the web application on your mobile device
- Log in with your credentials
- Capture images using the camera
- View the OCR-processed text
- Copy the text on any of your devices