https://github.com/jpbruinsslot/resume
📄 Create an online resume that can be accessed by a `curl` command.
https://github.com/jpbruinsslot/resume
cli command-line curl go golang resume terminal
Last synced: about 1 month ago
JSON representation
📄 Create an online resume that can be accessed by a `curl` command.
- Host: GitHub
- URL: https://github.com/jpbruinsslot/resume
- Owner: jpbruinsslot
- License: mit
- Created: 2016-06-17T12:12:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T11:06:24.000Z (over 1 year ago)
- Last Synced: 2025-04-15T00:03:48.246Z (about 1 month ago)
- Topics: cli, command-line, curl, go, golang, resume, terminal
- Language: Go
- Homepage:
- Size: 1.94 MB
- Stars: 78
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📄 Resume
Create an online resume that can be accessed by a `curl` command.
## 📸 Screenshot

## 📦 Installation
### Binary installation
[Download](https://github.com/jpbruinsslot/resume/releases) a
compatible binary for your system. For convenience, place `resume` in a
directory where you can access it from the command line.### Via Go
```text
$ go install github.com/jpbruinsslot/resume/cmd/resume@latest
```### Via Docker
```
$ docker build -t resume .
```## 💻 Usage
### Command line
```
$ resume \
-port 8080 \
-path /resume \
-user show \
-pass me
$ curl http://localhost:8080/resume -u show:me
```### Docker
```
$ 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
```## 🔧 Configuration
## Arguments
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: "") |## Templating
The [`resume.tmpl`](./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`](./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.