An open API service indexing awesome lists of open source software.

https://github.com/pierreportal/hostshare

An easy way to share private IP and port with other devices in the network. Quite handy when developing front end applications.
https://github.com/pierreportal/hostshare

developer-tools development-environment localhost webpack

Last synced: 2 months ago
JSON representation

An easy way to share private IP and port with other devices in the network. Quite handy when developing front end applications.

Awesome Lists containing this project

README

          

# Hostshare

An easy way to share private IP and port with other devices in the network. Quite handy when developing front end applications.

![hostshareusage (1)](https://github.com/user-attachments/assets/6ac8f07d-9b9c-4a2c-abf4-629007ac4a0b)

## Install
- Download the script into your home directory

`$ curl -o ${HOME}/hostshare.sh https://raw.githubusercontent.com/pierreportal/hostshare/master/hostshare.sh`
- Make script executable

`$ chmod +x ${HOME}/hostshare.sh`
- Source the script inside `.zshrc`

`$ echo "source ${HOME}/hostshare.sh" >> ${HOME}/.zshrc`
- Source `.zshrc`

`$ source ${HOME}/.zshrc`

## Usage:
`$ hostshare -p [-s]`
(optional -s option for using https)