Project inspired by Expose
With GoExpose is possible to create public URLs for local sites. You can receive Webhooks on your local environment and share your local projects with others.
- Go 1.21+
You can compile running go build .
To create a server: goexpose server
To share your local site: goexpose share --server=http://localhost:3000 http://localhost:8080
To add support to SSL connections use the flags --certFile
and --keyFile
in server command:
goexpose server --certFile=/etc/letsencrypt/live/example.com/fullchain.crt --keyFile=/etc/letsencrypt/live/example.com/privkey.key
When execute the client just change the server url protocol to https
To enable the Basic Auth just pass the --basicAuth
flag with the user and password separated by :
like the example bellow:
goexpose share --basicAuth=test:password --server=http://localhost:3000 http://localhost:8080