Web-based editor and executor for OQL (Operation Query Language) scenarios.
- File Browser: Browse and select OQL scenario files from the scenarios directory
- Code Editor: Edit scenario files with syntax highlighting
- Execution: Run scenarios using OqlOS runtime in mock or real mode
- Live Preview: Real-time execution logs and status updates
make installmake devmake runThe editor will be available at http://localhost:8203
make run-prodGET /api/v1/editor/files- List all scenario filesGET /api/v1/editor/file/{path}- Read file contentPOST /api/v1/editor/file/{path}- Write file contentPOST /api/v1/editor/execute- Execute a scenario
Environment variables:
WEB_PORT- Server port (default: 8203)HARDWARE_MODE- Hardware mode: mock|real (default: mock)
make buildmake testmake cleanmake publishmake publish-testweboql/
├── weboql/
│ ├── __init__.py
│ ├── main.py # FastAPI application entry point
│ └── api/
│ ├── __init__.py
│ ├── editor.py # Editor API endpoints
│ └── static/
│ └── editor.html # Web interface
├── pyproject.toml # Project configuration
├── Makefile # Build and deployment automation
└── README.md # This file
Licensed under Apache-2.0.