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.
Source Distribution
Built Distribution
File details
Details for the file ancv-0.14.1.tar.gz
.
File metadata
- Download URL: ancv-0.14.1.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a46fb15a966175d80650382d712b2466cce3c4f34df1e58b5cd073fa08197557 |
|
MD5 | 9953108017dfa55d2e96e8de76c88ebf |
|
BLAKE2b-256 | cb374506c719802028fcb3eb67c520af5fc88a8049dd3ab729ef16350aaac007 |
File details
Details for the file ancv-0.14.1-py3-none-any.whl
.
File metadata
- Download URL: ancv-0.14.1-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1e53d9de7e032a324af3d9cdde9db0041fcc4e9189c450c29bfd7c135d3cff3 |
|
MD5 | 64be82fd301b92e213978c1e7c70fe8e |
|
BLAKE2b-256 | 6fda953aea8221f6e98e57fd3adce613be29a4aaedbfb805d528df6ef00c161e |