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

Uploaded Python 3

File details

Details for the file publichost-0.1.4.tar.gz.

File metadata

  • Download URL: publichost-0.1.4.tar.gz
  • Upload date:
  • Size: 7.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.4.tar.gz
Algorithm Hash digest
SHA256 5488938765df9fd23d0df41e4397ebe0eabed3dd3c905eed7de2a0ba98429517
MD5 bb87929b87831140b480a9da53055245
BLAKE2b-256 3d509b8dbd1854c5f527ad9619c497f132220e94a78ccc4090ca1cb547d304c1

See more details on using hashes here.

File details

Details for the file publichost-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: publichost-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 83402681da7e807fadcc52d2f86ea55ccd2f58aae2ace807151853654c38b33c
MD5 2ffa1c0e4d626d394a3d87f93899a165
BLAKE2b-256 075aa7b21db1ec272371f69ad172cad556fe4ce9ff646e11903db19e3a4fb00b

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