Skip to content

Repository files navigation

Cluely Clone (1 to 1 recreation of cluely.com)

An invisible AI co-pilot that reads your screen and listens to conversations to provide intelligent, context-aware assistance during meetings, interviews, and technical discussions.

πŸ“– The Story Behind This Project

This project was born from my research into cluely.com and their founder Roy Lee. After discovering that Cluely's system prompts for both personal use and enterprise had been leaked, I realized their application was essentially a glorified ChatGPT wrapper with a sophisticated system prompt.

During my research on Roy Lee, I discovered an interesting connection: he was reportedly kicked out of Columbia University for creating an "Interview Coder" application - essentially the same concept as Cluely, but specifically designed to help cheat on coding interviews. This revelation led me to search for the original Interview Coder project.

To my surprise, I found that Interview Coder had been an open-source, free-to-use project months ago before it was taken down. I downloaded the source code and decided to recreate Cluely based directly on that foundation, maintaining the free-to-use philosophy while requiring users to provide their own OpenAI API keys.

This project is a direct recreation of Cluely's functionality, built on the ethical foundation of the original Interview Coder project, and enhanced with modern AI capabilities.

⚠️ IMPORTANT DISCLAIMER

🚨 THIS APPLICATION IS FOR FUN AND EDUCATIONAL PURPOSES ONLY! 🚨

This project was created purely for fun, learning, and as a technical exercise. It is NOT intended for:

  • ❌ Cheating on interviews, exams, or assessments
  • ❌ Academic dishonesty
  • ❌ Professional misconduct
  • ❌ Any form of deception or fraud
  • ❌ Commercial use or profit

Please use this application responsibly and ethically. The developers are not responsible for any misuse of this software. This is simply a fun weekend project to explore AI capabilities and recreate interesting technology.


🎯 What is Cluely Copilot?

Cluely Copilot is an invisible desktop application that combines:

  • Real-time audio transcription using OpenAI Whisper
  • Screen content analysis using OCR and AI vision
  • Intelligent AI responses using the Cluely system prompt
  • Invisible operation that bypasses most screen recording software

πŸš€ Key Features

🎀 Audio Intelligence

  • Real-time microphone recording and transcription
  • Automatic speaker detection and conversation analysis
  • Context-aware question detection and response generation

πŸ–₯️ Screen Intelligence

  • Continuous screen content extraction using OCR
  • Visual context understanding and analysis
  • Integration with audio context for comprehensive assistance

πŸ€– AI-Powered Assistance

  • Question Answering: Direct answers to questions asked in meetings
  • Term Definitions: Automatic explanation of technical terms and concepts
  • Follow-up Suggestions: Intelligent conversation advancement prompts
  • Screen Problem Solving: Analysis and solutions for visible problems

πŸ‘» Invisibility Features

The application is invisible to:

  • Zoom versions below 6.1.6 (inclusive)
  • All browser-based screen recording software
  • All versions of Discord
  • Mac OS screenshot functionality (Command + Shift + 3/4)

Note: The application is NOT invisible to:

  • Zoom versions 6.1.6 and above
  • Mac OS native screen recording (Command + Shift + 5)

⌨️ Global Commands

  • Toggle Copilot: ⌘ + Shift + K - Activate/deactivate the AI copilot
  • Toggle Window: ⌘ + B - Show/hide the application window
  • Move Window: ⌘ + Arrow Keys - Reposition the window
  • Take Screenshot: ⌘ + H - Capture screen for analysis
  • Process Screenshots: ⌘ + Enter - Analyze captured screenshots
  • Reset View: ⌘ + R - Reset to initial state

🎯 Use Cases

1. Technical Interviews

  • Original Interview Coder functionality: Capture coding problems and get AI-generated solutions
  • Enhanced with copilot: Real-time assistance during live coding sessions

2. Business Meetings

  • Term Definitions: Automatically explain technical terms mentioned
  • Follow-up Questions: Generate relevant questions to advance discussions
  • Action Items: Help identify and track meeting action items

3. Technical Discussions

  • Code Reviews: Analyze code on screen and provide feedback
  • Architecture Discussions: Explain technical concepts and patterns
  • Problem Solving: Assist with debugging and technical challenges

4. Learning & Training

  • Real-time Explanations: Get instant explanations of concepts
  • Context-Aware Help: Assistance based on current screen content
  • Knowledge Reinforcement: Automatic definition of technical terms

πŸ› οΈ Technical Architecture

Core Components

  • AudioHelper: Real-time audio recording and Whisper transcription
  • OCRHelper: Screen text extraction using Tesseract.js
  • CluelyAIHelper: AI processing using the Cluely system prompt
  • WindowHelper: Invisible window management
  • ScreenshotHelper: Screen capture and management

AI Processing Pipeline

  1. Audio Capture β†’ Whisper transcription β†’ Context analysis
  2. Screen Capture β†’ OCR text extraction β†’ Visual context
  3. AI Analysis β†’ Cluely prompt processing β†’ Intelligent response
  4. Response Display β†’ Contextual UI β†’ User interaction

Privacy & Security

  • Local-First: All processing happens locally when possible
  • Secure Storage: API keys stored securely using electron-store
  • No Persistent Logging: Audio and screen data not permanently stored
  • User Control: Complete control over when copilot is active

πŸ“‹ Prerequisites

  • Node.js (v16 or higher)
  • npm or bun package manager
  • OpenAI API key (for AI features)
  • Screen Recording Permission for Terminal/IDE
  • Microphone Permission for audio recording

macOS Setup

  1. Go to System Preferences > Security & Privacy > Privacy > Screen Recording
  2. Ensure your Terminal app (or IDE) has screen recording permission enabled
  3. Go to System Preferences > Security & Privacy > Privacy > Microphone
  4. Ensure your Terminal app has microphone permission enabled
  5. Restart your Terminal/IDE after enabling permissions

Windows Setup

  • No additional permissions needed for basic functionality
  • May require microphone access permissions

πŸš€ Installation & Usage

1. Clone and Install

git clone https://github.com/ibttf/cluely-copilot.git
cd cluely-copilot
npm install
# or if using bun
bun install

2. Start Development

npm run app:dev
# or
bun run app:dev

3. First Launch

  1. Enter your OpenAI API key when prompted
  2. The application will appear as an invisible window
  3. Use ⌘ + B to show/hide the interface

4. Using the Copilot

  1. Press ⌘ + Shift + K to activate the copilot
  2. The copilot will start listening to audio and analyzing your screen
  3. Ask questions or discuss topics naturally
  4. The copilot will provide intelligent responses based on context
  5. Press ⌘ + Shift + K again to deactivate

πŸ—οΈ Tech Stack

  • Frontend: React + TypeScript + Tailwind CSS
  • Backend: Electron + Node.js
  • AI: OpenAI GPT-4 + Whisper API
  • OCR: Tesseract.js
  • Audio: Native platform recording APIs
  • UI: Radix UI Components

πŸ”§ Configuration

Environment Variables

  • OPENAI_API_KEY: Your OpenAI API key (stored securely)

Settings

  • Audio recording quality and duration
  • Screen capture frequency
  • AI response preferences
  • Privacy and data retention settings

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Development Guidelines

  • Follow TypeScript best practices
  • Maintain the invisible operation principle
  • Ensure privacy and security standards
  • Test across different platforms

πŸ“„ License

ISC License

πŸ™ Acknowledgments

Built with inspiration from the original Interview Coder project, enhanced with Cluely's intelligent meeting assistance capabilities.


Note: This application is designed for legitimate use cases like productivity enhancement and learning assistance. Users are responsible for complying with their organization's policies and applicable laws regarding recording and AI assistance tools.

About

a complete recreation of cluely.com from the ground up, built upon the Interview Coder public repo from Dec. 2024, and adding modifications to give the full functionality that Cluely has

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages