Coder Social home page Coder Social logo

Holesail

Join our Discord Support Server

Overview

Holesail is a simple and flexible solution for creating a distributed hash table (DHT) server. It allows you to expose your local port to the network, making it accessible to other nodes.

Installation

Before using Holesail, make sure you have Node.js installed on your system. You can download Node.js from the official website: https://nodejs.org/en/download/

Once Node.js is installed, you can install Holesail Server using npm (Node Package Manager):

npm i holesail -g

Usage

To start a local Holesail Server, use the following command:

holesail --live port

Replace port with the desired port number you want to expose to the network.

This will give you a seed to connect to, use that to acess this server from anywhere:

holesail --connect SEED --port

Available options:

--live PORT: Create a tunnel on this port

--connect SEED: Connect to a tunnel using the seed generated from --live command

--host ADDRESS: Default address is 127.0.0.1, use it to change address to localhost or other

--port PORT: Use this option with --connect to set a custom port instead of the default port 8989

Example

To start a local Holesail Server on port 8080, use the following command:

holesail --live 8080

Help

If you need help or want to see the usage instructions, use the following command:

holesail --help

Graceful Goodbye

Holesail Server includes graceful goodbye functionality, which ensures that the server is properly shut down when you close the terminal or interrupt the process.

License

Holesail Server is released under the GPL-3.0 License. See the LICENSE file for more information.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

Acknowledgments

Holesail is built using the following open-source projects:

and other node packages.

holesail's Projects

holesail icon holesail

A P2P based node package to expose your local ports on the Holepunch protocol

holesail-server icon holesail-server

Server module for holesail to create and announce local server on the DHT

liveports icon liveports

A VS Code extension to instantly create a network tunnel and share websites on your localhost with anyone in the world.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.