Make localhost public in one line
Project description
PublicHost
Make localhost public in one line.
Installation
pip install publichost
Usage
from publichost import Tunnel
tunnel = Tunnel(port=3000)
print(f"Public URL: {tunnel}") # https://x8k2p.publichost.dev
Need a custom subdomain?
tunnel = Tunnel(port=3000, subdomain="myapp")
Features
- 🚀 Single line to get public URL
- 🌐 Random or custom subdomains
- 💻 Works with any local web server
License
MIT License - see LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
publichost-0.1.0.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file publichost-0.1.0.tar.gz.
File metadata
- Download URL: publichost-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05899f251f90a1d4b96a5f0482325010e81371a19b26bcaf69569cba2439738b
|
|
| MD5 |
1e151a175b587b4672b06cf950d17696
|
|
| BLAKE2b-256 |
eb494df5898f00519d44ed82abb40d2e10f7586458ad863d26fa44f25ff2240e
|
File details
Details for the file publichost-0.1.0-py3-none-any.whl.
File metadata
- Download URL: publichost-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
667bbef9a955abd8805e1d4d7ee41d45e327f1bdecd5bfab82bfeb9ca8519541
|
|
| MD5 |
b6dfde340f767fb61740be37e3849f0e
|
|
| BLAKE2b-256 |
63c2adf4581a1d53599287ecaedbf8ab5f5e3d8b0f34bfc614343dde198b693f
|