/NaiveGUI

Windows GUI wrapper of NaïveProxy.

Primary LanguageC#GNU Affero General Public License v3.0AGPL-3.0

English

由社区提供的视频教程, 感谢视频作者

NaiveGUI

NaiveGUI 是一个 NaïveProxy 的 Windows GUI.

这个项目的初衷是方便的配置 NaïveProxy 并且在服务器之间简单的切换

它还提供有用的特性, 如订阅、自动启动、高亮显示日志等

快速开始

  1. Releases 获取最新的 NaiveGUI.zip 并将所有内容解压到您想要的任何地方
  2. NaïveProxy Releases 获取最新的 naive.exe
  3. 移动 naive.exeNaiveGUI.exe 的相同目录下
  4. 启动 NaiveGUI.exe, 点击加号按钮来创建代理监听器
  5. 双击(或者右击并选择 "添加") 在 服务器 一节中的 Default 组, 创建一个新的服务器
  6. 选择一个代理监听器, 当代理监听器被选中(注意更暗的背景), 左键点击任意服务器来将它关联到监听器
  7. 点击代理监听器卡片右下角的 Disabled 字样, 如果卡片变蓝, 它代表你的代理监听器开始工作了!

导入单个服务器

NaiveGUI 支持从剪贴板导入单个服务器

将以下格式的 URI 复制到剪贴板, 随后右键任意组名选择 从剪贴板导入 即可

* nameextra_headers 均为可选参数

https://<Username>:<Password>@<Host>:<Port>/?name=<节点名称>&extra_headers=<额外请求头, 使用 LF 分隔>

订阅

NaiveGUI 当前只支持一种订阅格式, 每个订阅 URL 可以包含多个组

你总能在 这里 找到最新的订阅格式

下面的例子不一定能代表最新的订阅格式

 {
    "GroupName1": [
        {
            "name": "Name here!",
            "host": "xxx.xxx",
            "port": 2333,
            "scheme": "https", // 可选
            "username": "UserXD", // 可选
            "password": "Password0", // 可选
            "extra_headers": [ // 可选, 必须是字符串数组
                "HeaderAAAAA: WTFWTF",
                "YAAY: LOLL",
                ...
            ]
        },
        ...
    ],
    "GroupName2": [
        ...
    ]
}

English

NaiveGUI is a Windows GUI wrapper of NaïveProxy.

The original purpose of this project is to configure your NaïveProxy and switch between remotes easily.

It also provides useful features like subscription, auto start, log highlighting and so on.

Quick Start

  1. Grab the latest NaiveGUI.zip from Releases and extract everything to wherever you want
  2. Get the latest naive.exe from NaïveProxy Releases
  3. Move the naive.exe to the same folder of NaiveGUI.exe
  4. Start NaiveGUI.exe, click the plus button to create listeners
  5. Double-click(or right click and select "Add") the Default group in the Remote section, create a new remote
  6. Select the listener, when the listener is selected(The background will be darker), left-click any remote to associate it with your listener
  7. Click the Disabled located at the right buttom of listener card, if the card become blue, it means your listener is working!

Import Single Remote

NaiveGUI allows you to import single remote from clipboard.

Copy a URI with following structure, right-click any group and select Import from clipboard to import

* name and extra_headers are optional

https://<Username>:<Password>@<Host>:<Port>/?name=<Remote Name>&extra_headers=<Extra Headers, split by LF>

Subscription

NaiveGUI current support only one format of subscription. Each subscription url can contain multiple groups.

You can always find the latest subscription format Here

The following example may not represent the latest subscription format.

 {
    "GroupName1": [
        {
            "name": "Name here!",
            "host": "xxx.xxx",
            "port": 2333,
            "scheme": "https", // optional
            "username": "UserXD", // optional
            "password": "Password0", // optional
            "extra_headers": [ // optional, must be a string array
                "HeaderAAAAA: WTFWTF",
                "YAAY: LOLL",
                ...
            ]
        },
        ...
    ],
    "GroupName2": [
        ...
    ]
}