Skip to content

Web4application/Web4AI_Project_Assistant

Repository files navigation

Deploy Jekyll with GitHub Pages dependencies preinstalled

Web4AI Project Assistant

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..

Features

  • 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.

How It Works

  1. Upload files via the browser.
  2. Choose your AI options (online GPT or WebLLM).
  3. Run transformations (refactor, document, etc.).
  4. View results, save to local storage, or download everything.

Live Technologies

  • JavaScript (Vanilla)
  • Web APIs (FileReader, LocalStorage)
  • WebLLM (Offline AI)
  • GPT-4 (Online AI via OpenAI)
  • JSZip (for ZIP downloads)
  • localForage (storage abstraction)

Getting Started

Clone the repo:

git clone https://github.com/Web4application/Web4AI_Project_Assistant.git
cd Web4AI_Project_Assistant

Then open index.html in your browser.

File Structure

Web4AI_Project_Assistant/
├── index.html        # Main UI
├── assistant.js      # Core logic and AI features
├── style.css         # UI styling

Dependencies

Loaded via CDN in index.html:

License

MIT LICENCE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published