npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

shadowsocks-websocket

v0.2.1

Published

A fast tunnel proxy that helps you bypass firewalls

Downloads

6

Readme

shadowsocks-over-websocket

基于 shadowsocks 协议的翻墙工具 , 可部署在 Heroku 平台上 , 实现免费科学上网

如何部署在 Heroku 平台上

1.准备工作

2.Fork 本项目 到个人账号下

1 进入 https://github.com/VincentChanX/shadowsocks-over-websocket 页面 ==> Fork


3.创建 Heroku 应用

2 登陆 Heroku 帐号,进入 Dashboard 页面 ==> Create New App ==> 输入 App Name ==> Create App


4.Heroku 帐号与 Github 帐号关联

3 进入 Deploy 页面 ==> 选择 Deployment Method 为 Github ==> Connect to GitHub


5.选择要关联的Github项目

4 选择GitHub帐号 ==> 查找shadowsocks-over-websocket ==> Connect


6.部署 master 分支

5


7.配置环境变量

6 Setting 页面 ==> Reveal Config Vars

需要配置 METHOD(加密方法),PASSWORD(密码,推荐使用aes-256-cfb),SERVER_ADDRESS(0.0.0.0) 三个环境变量,支持以下加密方法:

  • rc4
  • rc4-md5
  • table
  • bf-cfb
  • des-cfb
  • rc2-cfb
  • idea-cfb
  • seed-cfb
  • cast5-cfb
  • aes-128-cfb
  • aes-192-cfb
  • aes-256-cfb
  • camellia-256-cfb
  • camellia-192-cfb
  • camellia-128-cfb

启动客户端:

命令行启动:

  1. 安装 nodejsgit
  2. 执行 git clone https://github.com/VincentChanX/shadowsocks-over-websocket.git 命令
  3. 进到本项目目录,执行npm install 命令
  4. 执行 node local.js -s app名称.herokuapp.com -l 1080 -m 设置的加密算法 -k 设置的密码 -p 80 命令,启动成功

Chrome 浏览器配置

  1. 下载 Chrome 浏览器插件 SwitchyOmega

  2. 安装 SwitchyOmega 插件:打开浏览器的扩展程序页面 chrome://extensions,把SwitchyOmega.crx文件拖放到浏览器扩展程序页面安装

  3. 新建情景模式 local-proxy,配置 SwitchyOmega :代理协议:SOCKS5 代理服务器:127.0.0.1 代理端口:1080,如下图: 7

  4. 配置 auto switch 情景模式,添加规则列表网址: https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt 并更新情景模式,规则列表规则处的情景模式选中为上一步创建的 local-proxy ,配置如下图: 8

  5. 选中 auto switch 情景模式: 9

  6. 现在你就可以科学上网了