Render 'JSON Resume' sources to ANSI-enriched output for terminal clients (cURL, wget, ...) to consume.
Project description
ancv
Getting you an CV (ANSI-v 🤡) straight to your and anyone else's terminals.
Be warned though, for this is kinda useless and just for fun:
Getting started
-
Create a resume according to the JSON Resume Schema (see also the schema specification) either:
- manually (see this sample for a possible starting point),
- exporting from LinkedIn using Joshua Tzucker's LinkedIn exporter (repo), or
- exporting from one of the platforms advertised as offering JSON resume integration.
-
Create a public gist named
resume.json
with those resume contents. See here for a working example from the author. -
Try it out, using...
-
curl:
curl -L ancv.io/username
with
-L
being shorthand for--location
, allowing you to follow the redirect fromhttp://ancv.io
through tohttps://ancv.io
. It's shorter than its also perfectly viable alternative:curl https://ancv.io/username
Lastly, you might want to page the output for easiest reading, top-to-bottom:
curl -sL ancv.io/username | less
-
wget:
wget -O - --quiet ancv.io/username
where
-O
is short for--output-document
, used here to redirect to stdout. -
PowerShell (5 and 7):
(iwr ancv.io/username).Content
where
iwr
is an alias forInvoke-Webrequest
, returning an object.
For a quick, working example replace
username
withalexpovel
. -
Configuration
All configuration is optional.
The CV is constructed as follows:
These components may be controlled using the ancv
field in your resume.json
:
{
"basics": {},
"education": [],
"meta": {
"ancv": {
"template": "Sequential",
"theme": "basic",
"ascii_only": false,
"language": "en"
}
}
}
The shown values are the default ones.
All fields, including the ancv
one itself, are optional, and the above defaults will be set for omitted fields.
This means a valid JSON resume (without an ancv
section) is also valid here.
The currently available options can be printed out:
$ pip install ancv >> /dev/null && ancv list
Components
├── Templates
│ └── Sequential
├── Themes
│ ├── plain
│ └── basic
└── Translations
├── en
└── de
Installation as a library
For local use, install the package as usual. Note that it's pretty heavy on the dependencies.
pip install ancv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.