Skip to content

OpenClaw Web Installer - A complete web-based installer for OpenClaw AI Assistant that automatically handles Node.js, Docker, and all dependencies through an intuitive browser interface. Perfect for non-technical users who want to set up their personal AI assistant with just a few clicks.

License

Notifications You must be signed in to change notification settings

IROTECHLAB/openclaw-web-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

OpenClaw Web Installer ๐Ÿฆž

Python Flask License

โš ๏ธ Important: I'm an Android Developer - Need Help Testing!

Hey everyone! ๐Ÿ‘‹ I'm an Android developer who created this web installer for OpenClaw, but I haven't been able to test it thoroughly across different platforms and configurations. I need help from the community to:

  1. Test it on different operating systems
  2. Find and fix bugs
  3. Improve the installation process
  4. Add missing features

If you're a developer who wants to contribute to making OpenClaw easier to install, this project needs your help! ๐Ÿ™

Contact: Instagram @ironmanyt00

๐Ÿš€ What is This?

A comprehensive web-based installer for OpenClaw - the personal AI assistant that runs on your own devices. This installer aims to make OpenClaw setup as easy as filling out a web form, handling all the complex installation steps automatically.

๐Ÿ”ฅ Auto-Generated Interface

IMPORTANT: This installer automatically generates all necessary HTML, CSS, and JavaScript files when you run it! You don't need to manually create any web files. The Python code includes built-in templates that create:

  • templates/index.html - Main web interface
  • static/css/style.css - All styling
  • static/js/main.js - Frontend JavaScript

Just run the installer and everything will be created for you!

โœจ Features

  • Web-based UI - Install OpenClaw through your browser
  • Auto-generated interface - No manual file creation needed
  • Automatic dependency installation (Node.js, Docker, Git)
  • Real-time progress tracking with WebSocket updates
  • Cross-platform support (Windows, macOS, Linux)
  • Configuration wizard for AI models and channels
  • Gateway management - Start/stop OpenClaw from the UI
  • One-click setup for beginners

๐Ÿ“‹ Prerequisites

For Users:

  • Python 3.8 or higher
  • Basic internet connection
  • Administrator/sudo privileges (for installing packages)

For Developers (Help Wanted!):

  • Python development experience
  • Experience with Flask/SocketIO
  • Knowledge of system administration (Linux/macOS/Windows)
  • Familiarity with Node.js/npm ecosystem
  • Docker experience (bonus!)

๐Ÿ› ๏ธ Installation

Option 1: Clone the repository:

git clone https://github.com/IROTECHLAB/openclaw-web-installer.git
cd openclaw-web-installer
pip install flask flask-socketio psutil requests pyyaml
python openclaw_installer.py

Option 2: Direct from Python file:

# Download or create the Python file
# Save as openclaw_installer.py

# Install dependencies
pip install flask flask-socketio psutil requests pyyaml

# Run the installer
python openclaw_installer.py

Option 3: One-line install and run:

pip install flask flask-socketio psutil requests pyyaml && python openclaw_installer.py

Command-line options:

# Run on custom port
python openclaw_installer.py --port 8080

# Run on specific host
python openclaw_installer.py --host 0.0.0.0

# Run without auto-opening browser
python openclaw_installer.py --no-browser

# Show help
python openclaw_installer.py --help

๐ŸŽฎ Usage

  1. Start the installer (files auto-generated on first run):
python openclaw_installer.py
  1. Open your browser to http://localhost:5000 (or your custom port)

  2. Follow the steps:

    • Review system information
    • Check prerequisites
    • Configure AI model and settings
    • Select channels (WhatsApp, Telegram, Discord)
    • Click "Start Installation"
  3. Monitor progress in real-time

  4. Access OpenClaw at http://localhost:18789 after installation

๐Ÿ”ง What Gets Auto-Generated

When you run the installer for the first time, it creates:

project/
โ”œโ”€โ”€ openclaw_installer.py     # Main Python file (you provide)
โ”œโ”€โ”€ templates/                # Auto-generated
โ”‚   โ””โ”€โ”€ index.html           # Main web interface
โ”œโ”€โ”€ static/                   # Auto-generated
โ”‚   โ”œโ”€โ”€ css/
โ”‚   โ”‚   โ””โ”€โ”€ style.css        # All CSS styling
โ”‚   โ””โ”€โ”€ js/
โ”‚       โ””โ”€โ”€ main.js          # Frontend JavaScript
โ””โ”€โ”€ ~/.openclaw/             # OpenClaw config directory

No manual file creation needed! The Python script contains all HTML/CSS/JS code internally and generates these files when run.

๐Ÿ› Known Issues & Testing Needed

โš ๏ธ Untested Areas (Need Volunteers!)

  1. Windows Installation:

    • Node.js auto-installation via MSI
    • Docker Desktop detection
    • Path and permission issues
  2. macOS Installation:

    • Homebrew installation flow
    • Docker Desktop for macOS
    • Permission prompts (TCC)
  3. Linux Distributions:

    • Different package managers (apt, yum, dnf, pacman)
    • Systemd service creation
    • Docker without sudo requirements
  4. Docker Integration:

    • Docker installation scripts
    • User group assignment
    • Sandbox configuration
  5. Network & Proxy Issues:

    • Corporate firewalls
    • Proxy configurations
    • Offline installation

Current Limitations:

  • โŒ Windows: Some installations require manual steps
  • โŒ macOS: Gatekeeper may block installations
  • โŒ Linux: May require manual intervention for Docker
  • โŒ Network: No proxy support yet
  • โŒ Error Recovery: Limited retry logic

๐Ÿค How to Contribute

Testing Needed! ๐Ÿงช

If you can test on any platform, please:

  1. Test the installer on your system
  2. Report issues with detailed logs
  3. Suggest improvements for your platform
  4. Submit pull requests with fixes

Areas Needing Help:

  1. Platform-Specific Installers:

    • Windows batch/PowerShell scripts
    • macOS app bundle creation
    • Linux systemd service files
  2. Error Handling:

    • Better error messages
    • Installation rollback
    • Network failure recovery
  3. User Experience:

    • Progress indicators
    • Configuration validation
    • Post-installation instructions
  4. Security:

    • Secure password handling
    • Permission validation
    • Sandbox configuration

Contribution Steps:

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

๐Ÿ“ Project Structure

openclaw-web-installer/
โ”œโ”€โ”€ openclaw_installer.py     # Main installer application (single file!)
โ”œโ”€โ”€ requirements.txt          # Python dependencies (optional)
โ”œโ”€โ”€ templates/                # AUTO-GENERATED on first run
โ”‚   โ””โ”€โ”€ index.html           # Auto-generated HTML
โ”œโ”€โ”€ static/                   # AUTO-GENERATED on first run
โ”‚   โ”œโ”€โ”€ css/
โ”‚   โ”‚   โ””โ”€โ”€ style.css        # Auto-generated CSS
โ”‚   โ””โ”€โ”€ js/
โ”‚       โ””โ”€โ”€ main.js          # Auto-generated JavaScript
โ””โ”€โ”€ README.md                # This file

Note: The templates/ and static/ directories are created automatically when you run the script. You only need the Python file!

๐Ÿ”ง Technical Details

Built With:

  • Flask - Web framework
  • SocketIO - Real-time updates
  • subprocess - System command execution
  • psutil - System monitoring
  • requests - HTTP downloads

Installation Flow:

  1. Auto-generate web interface files
  2. Prerequisite checking
  3. Dependency installation
  4. OpenClaw package installation
  5. Configuration creation
  6. Directory setup
  7. Gateway startup

๐Ÿšจ Disclaimer

This is an unofficial community project and is not affiliated with the official OpenClaw project. Use at your own risk.

๐Ÿ“ License

MIT License - see LICENSE file for details

๐Ÿ™ Acknowledgments

  • OpenClaw - The amazing AI assistant project
  • All contributors and testers who help improve this installer
  • The open-source community for inspiration and tools

๐Ÿ“ž Contact & Support

I need your help! If you're a developer who can:

  • Test on different platforms
  • Fix platform-specific issues
  • Improve the installation flow
  • Add new features

Please contribute! Create issues, submit PRs, or reach out.

Contact: Instagram @ironmanyt00

Remember: I'm primarily an Android developer, so contributions from web, desktop, and sysadmin developers are especially valuable! ๐Ÿš€


โญ If you find this useful, please star the repository and help spread the word! โญ

๐Ÿ”ง Developers wanted! Let's make OpenClaw installation as easy as possible for everyone!

๐Ÿ”— Quick Links

Quick Start Commands:

# Clone
git clone https://github.com/IROTECHLAB/openclaw-web-installer.git
cd openclaw-web-installer

# Install and run
pip install -r requirements.txt
python openclaw_installer.py

# Or run directly
python openclaw_installer.py --port 5000 --host 0.0.0.0

๐Ÿค– Built on Android 5 - Yes, Really!

Platform Limitation Disclosure: This entire project was built and coded on an Android 5 device without proper Termux or Linux environment. This means:

โœ… Proof of Concept Works - Core logic, Flask server, and UI generation are functional
โš ๏ธ Zero Cross-Platform Testing - I physically cannot test Windows/macOS/Linux installations
๐ŸŽฏ Pure Problem-Solving - Built to solve a need despite extreme platform limitations

Why this matters: If the installer works despite these constraints, imagine how well it could work with proper testing!

About

OpenClaw Web Installer - A complete web-based installer for OpenClaw AI Assistant that automatically handles Node.js, Docker, and all dependencies through an intuitive browser interface. Perfect for non-technical users who want to set up their personal AI assistant with just a few clicks.

Topics

Resources

License

Stars

Watchers

Forks

Languages