1ngaOS VS Code Extension
VS Code extension for managing 1ngaOS P2P network platform nodes and services.
Features
- Node Management: Initialize, start, stop, and list nodes
- Service Management: Deploy, start, stop, and remove services
- Tree Views: Visual representation of nodes and services
- Manifest Support: Syntax highlighting and snippets for
.manifest.toml files
- Dashboard Integration: Quick access to the 1ngaOS dashboard
- Network Statistics: View network stats and peer information
Requirements
- VS Code 1.80.0 or higher
- 1ngaOS CLI (
wangos command) installed and available in PATH, or use npx wangos
- 1ngaOS API service running (default:
http://localhost:8017)
Installation
- Open VS Code Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "1ngaOS" and click Install
Or install from VSIX:
code --install-extension 1ngaos-extension-0.1.0.vsix
Quick Start
Node Management
- Command Palette (
Ctrl+Shift+P / Cmd+Shift+P) → "1ngaOS: Initialize Node"
- View nodes in the 1ngaOS sidebar → "1ngaOS Nodes"
Service Management
- Create a
manifest.toml file (use snippet: type 1ngaos-service)
- Command Palette → "1ngaOS: Deploy Service"
- View services in the 1ngaOS sidebar → "1ngaOS Services"
Manifest Snippets
1ngaos-service - Complete service manifest template
1ngaos-web - Web service template
1ngaos-api - API service template
1ngaos-worker - Worker service template
Configuration
VS Code settings:
{
"1ngaos.apiUrl": "http://localhost:8017",
"1ngaos.cliPath": "wangos",
"1ngaos.autoRefresh": true,
"1ngaos.refreshInterval": 5000
}
Commands
1ngaos.node.init - Initialize a new node
1ngaos.node.run - Start a node
1ngaos.node.stop - Stop a node
1ngaos.node.list - List all nodes
1ngaos.service.deploy - Deploy a service
1ngaos.service.start - Start a service
1ngaos.service.stop - Stop a service
1ngaos.service.remove - Remove a service
1ngaos.dashboard.open - Open 1ngaOS dashboard
1ngaos.network.stats - Show network statistics
1ngaos.refresh - Refresh node and service views
License
MIT
Support
| |