在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):hacksalot/HackMyResume开源软件地址(OpenSource Url):https://github.com/hacksalot/HackMyResume开源编程语言(OpenSource Language):JavaScript 72.0%开源软件介绍(OpenSource Introduction):HackMyResumeCreate polished résumés and CVs in multiple formats from your command line or shell. Author in clean Markdown and JSON, export to Word, HTML, PDF, LaTeX, plain text, and other arbitrary formats. Fight the power, save trees. Compatible with FRESH and JRS resumes. HackMyResume is a dev-friendly, local-only Swiss Army knife for resumes and CVs. Use it to:
HackMyResume is built with Node.js and runs on recent versions of OS X, Linux, or Windows. View the FAQ. Features
InstallInstall the latest stable version of HackMyResume with NPM: [sudo] npm install hackmyresume -g Alternately, install the latest bleeding-edge version (updated daily): [sudo] npm install hacksalot/hackmyresume#dev -g Installing PDF Support (optional)HackMyResume tries not to impose a specific PDF engine requirement on the user, but will instead work with whatever PDF engines you have installed. Currently, HackMyResume's PDF generation requires one of Phantom.js, wkhtmltopdf, or WeasyPrint to be installed on your system and the corresponding binary to be accessible on your PATH. This is an optional requirement for users who care about PDF formats. If you don't care about PDF formats, skip this step. Installing ThemesHackMyResume supports both FRESH and JSON Resume-style résumé themes.
To install a JSON Resume theme, just # Install with NPM
npm install jsonresume-theme-[theme-name]
# Install with GitHub
git clone https://github.com/[user-or-org]/[repo-name] Then when you're ready to generate your resume, just reference the location of the theme folder as you installed it: hackmyresume build resume.json TO out/resume.all -t node_modules/jsonresume-theme-classy Note: You can use install themes anywhere on your file system. You don't need a package.json or other NPM/Node infrastructure. Getting StartedTo use HackMyResume you'll need to create a valid resume in either FRESH or JSON Resume format. Then you can start using the command line tool. There are five basic commands you should be aware of:
Supported Output FormatsHackMyResume supports these output formats:
UseAssuming you've got a JSON-formatted resume handy, generating resumes in different formats and combinations is easy. Just run: hackmyresume build <inputs> to <outputs> [-t theme]. Where # Generate all resume formats (HTML, PDF, DOC, TXT, YML, etc.)
hackmyresume build resume.json TO out/resume.all -t modern
# Generate a specific resume format
hackmyresume build resume.json TO out/resume.html
hackmyresume build resume.json TO out/resume.pdf
hackmyresume build resume.json TO out/resume.md
hackmyresume build resume.json TO out/resume.doc
hackmyresume build resume.json TO out/resume.json
hackmyresume build resume.json TO out/resume.txt
hackmyresume build resume.json TO out/resume.yml
# Specify 2 inputs and 3 outputs
hackmyresume build in1.json in2.json TO out.html out.doc out.pdf You should see something to the effect of:
AdvancedApplying a themeHackMyResume can work with any FRESH or JSON Resume theme (the latter must be
installed first). To specify a theme when generating your resume, use the hackmyresume build resume.json TO out/rez.all -t [theme] The hackmyresume build resume.json TO out/rez.all -t modern
hackmyresume build resume.json TO OUT.rez.all -t ../some-folder/my-custom-theme/
hackmyresume build resume.json TO OUT.rez.all -t node_modules/jsonresume-theme-classy FRESH themes are currently pre-installed with HackMyResume. JSON Resume themes can be installed prior to use: # Install a JSON Resume theme into a local node_modules subfolder:
npm install jsonresume-theme-[name]
# Use it with HackMyResume
hackmyresume build resume.json -t node_modules/jsonresume-theme-[name] As of v1.6.0, available predefined FRESH themes are Merging resumesYou can merge multiple resumes together by specifying them in order from most generic to most specific: # Merge specific.json onto base.json and generate all formats
hackmyresume build base.json specific.json TO resume.all This can be useful for overriding a base (generic) resume with information from a specific (targeted) resume. For example, you might override your generic catch-all "software developer" resume with specific details from your targeted "game developer" resume, or combine two partial resumes into a "complete" resume. Merging follows conventional extend()-style behavior and there's no arbitrary limit to how many resumes you can merge: hackmyresume build in1.json in2.json in3.json in4.json TO out.html out.doc
Reading JSON resume: in1.json
Reading JSON resume: in2.json
Reading JSON resume: in3.json
Reading JSON resume: in4.json
Merging in4.json onto in3.json onto in2.json onto in1.json
Generating HTML resume: out.html
Generating WORD resume: out.doc Multiple targetsYou can specify multiple output targets and HackMyResume will build them: # Generate out1.doc, out1.pdf, and foo.txt from me.json.
hackmyresume build me.json TO out1.doc out1.pdf foo.txt Using .allThe special # Generate all resume formats (HTML, PDF, DOC, TXT, etc.)
hackmyresume build me.json TO out/resume.all ..tells HackMyResume to read Building PDFsUsers who don't care about PDFs can turn off PDF generation across all themes
and formats with the HackMyResume takes a unique approach to PDF generation. Instead of enforcing a specific PDF engine on users, HackMyResume will attempt to work with whatever PDF engine you have installed through the engine's command-line interface (CLI). Currently that means any of... ..with support for other engines planned in the future. But for now, one or more of these engines must be installed and accessible on your PATH in order to generate PDF resumes with HackMyResume. That means you should be able to invoke either of these tools directly from your shell or terminal without error: wkhtmltopdf input.html output.pdf
phantomjs script.js input.html output.pdf
weasyprint input.html output.pdf Assuming you've installed one or both of these engines on your system, you can
tell HackMyResume which flavor of PDF generation to use via the hackmyresume build resume.json TO out.all --pdf phantom
hackmyresume build resume.json TO out.all --pdf wkhtmltopdf
hackmyresume build resume.json TO out.all --pdf weasyprint
hackmyresume build resume.json TO out.all --pdf none AnalyzingHackMyResume can analyze your resume for keywords, employment gaps, and other metrics. Run: hackmyresume analyze <my-resume>.json Depending on the HackMyResume version, you should see output similar to:
ValidatingHackMyResume can also validate your resumes against either the FRESH /
FRESCA or JSON Resume formats. To validate one or more existing
resumes, use the # Validate myresume.json against either the FRESH or JSON Resume schema.
hackmyresume validate resumeA.json resumeB.json HackMyResume will validate each specified resume in turn: *** HackMyResume v1.6.0 ***
Validating JSON resume: resumeA.json (INVALID)
Validating JSON resume: resumeB.json (VALID) ConvertingHackMyResume can convert between the FRESH and JSON Resume formats. Just run: hackmyresume convert <INPUTS> <OUTPUTS> where is one or more resumes in FRESH or JSON Resume format, and is a corresponding list of output file names. HackMyResume will autodetect the format (FRESH or JRS) of each input resume and convert it to the other format (JRS or FRESH). File-based OptionsYou can pass options into HackMyResume via an external options or ".hackmyrc"
file with the hackmyresume build resume.json -o path/to/options.json The options file can contain any documented HackMyResume option, including
{
"theme": "compact",
"sectionTitles": {
"employment": "Work"
},
"wkhtmltopdf": {
"margin-top": "20mm"
}
} If an option is specified on both the command line and in an external options file, the command-line option wins. # path/to/options.json specifes the POSITIVE theme
# -t parameter specifies the COMPACT theme
# The -t parameter wins.
hackmyresume build resume.json -o path/to/options.json -t compact
> Reading resume: resume.json
> Applying COMPACT theme (7 formats) PrettifyingHackMyResume applies js-beautify-style HTML prettification by default to
HTML-formatted resumes. To disable prettification, the hackmyresume build resume.json out.all --no-prettify Silent ModeUse hackmyresume build resume.json -o someFile.all -s
hackmyresume build resume.json -o someFile.all --silent Debug ModeUse hackmyresume build resume.json -d
hackmyresume analyze resume.json --debug Disable EncodingUse the hackmyresume build resume.json --no-escape Private Resume FieldsHave a gig, education stint, membership, or other relevant history that you'd
like to hide from most (e.g. public) resumes but sometimes show on others? Tag it with
"employment": {
"history": [
{
"employer": "Acme Real Estate"
},
{
"employer": "Area 51 Alien Research Laboratory",
"private": true
},
{
"employer": "H&R Block"
}
]
} Then, when you want a copy of your resume that includes the private gig / stint
/ etc., tell HackMyResume that it's OK to emit private fields. The way you do
that is with the hackmyresume build resume.json private-resume.all --private Custom theme helpersYou can attach your own custom Handlebars helpers to a FRESH theme with the
{
"title": "my-cool-theme",
// ...
"helpers": [
"../path/to/helpers/*.js",
"some-other-helper.js"
]
} HackMyResume will attempt to load each path or glob and register any specified files with Handlebars.registerHelper, making them available to your theme. ContributingHackMyResume is a community-driven free and open source project under the MIT License. Contributions are encouraged and we respond to all PRs and issues in time. See CONTRIBUTING.md for details. LicenseMIT. Go crazy. See LICENSE.md for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论