huely
v1.0.6
Published
Cross-platform CLI tool to capture webcam screenshots and analyze them with OpenAI
Downloads
16
Maintainers
Readme
Huely
Installation
From npm
npm install -g huelySetup
Get an OpenAI API Key
- Sign up at OpenAI
- Navigate to API keys section
- Create a new API key
Configure Huely
huely --setupEnter your OpenAI API key when prompted. It will be securely stored in
~/.huely/config.json
Usage
Basic Commands
# Capture and analyze a screenshot
huely
# Setup or update API key
huely --setup
# Clear stored API key
huely --clear
# Show version
huely --version
# Show help
huely --helpWorkflow
- Run
huelyin your terminal - Position the content you want to analyze on your screen
- Press Enter to capture
- Huely will analyze the image and provide:
- Solutions to coding problems
- Answers to questions
- Explanations of visual content
- Complete code implementations with complexity analysis
Platform-Specific Notes
Windows: Uses CommandCam.exe for webcam capture
Linux: Requires fswebcam package
sudo apt-get install fswebcam # Debian/Ubuntu
sudo yum install fswebcam # RHEL/CentOSmacOS: Uses imagesnap (automatically handled)
Configuration
Configuration is stored in ~/.huely/config.json:
{
"openaiApiKey": "your-api-key-here"
}