Rechercher

PythonReactSEOPDF
OpenClaw

sparkle-vpn

Control Sparkle VPN - start, stop, manage system proxy, query status and switch nodes using Mihomo core directly.

cwyhkyochen-a11y0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install cwyhkyochen-a11y/sparkle-vpn

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Sparkle VPN Control

This skill provides tools to control the Sparkle VPN using Mihomo core directly (no GUI interaction needed).

Tools

VPN Control
  • sparkle_vpn_start - Start VPN core only (port 7890 available, no system proxy)
  • sparkle_vpn_start_with_proxy - Start VPN and enable system-wide proxy
  • sparkle_vpn_stop - Stop VPN and disable system proxy
System Proxy Management
  • sparkle_vpn_enable_proxy - Enable system-wide proxy settings (VPN must be running)
  • sparkle_vpn_disable_proxy - Disable system-wide proxy settings
Node Management
  • sparkle_vpn_status - Query current VPN status, active node and available nodes list
  • sparkle_vpn_switch - Switch to a different VPN node

Implementation

Uses Mihomo core directly:

  • Profile: ~/.config/sparkle/profiles/19c48c94cbb.yaml
  • Proxy port: 7890 (HTTP/HTTPS)
  • Config dir: ~/.config/sparkle/
  • API port: 9090

Usage Examples

Start VPN with system proxy:

sparkle_vpn_start_with_proxy

Start VPN without system proxy (manual mode):

sparkle_vpn_start

Enable system proxy (after VPN is running):

sparkle_vpn_enable_proxy

Stop VPN:

sparkle_vpn_stop

Query status:

sparkle_vpn_status

Switch node:

sparkle_vpn_switch "香港-HKG-01-VL"

Common Nodes

  • 自动选择 - Auto select best node
  • 故障转移 - Fallback mode
  • 香港-HKG-01-VL - Hong Kong node
  • 香港-HKG-02-VL - Hong Kong node 2
  • 香港-HKT-01-VL - Hong Kong HKT
  • 新加坡-SIN-01-VL - Singapore node
  • 日本-TYO-01-VL - Japan Tokyo node
  • 美国-SJC-01-VL - US San Jose node

System Proxy Support

System proxy settings are applied via:

  • GNOME gsettings (for GNOME/GTK desktops)
  • Environment variables saved to ~/.config/sparkle/proxy.env

To use proxy in current terminal session:

source ~/.config/sparkle/proxy.env

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/cwyhkyochen-a11y/sparkle-vpn
Version
—
Commit
b6d47b449ad85709138d6fa58851cd8961f80e0b
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# Sparkle VPN Control

This skill provides tools to control the Sparkle VPN using Mihomo core directly (no GUI interaction needed).

## Tools

### VPN Control
- `sparkle_vpn_start` - Start VPN core only (port 7890 available, no system proxy)
- `sparkle_vpn_start_with_proxy` - Start VPN and enable system-wide proxy
- `sparkle_vpn_stop` - Stop VPN and disable system proxy

### System Proxy Management
- `sparkle_vpn_enable_proxy` - Enable system-wide proxy settings (VPN must be running)
- `sparkle_vpn_disable_proxy` - Disable system-wide proxy settings

### Node Management
- `sparkle_vpn_status` - Query current VPN status, active node and available nodes list
- `sparkle_vpn_switch` - Switch to a different VPN node

## Implementation

Uses Mihomo core directly:
- Profile: `~/.config/sparkle/profiles/19c48c94cbb.yaml`
- Proxy port: `7890` (HTTP/HTTPS)
- Config dir: `~/.config/sparkle/`
- API port: `9090`

## Usage Examples

Start VPN with system proxy:
```bash
sparkle_vpn_start_with_proxy
```

Start VPN without system proxy (manual mode):
```bash
sparkle_vpn_start
```

Enable system proxy (after VPN is running):
```bash
sparkle_vpn_enable_proxy
```

Stop VPN:
```bash
sparkle_vpn_stop
```

Query status:
```bash
sparkle_vpn_status
```

Switch node:
```bash
sparkle_vpn_switch "香港-HKG-01-VL"
```

## Common Nodes

- `自动选择` - Auto select best node
- `故障转移` - Fallback mode
- `香港-HKG-01-VL` - Hong Kong node
- `香港-HKG-02-VL` - Hong Kong node 2
- `香港-HKT-01-VL` - Hong Kong HKT
- `新加坡-SIN-01-VL` - Singapore node
- `日本-TYO-01-VL` - Japan Tokyo node
- `美国-SJC-01-VL` - US San Jose node

## System Proxy Support

System proxy settings are applied via:
- GNOME gsettings (for GNOME/GTK desktops)
- Environment variables saved to `~/.config/sparkle/proxy.env`

To use proxy in current terminal session:
```bash
source ~/.config/sparkle/proxy.env
```

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.