Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

publichost-0.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for publichost-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c8a10be7c0f7c34445d04f77a7e11216e4a6930fea58dd4ea7c245cc776d2bf4
MD5 abfcc28530c76d839fb8db9a8f5b21a2
BLAKE2b-256 7d6afb7f7306d1d4251b879df212381c44ed2643841f3f310ac60e6736662312

See more details on using hashes here.

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

Hashes for publichost-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2637de9753faf7209d7a960ff1f7bcec78d0624882d5caeb0e5530801bd3ffe
MD5 846be9999d029e7e66aaaf9737c5054b
BLAKE2b-256 57e8185a319b0bf95f24db1fec8b6aace18c6ddc24c1c0c2ab34fcbed121e721

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page