Skip to content

jeremy-feng/codeocr

Repository files navigation

CodeOCR

Convert code screenshots to copyable text using AI.

Usage Demo 1

Usage Demo 2

Features

🔧 Custom OpenAI-compatible API - Support for various OpenAI-compatible APIs

📡 Real-time streaming output - Live code extraction with progress feedback

🌍 Multi-language interface - English, Chinese, and Japanese support

Development & Deployment

Quick Start

  1. Clone the repository

    git clone https://github.com/jeremy-feng/codeocr.git
    cd codeocr
  2. Backend Setup

    cd backend
    uv sync
    uv run main.py
  3. Frontend Setup

    cd frontend
    pnpm install
    pnpm dev

Docker Deployment

  1. Configure environment variables

    cd frontend
    cp .env.example .env
    # Edit .env to set your environment variables
  2. Deploy with Docker Compose

    docker compose up -d

License

MIT License.

About

Convert code screenshots to copyable text using AI.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •