Skip to content

daybreakdata-ux/WebCode1

Repository files navigation

AI Web IDE

A powerful, AI-powered web-based IDE built with Monaco Editor, featuring real-time collaboration, AI assistance, and modern development tools.

Features

  • 🚀 Monaco Editor Integration - Full-featured code editor with syntax highlighting
  • 🤖 AI-Powered Assistance - Built-in AI chat for code generation and help
  • 👥 Real-time Collaboration - Work together with team members in real-time
  • 📱 Responsive Design - Works on desktop, tablet, and mobile devices
  • 🎨 Modern UI - Clean, professional interface with dark/light themes
  • 📁 File Management - Create, edit, and organize files and folders
  • 🔧 Project Templates - Quick start with pre-built templates
  • Live Preview - See your changes instantly
  • 💾 Auto-save - Never lose your work
  • 🌐 PWA Support - Install as a desktop app

Quick Start

Development

  1. Clone or download the project
  2. Start the development server:
    npm run dev
    # or
    python3 -m http.server 8000
  3. Open your browser and navigate to http://localhost:8000

Production Build

  1. Basic build:

    npm run build
  2. Advanced build (recommended):

    npm run build:advanced

The advanced build includes:

  • Minified CSS and JavaScript
  • PWA support with service worker
  • Optimized assets
  • Standalone version

Project Structure

ai-web-ide/
├── index.html          # Main HTML file
├── style.css           # Styles and themes
├── app.js              # Main application logic
├── build.js            # Basic build script
├── build-advanced.js    # Advanced build script
├── package.json        # Project configuration
└── dist/               # Build output directory
    ├── index.html      # Optimized main file
    ├── standalone.html # All-in-one file
    ├── assets/         # Minified assets
    ├── sw.js          # Service worker
    ├── manifest.json  # PWA manifest
    └── README.md      # Build documentation

Usage

Creating a New Project

  1. Click the "New Project" button in the header
  2. Choose from templates or describe your project to the AI
  3. Start coding with AI assistance

AI Assistant

The AI assistant can help you:

  • Generate code from descriptions
  • Explain complex code
  • Debug issues
  • Optimize performance
  • Add new features

File Management

  • Create files: Click the "+" button in the file explorer
  • Create folders: Right-click in the file explorer
  • Switch files: Click on file tabs or file explorer items

Collaboration

  • Invite users: Click the "Invite" button in the header
  • Real-time editing: See other users' cursors and changes
  • Chat: Use the AI chat for team communication

Templates

The IDE includes several project templates:

  • React Application - Modern React app with TypeScript
  • Todo Application - Full-stack todo app with local storage
  • Portfolio Website - Personal portfolio with modern design
  • Node.js API Server - RESTful API with Express

Customization

Themes

Switch between light and dark themes using the theme toggle in the header.

Settings

Access settings from the sidebar to customize:

  • Font size
  • Editor theme
  • Auto-save preferences

Keyboard Shortcuts

  • Ctrl/Cmd + S - Save project
  • Ctrl/Cmd + N - New file
  • Ctrl/Cmd + O - New project
  • F5 - Run code
  • `Ctrl/Cmd + `` - Toggle console

Deployment

Static Hosting

The built files can be deployed to any static hosting service:

  • Netlify - Drag and drop the dist folder
  • Vercel - Connect your repository
  • GitHub Pages - Push to a GitHub repository
  • AWS S3 - Upload to an S3 bucket

Self-Hosting

  1. Build the project: npm run build:advanced
  2. Serve the dist directory with any web server
  3. Configure HTTPS for PWA features

Browser Support

  • Chrome 80+
  • Firefox 75+
  • Safari 13+
  • Edge 80+

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

License

MIT License - see LICENSE file for details.

Support

For issues and questions:

  • Check the documentation
  • Open an issue on GitHub
  • Contact the development team

Built with ❤️ for developers who love AI-powered tools

About

AI-Powered Web IDE with Monaco Editor, PWA support, and advanced build system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors