{"id":13775843,"url":"https://github.com/chrisyer/lightsocks-nodejs","last_synced_at":"2025-05-11T08:34:14.931Z","repository":{"id":48295175,"uuid":"124769651","full_name":"chrisyer/lightsocks-nodejs","owner":"chrisyer","description":"It's a simple socks5 proxy tool which based on lightsocks","archived":false,"fork":false,"pushed_at":"2021-08-02T21:15:21.000Z","size":729,"stargazers_count":94,"open_issues_count":13,"forks_count":27,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-24T12:17:52.357Z","etag":null,"topics":["proxy","proxy-server","socks5","socks5-proxy"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-11T15:21:04.000Z","updated_at":"2023-08-11T06:33:35.000Z","dependencies_parsed_at":"2022-08-26T20:00:48.248Z","dependency_job_id":null,"html_url":"https://github.com/chrisyer/lightsocks-nodejs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyer%2Flightsocks-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyer%2Flightsocks-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyer%2Flightsocks-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyer%2Flightsocks-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisyer","download_url":"https://codeload.github.com/chrisyer/lightsocks-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213833331,"owners_count":15645040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["proxy","proxy-server","socks5","socks5-proxy"],"created_at":"2024-08-03T17:01:52.249Z","updated_at":"2024-08-03T17:10:58.627Z","avatar_url":"https://github.com/chrisyer.png","language":"JavaScript","funding_links":[],"categories":["\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"57b8e953d394bbed52df2a6976d98dfa\"\u003e\u003c/a\u003eSocks"],"readme":"# Lightsocks-Nodejs\n[![Travis](https://img.shields.io/travis/chrisyer/lightsocks-nodejs.svg)](https://github.com/chrisyer/lightsocks-nodejs)\n![Node.js CI](https://github.com/chrisyer/lightsocks-nodejs/workflows/Node.js%20CI/badge.svg)\n[![npm](https://img.shields.io/npm/v/lightsocks-nodejs.svg)](https://www.npmjs.com/package/lightsocks-nodejs)\n[![npm](https://img.shields.io/npm/l/lightsocks-nodejs.svg)](https://www.npmjs.com/package/lightsocks-nodejs)\n\n\n一个轻量级网络混淆代理，基于 SOCKS5 协议，可用来代替 Shadowsocks。\n\n- 只专注于混淆，用最简单高效的混淆算法达到目的；\n- NodeJs 实现\n\n\u003eLightsocks 的实现原理？请阅读文章：[你也能写个 Shadowsocks](https://github.com/gwuhaolin/blog/issues/12)\n\n## 安装\nNodeJS版本\u003e=8\n\n```\nsudo npm install -g lightsocks-nodejs\n```\n\n## 使用\n\n### lsserver\n用于运行在代理服务器的客户端，会还原混淆数据\n```\n Usage: lsserver [options]\n\n  It's a simaple socks5 proxy tool which based on lightsocks\n\n  Options:\n\n    -V, --version           output the version number\n    -P, --password [value]  the password for server\n    -L, --listen [value]    the listen address for server\n    -h, --help              output usage information\n\n```\n如果不加任何参数，默认在当前用户文件夹下生成配置文件。\n\n### lslocal\n用于运行在本地电脑的客户端，用于桥接本地浏览器和远程代理服务，传输前会混淆数据\n\n```\n Usage: lslocal [options]\n\n  It's a simaple socks5 proxy tool which based on lightsocks\n\n  Options:\n\n    -V, --version           output the version number\n    -P, --password [value]  the password for server\n    -L, --listen [value]    the listen address for server\n    -R, --remote [value]    the remote server address\n    -h, --help              output usage information\n\n```\n\n## TODOS\n\n- [ ] 单元测试\n- [ ] lsserver/lslocal重写\n- [x] 优化日志输出\n- [ ] 添加注释/代码格式化\n\n## 相关\n- [lightsocks](https://github.com/gwuhaolin/lightsocks)： Go 实现版本\n- [lightsocks-python](https://github.com/linw1995/lightsocks-python)：Python 实现版本；\n- [lightsocks-android](https://github.com/XanthusL/LightSocks-Android)：Android 实现版本；\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyer%2Flightsocks-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisyer%2Flightsocks-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyer%2Flightsocks-nodejs/lists"}