lpweb

command module
v0.0.0-...-bab7392 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 1 Imported by: 0

README

lpweb

lpweb is a way to access http service though libp2p. This allows to expose your http service even if you only have private ip like services running in your local machine or your home rapPi. It gives you domain name using your libp2p public key.

<libp2p_key_hash>.lpweb

browser => ( proxy_or_extension_with_libp2p) => (another_libp2p_node_with_http_service)

But you need access to both ends, run tunnel on one side and use proxy on other


# target machine
lpweb http-tunnel --port=4000 # where 4000 is port you want to tunnel, your websevice/ dev port / python3 -m http.server

# go run main.go http-tunnel --port=4000 # same as above

# another machine
lpweb web-proxy --port=8080 # 8080 is a proxy port, use in browser/networking

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cli
ws
code

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL