8000 GitHub - nohosts/client: nohost的PC客户端,帮助PC用户设置nohost环境,安装后打开即可接入nohost · GitHub
[go: up one dir, main page]

Skip to content
{"props":{"color_mode":"dark","logged_in":false,"marketing_page":false,"home_path":"/","login_path":"/login?return_to=https%3A%2F%2Fgithub.com%2Fnohosts%2Fclient","signup_path":"/signup?ref_cta=Sign+up\u0026ref_loc=header+logged+out\u0026ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E\u0026source=header-repo\u0026source_repo=nohosts%2Fclient","signup_enabled":true,"is_signup_controller":false,"show_search_and_nav":true,"hide_search":false,"private_mode_enabled":false,"should_use_dotcom_links":true,"auth_hydro_click":"{\"event_type\":\"authentication.click\",\"payload\":{\"location_in_page\":\"site header menu\",\"repository_id\":null,\"auth_type\":\"SIGN_UP\",\"originating_url\":\"https://github.com/nohosts/client\",\"user_id\":null}}","auth_hydro_click_hmac":"1f22a054133dbf1e8859eab3edaa8fc909b9ad00c3a4ddbc208fbae9142d9a44"}}
nohostsPublic

About

nohost的PC客户端,帮助PC用户设置nohost环境,安装后打开即可接入nohost

Resources

Stars

17 stars

Watchers

3 watching

Forks

Latest commit

 

History

118 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nohost-client

nohost pc 客户端,主要用来设置用户电脑代理,将用户系统代理设置为nohost 客户端。

主界面如图所示:

app

项目目录结构

主要目录说明:

  • app/assets: 客户端用到的图标
  • app/lib: 公共代码

目录树状结构:

├─app 客户端代码
│  ├─assets 客户端用到的图标、静态资源
│  ├─index.html app界面
│  ├─main.js 管理app生命周期
│  └─package.json

项目核心是whistle提供代理抓包服务,客户端启动的时候会启用一个whistle服务。

开发

安装依赖

项目初始,需要在两处安装依赖

# 根目录
npm install

进入app目录下安装依赖

npm install

本地调试

npm run start

打包客户端

打包windows客户端

npm run pack:win

打包生成的windows客户端在 dist/nohost-v0.0.1-win.exe

打包mac客户端

npm run pack:mac

打包生成的mac客户端在 dist/nohost-v0.0.1-mac.dmg

打包生成的客户端即可提供给其他人安装使用。

About

nohost的PC客户端,帮助PC用户设置nohost环境,安装后打开即可接入nohost

Resources

Stars

17 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0