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.
- Host: GitHub
- URL: https://github.com/pierreportal/hostshare
- Owner: pierreportal
- Created: 2022-06-26T11:58:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T16:53:50.000Z (over 1 year ago)
- Last Synced: 2025-04-06T09:44:22.354Z (about 1 year ago)
- Topics: developer-tools, development-environment, localhost, webpack
- Language: Shell
- Homepage:
- Size: 99.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

## 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)