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.1.tar.gz
(6.2 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.1.tar.gz.
File metadata
- Download URL: publichost-0.1.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8a10be7c0f7c34445d04f77a7e11216e4a6930fea58dd4ea7c245cc776d2bf4
|
|
| MD5 |
abfcc28530c76d839fb8db9a8f5b21a2
|
|
| BLAKE2b-256 |
7d6afb7f7306d1d4251b879df212381c44ed2643841f3f310ac60e6736662312
|
File details
Details for the file publichost-0.1.1-py3-none-any.whl.
File metadata
- Download URL: publichost-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.1 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 |
e2637de9753faf7209d7a960ff1f7bcec78d0624882d5caeb0e5530801bd3ffe
|
|
| MD5 |
846be9999d029e7e66aaaf9737c5054b
|
|
| BLAKE2b-256 |
57e8185a319b0bf95f24db1fec8b6aace18c6ddc24c1c0c2ab34fcbed121e721
|