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.3.tar.gz (6.5 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.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for publichost-0.1.3.tar.gz
Algorithm Hash digest
SHA256 56eb61c13523b9c2003a61fa736247f3942a18fb97a690697177fb2173ff8005
MD5 254cb053814ed9c970f101c408fdf593
BLAKE2b-256 10ddaa4a8ccbacfaed07d3097f3b3a19c099708aa00ffe0d0f3f7a1dd9bba7b9

See more details on using hashes here.

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

Hashes for publichost-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 930912d244aa07f20262c19c3764aba842a3f443d7877bb0d9b8ed440cf8cd26
MD5 28ad454f96cf7c4d2a9cce0efdf93c3e
BLAKE2b-256 99b4e37e8de21db60cf5bc87a3bd2005ac14264ba9d89795efd77305eb754d62

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