VSCode extension for sing-box profile editing with intellisense and OSS integration.
- Intellisense/Autocomplete: JSON schema validation and autocompletion for sing-box configuration files
- OSS Integration: Upload and download sing-box profiles from Object Storage Service (OSS)
- Language Server: Dedicated LSP for advanced sing-box configuration support
The extension automatically provides intellisense for files matching:
*.sing-box.json*sing-box*.json
This extension contributes the following settings:
a-cup.oss.endpoint: OSS endpoint URLa-cup.oss.accessKeyId: OSS access key IDa-cup.oss.accessKeySecret: OSS access key secreta-cup.oss.bucket: OSS bucket name
A-Cup: Upload Profile to OSS- Upload the current file to configured OSSA-Cup: Download Profile from OSS- Download a profile from configured OSS
This is a pnpm monorepo with the following structure:
├── packages/
│ ├── extension/ # VSCode extension main process
│ ├── webview/ # Vite + Vue3 UI components
│ └── lsp/ # Language Server Protocol implementation
├── shared/ # Shared types, utils, and schemas
├── .github/workflows/ # CI/CD workflows
├── tsconfig.json # Root TypeScript config
├── package.json # Workspace configuration
└── pnpm-workspace.yaml
- Node.js 20+
- pnpm 8+
pnpm install
pnpm buildpnpm devpnpm testpnpm check-typespnpm vsce:packageMIT