- ai.md: Added comprehensive documentation for TUI v1.3 conversion layer with 64+ supported components, CSS styling, and JavaScript interaction capabilities
- oss/tui/: Created complete TUI module with converter.py implementing HTML/CSS/JS to terminal conversion engine, supporting 40+ component types and advanced styling
- oss/tui/plugin.py: Implemented TUI plugin with dual startup architecture accessing WebUI's /tui interface for HTML conversion and terminal rendering
- store/@{NebulaShell}/webui/tui/: Added TUI package with converter, configuration files, and index.html for terminal interface
- store/@{NebulaShell}/webui/core/server.py: Enhanced WebUI server with TUI interface endpoints (/tui/*) for providing special-marked HTML to conversion layer
- store/@{NebulaShell}/webui/main.py: Updated WebUI plugin to support TUI dual launch with automatic homepage redirection and navigation integration
- .gitignore: Updated ignore patterns for better project cleanliness
The update provides a sophisticated terminal interface that automatically converts WebUI content through a powerful transformation layer, enabling seamless dual-mode operation.
34 lines
858 B
JSON
34 lines
858 B
JSON
{
|
|
"metadata": {
|
|
"name": "webui",
|
|
"version": "2.1.0",
|
|
"author": "NebulaShell",
|
|
"description": "Web 控制台 + TUI 双启动 - 多语言支持/插件管理/安全配置/系统监控",
|
|
"type": "webui"
|
|
},
|
|
"config": {
|
|
"enabled": true,
|
|
"args": {
|
|
"port": 8080,
|
|
"theme": "dark",
|
|
"title": "NebulaShell",
|
|
"language": "zh-CN",
|
|
"supported_languages": ["zh-CN", "en-US", "zh-TW", "ja-JP", "ko-KR", "fr-FR", "de-DE", "es-ES"],
|
|
"session_timeout": 3600,
|
|
"enable_2fa": false,
|
|
"show_plugins": true,
|
|
"show_security": true,
|
|
"show_deployments": true,
|
|
"tui_enabled": true
|
|
}
|
|
},
|
|
"dependencies": ["http-api", "i18n"],
|
|
"permissions": ["*"],
|
|
"frontend": "php",
|
|
"database": {
|
|
"type": "mysql",
|
|
"name": "nebulashell",
|
|
"init_script": "config/database.sql"
|
|
}
|
|
}
|