ALPS Online Editor is a web-based editor for creating and editing Application-Level Profile Semantics (ALPS) documents. It supports both XML and JSON formats with real-time validation, auto-completion, and live preview features.
Visit alps-asd.github.io/alps-editor to use the editor directly in your browser. No server required - runs entirely client-side.
📖 Read the User Guide for detailed instructions and tips.
npx serve docsThen open http://localhost:3000
For browser testing and debugging with AI agents, see chrome-devtools-mcp for setup instructions.
- Bidirectional highlighting: Select text in editor → elements glow in diagram
- Click-to-jump navigation: Click diagram elements → jump to code line
- View modes: Switch between Document, Diagram, and Preview views
- Real-time visual feedback: Instant synchronization between editor and diagrams
- Press
Ctrl + Spaceto show context-aware snippets - When starting from scratch:
- Clear the editor content
- Press
Ctrl + Space - Choose either "ALPS XML Skeleton" or "ALPS JSON Skeleton"
- Fill in the placeholders using
Tab
- Automatic validation against ALPS schema
- Immediate visual feedback on errors
- Detailed error messages with line numbers
- Live preview of the rendered ALPS document
- Support for both XML and JSON ALPS formats
- Drag and drop ALPS files directly into the editor
- Accepts JSON, XML, and HTML files containing ALPS profiles
- Download as HTML, SVG, or Profile (JSON/XML)
- Context-aware descriptor completions
- Automatic href suggestions from existing descriptors
- Built-in semantic terms from Schema.org
F1: Show command palette (lists all shortcuts)F8: Toggle Preview modeCtrl + Space: Show auto-completion suggestionsCtrl + S/Cmd + S: Download documentTab: Navigate through snippet placeholdersShift + Tab: Navigate backwards through placeholders
The editor performs two types of validation:
- Syntax validation (JSON/XML)
- ALPS semantic validation against the official ALPS schema
- User Guide - Complete guide to using the editor
- app-state-diagram - ALPS visualization tool
- ALPS Specification - Official ALPS documentation
- Vocabulary Guide - Schema.org semantic terms for ALPS
