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.3.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.3.tar.gz.
File metadata
- Download URL: publichost-0.1.3.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 |
56eb61c13523b9c2003a61fa736247f3942a18fb97a690697177fb2173ff8005
|
|
| MD5 |
254cb053814ed9c970f101c408fdf593
|
|
| BLAKE2b-256 |
10ddaa4a8ccbacfaed07d3097f3b3a19c099708aa00ffe0d0f3f7a1dd9bba7b9
|
File details
Details for the file publichost-0.1.3-py3-none-any.whl.
File metadata
- Download URL: publichost-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.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 |
930912d244aa07f20262c19c3764aba842a3f443d7877bb0d9b8ed440cf8cd26
|
|
| MD5 |
28ad454f96cf7c4d2a9cce0efdf93c3e
|
|
| BLAKE2b-256 |
99b4e37e8de21db60cf5bc87a3bd2005ac14264ba9d89795efd77305eb754d62
|