A beautiful, cross-platform desktop application for running your Hyperclay HTML apps locally with zero configuration.
- ๐ฅ๏ธ Native desktop app - Familiar GUI interface
- ๐ Visual folder selection - Point and click to choose your apps folder
- ๐ One-click server start - Start/stop server with buttons
- ๐ Auto-browser opening - Automatically opens your default browser
- ๐ Real-time status - Visual indicators for server state
- ๐ System tray integration - Runs in background, accessible from tray
- ๐จ Beautiful UI - Modern, responsive interface
- ๐ Quick links - Easy access to Hyperclay.com and docs
- โก Cross-platform - Works on macOS, Windows, and Linux
Hyperclay lets you create malleable HTML applications - powerful, self-contained web apps that you fully own and control. Think of it as combining the simplicity of Google Docs with the power of custom web applications.
- Own Your Stack: No vendor lock-in. Download your apps and run them anywhere.
- Malleable: Your HTML apps can modify themselves and save changes instantly.
- Shareable: Send a link, and others can view or clone your app with one click.
- Future-Proof: Built on standard HTML/CSS/JavaScript - no proprietary frameworks.
Your HTML applications can edit themselves in real-time. Change text, add features, modify layouts - everything saves automatically and becomes part of the app. Each app is a complete HTML document that includes:
- Your content and data
- Styling (CSS)
- Behavior (JavaScript)
- File references
- Version metadata
Toggle edit mode by adding ?editmode=true
to any app URL or clicking the edit button. In edit mode:
- Click any text to edit it inline
- Add new elements and components
- Upload files and images
- Customize styling and behavior
- Save changes instantly with Ctrl+S
- ๐ Writer: Personal writing app with auto-save, word count, and export options
- ๐ Kanban Board: Visual project management with drag-and-drop cards and columns
- ๐ ๏ธ Development Log: Track coding projects, bugs, features, and progress over time
- ๐ Landing Pages: Beautiful pages for projects, products, or personal sites
- ๐ฏ Custom Apps: Calculators, games, portfolios, databases, dashboards - anything you can imagine
While hyperclay.com provides the full hosted experience with user accounts, version history, and collaboration features, this local server lets you:
- โ Work offline - Edit your apps without internet connection
- โ Own your data - Complete independence from any platform
- โ No subscription needed - Run unlimited apps locally for free
- โ Privacy first - Your apps and data never leave your computer
- โ Future-proof - Apps work forever, regardless of service status
This local server provides the core functionality needed to run and edit your Hyperclay apps, ensuring you're never locked into any platform while still benefiting from the powerful malleable HTML concept.
-
Download the app for your platform:
- macOS:
Hyperclay-Local-1.0.0.dmg
- Windows:
Hyperclay-Local-Setup-1.0.0.exe
- Linux:
Hyperclay-Local-1.0.0.AppImage
- macOS:
-
Install and run the app
-
Select your folder containing HTML apps
-
Click "Start Server"
-
Browser opens automatically to your apps!
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for all platforms
npm run build-all
# Build for specific platform
npm run build-mac # macOS
npm run build-windows # Windows
npm run build-linux # Linux
- Header: Shows app name and server status indicator
- Folder Selection: Visual folder picker with current selection display
- Server Controls: Start/stop buttons and browser launcher
- Server Info: Shows URL and folder path when running
- Instructions: Step-by-step usage guide
- Quick Links: Links to Hyperclay.com and documentation
- Status indicator: Green (running) / Red (stopped)
- Quick actions: Start/stop server, show/hide window
- Background operation: App continues running when window closed
Cmd/Ctrl + O
: Select folderCmd/Ctrl + R
: Start serverCmd/Ctrl + S
: Stop serverCmd/Ctrl + W
: Close window (app stays in tray)Cmd/Ctrl + Q
: Quit app (macOS only)
The app runs an embedded Express.js server (same as the Node.js version) with:
- Static file serving with extensionless HTML support
- POST
/save/:name
endpoint for app self-saving - Beautiful directory listings
- Security protections (path traversal, filename validation)
- Folder Selection: Native OS folder picker dialog
- Path Security: Ensures all files served are within selected folder
- File Types: Serves all file types, special handling for HTML
- Hidden Files: Automatically hides dotfiles and system files
- Auto-launch: Opens default browser when server starts
- URL copying: One-click copy of server URL
- External links: Opens external links in default browser
- Sandboxed renderer: Web content runs in isolated context
- IPC security: Secure communication between main and renderer processes
- Path validation: Prevents access to files outside selected folder
- Filename sanitization: Only allows safe characters in saved files
- Content validation: Validates file content before saving
electron/
โโโ main.js # Main Electron process
โโโ server.js # Express server implementation
โโโ preload.js # Secure IPC bridge
โโโ renderer.html # Main UI
โโโ renderer.css # UI styling
โโโ package.json # Dependencies and build config
โโโ assets/ # App icons and images
โโโ dist/ # Built applications (after build)
- Node.js 16+
- npm or yarn
# Install dependencies
npm install
# Run in development mode (with hot reload)
npm run dev
# Build for current platform
npm run build
# Build for all platforms
npm run build-all
- Hot reload: Automatically restarts on file changes
- Developer tools: Press F12 to open DevTools
- Debugging: Full Chrome DevTools available
The app uses electron-builder
for packaging with these outputs:
macOS:
.dmg
installer with drag-to-Applications- Universal binary (Intel + Apple Silicon)
- Code signing ready
Windows:
- NSIS installer with custom install directory option
- Auto-updater support
- Windows Store ready
Linux:
- AppImage (portable, runs anywhere)
- Debian/Ubuntu packages available
- Snap package support
# Development build (current platform)
npm run build
# Production builds
npm run build-mac # macOS DMG
npm run build-windows # Windows installer
npm run build-linux # Linux AppImage
npm run build-all # All platforms
- macOS: ~100MB DMG
- Windows: ~76MB installer
- Linux: ~106MB AppImage
macOS "App is damaged" error:
xattr -cr "/Applications/Hyperclay Local.app"
Windows SmartScreen warning:
- Click "More info" โ "Run anyway"
- This happens because the app isn't code-signed
Linux permission denied:
chmod +x Hyperclay-Local-1.0.0.AppImage
Port 4321 already in use:
- The app will show an error dialog
- Kill any existing process using the port
- Or wait for the existing process to terminate
Folder selection not working:
- Ensure you have read permissions for the folder
- Try selecting a different folder
- Restart the app if the dialog doesn't appear
Server won't start:
- Check the folder contains some files
- Ensure folder path doesn't contain special characters
- Try selecting the folder again
Apps won't save:
- Check browser console for error messages
- Ensure the app is making requests to
localhost:4321
- Verify the save endpoint is working by testing manually
App feels slow:
- This is normal for Electron apps
- Close other resource-intensive applications
- Consider using the Go binary for better performance
High memory usage:
- Electron apps use more memory than native apps
- ~100-200MB usage is normal
- Restart the app if memory usage grows excessively
Planned features for future versions:
- Auto-updater: Automatic app updates
- Multiple servers: Run multiple folders simultaneously
- Custom ports: Configure server port in settings
- HTTPS support: Local SSL certificates
- File watcher: Auto-refresh browser on file changes
- Themes: Dark mode and custom themes
- Plugin system: Extend functionality with plugins
Contributions welcome! Areas that need help:
- UI/UX improvements: Better design and user experience
- Performance optimization: Reduce app size and memory usage
- Cross-platform testing: Ensure consistent behavior
- Documentation: Improve guides and troubleshooting
- Feature requests: Suggest and implement new features
Made with โค๏ธ for Hyperclay - The platform for malleable HTML applications
Get the full experience at hyperclay.com