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

Uploaded Python 3

File details

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

File metadata

  • Download URL: publichost-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 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.0.tar.gz
Algorithm Hash digest
SHA256 05899f251f90a1d4b96a5f0482325010e81371a19b26bcaf69569cba2439738b
MD5 1e151a175b587b4672b06cf950d17696
BLAKE2b-256 eb494df5898f00519d44ed82abb40d2e10f7586458ad863d26fa44f25ff2240e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: publichost-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 667bbef9a955abd8805e1d4d7ee41d45e327f1bdecd5bfab82bfeb9ca8519541
MD5 b6dfde340f767fb61740be37e3849f0e
BLAKE2b-256 63c2adf4581a1d53599287ecaedbf8ab5f5e3d8b0f34bfc614343dde198b693f

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