Real-time Audio Assistant powered by OpenAI - Transcribe system audio and get intelligent AI responses with context management and file upload support.
- Real-time Audio Transcription: Capture system audio and transcribe it using OpenAI Whisper
- AI Chat Integration: Get intelligent responses from OpenAI GPT models
- Context Management: Add custom context to improve AI responses
- File Upload Support: Upload PDF, TXT, and DOCX files for enhanced context
- Push-to-Record Interface: Simple spacebar recording controls
- Cross-Platform: Works on Windows, macOS, and Linux
- Node.js 18 or higher
- OpenAI API key
-
Clone the repository:
git clone https://github.com/atefcodes/aihelper.git cd aihelper -
Install dependencies:
npm install
-
Start the application:
npm start
- Launch the application
- Enter your OpenAI API key in the configuration section
- Optionally add context or upload files to enhance AI responses
- Click "Start AI Stream" to enable audio capture
- Hold SPACEBAR to record audio, release to transcribe and get AI response
Build for your current platform:
npm run buildBuild for specific platforms:
npm run build:win # Windows
npm run build:mac # macOS
npm run build:linux # LinuxThis project is configured for automated builds and releases using GitHub Actions.
aihelper/
├── main.js # Electron main process
├── preload.js # Preload script for security
├── renderer.js # Frontend JavaScript
├── index.html # Main UI
├── package.json # Project configuration
├── assets/ # App icons and resources
│ ├── icon.ico # Windows icon
│ ├── icon.icns # macOS icon
│ └── icon.png # Linux icon
└── .github/
└── workflows/
└── build-release.yml # GitHub Actions configuration
- Frontend changes: Edit
renderer.jsandindex.html - Backend logic: Edit
main.js - Security: Update
preload.jsfor new IPC methods
# Build and test locally
npm run build
# Test the built application
# Windows: ./dist/AI Helper Setup.exe
# macOS: ./dist/AI Helper.dmg
# Linux: ./dist/AI Helper.AppImageMIT License - see LICENSE file for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
For issues and support, please use the GitHub Issues page.