The OpenSesame
is for sharing files temporarily. If you have some big files that you don't want to host anywhere else, you can spin up OpenSesame
to serve those shared files directly from your box using a random path/url, then close it down after the other party have grabbed them. The url is only good for one-time, and will become useless even if it leaked later.
From v1.1.0 and up, uploading is possible too.
$ OpenSesame -h
Usage of OpenSesame:
-help
show usage help
-path string
path to serve files from (default "./")
-port string
listening port (default ":18888")
$ OpenSesame -help
Usage:
OpenSesame [flags..]
Flags:
-port listening port (OPENSESAME_PORT)
-path path to serve files from (OPENSESAME_PATH)
-help show usage help
Details:
-help
show usage help
-path string
path to serve files from (default "./")
-port string
listening port (default ":18888")
Will serve the files from the given path via web server
of the given port using a one-time random path.
- downloads are served from such path + 'd'
- upload is also possible from such path + 'u'
Exit and restart will serve from another random path.
The `-port` / `-path` can be overridden by environment variable(s)
`OPENSESAME_PORT` / `OPENSESAME_PATH`
$ OpenSesame
2023/03/06 16:31:06 Serving at http://localhost:18888, with
download path /3531258666d (http://localhost:18888/3531258666d)
upload path /3531258666u
The OpenSesame
is brought you by
and its contributor.
Powered by Go Easy WireFrame, , the one-stop wire-framing solution for Go cli based projects, from start to deploy.
All patches welcome.