Web4AI Project Assistant is a web-based tool designed to enhance developers' productivity by utilizing AI (GPT-4 & WebLLM). It helps automate code refactoring, generates documentation, adds inline comments, and creates unit tests. The tool supports both online and offline AI models, offers local file syncing, and allows easy project export as a ZIP file. Ideal for improving code quality, readability, and maintainability, Web4AI simplifies complex development tasks in an intuitive interface..
- AI Refactor & Format: Improve code structure and readability.
- Auto Documentation: Generate readable documentation.
- Unit Test Generator: Quickly scaffold unit tests.
- Code Commenting: Add smart inline comments.
- Offline AI Mode: Use WebLLM (Llama-3) when GPT is unavailable.
- File Syncing: Save to/load from local storage.
- ZIP Download: Export your full AI-enhanced project.
- Upload files via the browser.
- Choose your AI options (online GPT or WebLLM).
- Run transformations (refactor, document, etc.).
- View results, save to local storage, or download everything.
- JavaScript (Vanilla)
- Web APIs (FileReader, LocalStorage)
- WebLLM (Offline AI)
- GPT-4 (Online AI via OpenAI)
- JSZip (for ZIP downloads)
- localForage (storage abstraction)
Clone the repo:
git clone https://github.com/Web4application/Web4AI_Project_Assistant.git
cd Web4AI_Project_AssistantThen open index.html in your browser.
Web4AI_Project_Assistant/
├── index.html # Main UI
├── assistant.js # Core logic and AI features
├── style.css # UI styling
Loaded via CDN in index.html:
MIT LICENCE