Create an online resume that can be accessed by a curl
command.
Download a
compatible binary for your system. For convenience, place resume
in a
directory where you can access it from the command line.
$ go install github.com/jpbruinsslot/resume/cmd/resume@latest
$ docker build -t resume .
$ resume \
-port 8080 \
-path /resume \
-user show \
-pass me
$ curl http://localhost:8080/resume -u show:me
$ docker run -p 8080:8080 \
--env PORT=8080 \
--env PATH=/resume \
--env USER=show \
--env PASS=me \
-v path-to-resume.tmpl:/resume.tmpl \
resume
$ curl http://localhost:8080/resume -u show:me
You'll be able to pass some arguments to the application
Argument | Description |
---|---|
port |
port to serve on (default: 80) |
path |
optional url path (default: /) |
template |
filename of template (default: resume.tmpl) |
user |
username used for authentication (default: "") |
pass |
password used for authentication (default: "") |
The resume.tmpl
has an example of how you could structure your resume. To
see what colors you'll be able to use, inspect the colors.go
file.
For more color styles, you can use the function
{{.ColorCode "your-style-here"}}
in the template. See https://github.com/mgutz/ansi#style-format
for the style format.