Skip to main content

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:

Users Venn diagram

Getting started

  1. Create a resume according to the JSON Resume Schema (see also the schema specification) either:

  2. Create a public gist named resume.json with those resume contents. See here for a working example from the author.

  3. Try it out, using...

    • curl:

      curl -L ancv.io/username
      

      with -L being shorthand for --location, allowing you to follow the redirect from http://ancv.io through to https://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 for Invoke-Webrequest, returning an object.

    For a quick, working example replace username with alexpovel.

Configuration

All configuration is optional.

The CV is constructed as follows:

conceptual flow chart

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

github logo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ancv-0.14.1.tar.gz (21.1 kB view hashes)

Uploaded Source

Built Distribution

ancv-0.14.1-py3-none-any.whl (22.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page