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.2.tar.gz
(6.5 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.2.tar.gz.
File metadata
- Download URL: publichost-0.1.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fa44618570603030c8812149d111fa3cf18097191bf64e831208ce2c86919cf
|
|
| MD5 |
ffd24d4f99c02e921b087d716a04c04a
|
|
| BLAKE2b-256 |
821ed13681652f1cade1a3d69790a64daf34f773172848f9a50ddcdaa997d3ff
|
File details
Details for the file publichost-0.1.2-py3-none-any.whl.
File metadata
- Download URL: publichost-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.4 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 |
8c3a8ff54a8c5e9f7982501a210821e442f101b2db2cc046334f06ffc1a0c22f
|
|
| MD5 |
cdfd9866372ea07426c70e86ccb035b9
|
|
| BLAKE2b-256 |
a262ddb837c902fddbc8899cd4e7fcaf4840be7530e5bdb2c7576e0843a7810c
|