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

iwebpp.io-controller

v3.3.0

Published

iWebPP.io protocol controller service for node.js

Downloads

10

Readme

iwebpp.io-controller

iWebPP.IO controller serivices to support iwebpp.io protocol

Discussion group

Prerequest

  • Build Neo4j 2.1.8 on Linux with Docker, then start Neo4j services

    ./neo4jpkg
  • Copy Neo4j packages out of Docker image to local

    ./neo4jpkg cp -rf /tmp/*.tar* .

Install

  • iwebpp.io-controller depends on node-httpp, please build it from repo node-httpp

  • clone this repo and install dependency modules

    npm config set strict-ssl false -g
    npm i [email protected] -g    
    npm i
  • generate SSL certs once for your own Domain Name, like

    ./tools/genSrvKey.bash 51dese.com

  • start controller services

    ~/node-httpp/node ./bin/srv.js

  • now ready to serve iwebpp.io client

Install on Linux with Docker

  • Build node-httpp docker images, refer to node-httpp

  • Clone this repo

  • Install dependency modules

    ./appbld npm i
      
  • Generate SSL certs once for your own Domain Name, like

    ./appbld ./tools/genSrvKey.bash 51dese.com
      
  • Packaging and start services

    ./apppkg 
    
    Start services ...
    name-server-0 listen on udp port 51686
    name-server-1 listen on udp port 51868
    agent-server listen on udp port 51866
    httpp proxy-server listen on udp port 51688
    http proxy-server listen on tcp port 51688
  • Testing service if start successfully

    ./apppkg node tests/connection.js 
    
    node tests/connection.js ...
    connecting to alternative name-server successfully
    connecting to primary name-server successfully

Code structure


* sdp.js                 - Session Desription implementation
* stun.js                - STUN protcol implementation
* turn.js                - TURN protocl implementation
* db/sdp.js.             - Session data model persistent in GraphDB
* vurl.js.               - Virtual URL implementation

* iwebpp.io-server.js    - iWebPP.io protocol controller implementation
* iwebpp.io-server-v2.js - iWebPP.io protocol controller V2 implementation using SecureWebsocket and NaclCert

* ssl.js                 - SSL/RSA certs generate utils
* demos/                 - demos
* ca-certs               - your own Root CA certs
* certs                  - dynamical generated SSL/RSA certs for connections
* routepath.js           - pure JS tracerouter implementation using UDP/TTL probe. TBD

More demos:

Look on demos/

TODO:

  • User authentication
  • Domain authorization
  • Improve documents, Protocol Spec, RFC draft

Support us

  • Welcome contributing on document, codes, tests and issues

License

(The MIT License)

Copyright (c) 2012-present Tom Zhou([email protected])