Skip to content

archangel0x01/oa-coder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OA Coder

OA Coder is an Electron application that captures screenshots and leverages the OpenAI API to analyze them. It can solve questions, generate code, or provide detailed answers based on screenshots. The app supports both single screenshot processing and multi-page mode for capturing multiple images before analysis.

Features

  • Screenshot Capture: Use global keyboard shortcuts to capture the screen.
  • OpenAI Integration: Send captured screenshots to OpenAI's chat API for automated analysis.
  • Multi-Page Mode: Combine multiple screenshots for questions spanning several pages.
  • Customizable UI: Transparent, always-on-top window with an instruction banner and markdown-rendered responses.
  • Global Shortcuts: Easily control the application using keyboard shortcuts.

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/archangel0x01/oa-coder.git
    cd oa-coder
    
  2. Install the dependencies:

    npm install
    
  3. Configure the application: Create a config.json file in the project root with your OpenAI API key and (optionally) your desired model. For example:

    {
      "apiKey": "YOUR_OPENAI_API_KEY",
      "model": "gpt-4o-mini"
    }
    
  • Note: If the model field is omitted, the application defaults to "gpt-4o-mini".

Usage

  1. Start the Application: Run the following command to launch OA Coder:

    npm start
    
  2. Global Keyboard Shortcuts:

    • Ctrl+Shift+S: Capture a screenshot and process it immediately. In multi-page mode, this shortcut finalizes the session and sends all captured screenshots for processing.
    • Ctrl+Shift+A: Capture an additional screenshot in multi-page mode. The instruction banner will remind you of the mode and available shortcuts.
    • Ctrl+Shift+R: Reset the current process, clearing all captured screenshots and any displayed results.
    • Ctrl+Shift+Q: Close the running process, clearing all captured screenshot.

Status

This program is still under development. Some features may not be fully implemented, and there might be bugs or incomplete functionality. Your feedback and contributions are welcome as we work towards a more stable release.

Personal Thoughts: Inspired by interviewcoder.co but didn't like the idea of gatekeeping cheating softwares behind paywalls. Like you're literally cheating wtf man? And this might help incompetent software engineers join the company and eat it from the inside forcing companies to realise that Leetcode isn't the only way people should get hired and there are other alternative ways to assess a candidate's abilities.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published