SUN Coder Documentation

This route is now wired. It covers chat, uploads, models, offline install support, and desktop OpenClaw capabilities.

Getting started

Open /chat, choose a model or leave it on Auto, type a prompt, and export the result as PPTX, XLSX, DOCX, PDF, HTML, or Markdown.

Uploads

SUN Coder accepts text files, PDFs, DOCX/XLSX placeholders, images, audio, and ZIP archives. ZIP import expands supported text assets and PDFs into the chat attachment flow.

Offline desktop support

The app now exposes a PWA manifest and service worker, so it can be installed as a desktop-style app with cached shell pages on Windows, macOS, Linux, iOS, and Android. For true local tooling, pair it with the OpenClaw desktop endpoints and a Tauri or Electron wrapper.

POST /api/claw/session
POST /api/claw/execute
GET  /api/claw/installer?platform=windows|macos|linux

The installer auto-detects your OS from the User-Agent header when no platform parameter is specified.

OpenClaw Desktop Agent

OpenClaw is the local execution bridge for desktop workflows such as project inspection, controlled command execution, ZIP handling, and repo-aware tasks. Works on Windows (PowerShell), macOS (zsh/bash), and Linux (bash/zsh/fish).

Installation

Windows (PowerShell):

irm /api/claw/installer?platform=windows | iex

macOS (Terminal):

curl -fsSL /api/claw/installer?platform=macos | bash

Linux (Terminal):

curl -fsSL /api/claw/installer?platform=linux | bash

Usage

sun-claw "scaffold a REST API with Express"
sun-claw "inspect this repo and list key files"
sun-claw "create a Dockerfile for this project"
sun-claw --status    # Show session info
sun-claw --reset     # Clear session
sun-claw --help      # Full help

Features

Mobile Workflow

Install SUN Coder as a PWA on your phone or tablet to code on the go. Use the bottom navigation bar for quick access to Chat, Projects, Desktop Agent, Code Editor, and Tools. The mobile tools sheet provides one-tap access to all OpenClaw functions.

← Back to home · Open chat