Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anolilab/resume
Template to create your own resume
https://github.com/anolilab/resume
anolilab html json json-resume json-schema jsonresume jsonresume-theme-boilerplate pdf resume resume-creator resume-schema tailwind tailwindcss template
Last synced: about 4 hours ago
JSON representation
Template to create your own resume
- Host: GitHub
- URL: https://github.com/anolilab/resume
- Owner: anolilab
- Created: 2022-05-26T14:28:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:09:28.000Z (17 days ago)
- Last Synced: 2024-10-29T10:59:07.273Z (17 days ago)
- Topics: anolilab, html, json, json-resume, json-schema, jsonresume, jsonresume-theme-boilerplate, pdf, resume, resume-creator, resume-schema, tailwind, tailwindcss, template
- Language: TypeScript
- Size: 2.29 MB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Audit: audit-ci.jsonc
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Résumé
This is the theme repository for the [Json Résumé](https://jsonresume.org/) project. Unlike the [json-theme-boilerplate](https://github.com/jsonresume/jsonresume-theme-boilerplate) project, this environment has a much improved developer environment to make editing your theme super to do.
---
---
![Preview of the Theme](./preview.png)
## Installation
This project uses [pnpm](https://pnpm.io/), [vitejs](https://vitejs.dev/) and [vitest](https://vitest.dev/) for all its internal build processes. In theory, this project requires at lest Node v18 to run.
## Quick Commands
- `pnpm run dev` - Run the build and generate an résumé html page for development
- `pnpm run build` - Builds the résumé into a `html` file
- `pnpm run build:pdf` - Builds the résumé into a `pdf` file (requires `pnpm run build` to be called first)
- `pnpm run download:resume` - Download your gist resume.json (and resume.private.jons)
- `pnpm run serve` - Locally preview the production build## Creating your résumé.json
This project comes with `resume-sample.json`, which is a sample json résumé you can build from. If you don’t create a `resume.json` file, it will automatically be created against the `resume-sample.json` file.
It’s highly **recommended** to create your own `resume.json` for your own résumé. If you create a `resume.json`, this will automatically be used by the app instead. The `resume.private.json` file is automatically ignored from GIT to ensure you cannot check it in (since you’ll have personal information on there). If you do decide that you want to check it in, you can comment the following line in `.gitignore` like so:
```
# Keep your personal resume.json private
# resume.json
# resume.private.json
```Please review the [schema here](https://jsonresume.org/schema/) when creating your `resume.json`.
## Developing your résumé
- Copy the `.env.dist` to `.env.local`
- To make use of the `GitHub stars` feature, fill the `VITE_GITHUB_AUTH_TOKEN` variable with your `GitHub auth_token`, to not run into GitHub’s API limitation
- To use the `pnpm run download:resume` command, fill the `VITE_GITHUB_RESUME_GIST_ID` variable with your `gist id`
- Start the dev server (`pnpm run dev`)## Generating an résumé locally
To generate an résumé locally:
- Copy the `.env.dist` to `.env.local`
- To make use of the `GitHub stars` feature, fill the `VITE_GITHUB_AUTH_TOKEN` variable, to not run into GitHub’s API limitation
- Start the dev server (`pnpm run dev`)
- Print the web page (⌘/Ctrl+P) as a PDF In fact, this
Is exactly how the PDF is generated by the pipeline. Since the pipeline uses
[headless Chrome](https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md#headless-chromium),
printing the résumé locally using Chrome will provide the most consistent
result.
- Or you can use the `pnpm run build:pdf"` command, but before you can use this command you need to call `pnpm run build`
- To check the build résumé, call `pnpm run serve`## Generating an résumé on netlify
- Provide the env variables `VITE_GITHUB_AUTH_TOKEN` to not get the `GitHub` API limit
- Option if you like to download the résumé from a `GitHub` gist, provide the `VITE_GITHUB_RESUME_GIST_ID` with your `gist id``netlify.toml`:
```toml
[build]
# If you download your resume.json (and resume.private.json) from a gist please use the command below and uncomment the current command
# command = "pnpm run download:resume && pnpm run build && pnpm run build:pdf"
command = "pnpm run build && pnpm run build:pdf"
publish = "dist"[build.environment]
NODE_VERSION = "18"
```## Why not use the PDF generated by the pipeline
The pipeline generates a PDF using the public information found in
`resume.json` and does not include any private data
specified in `resume.private.json`. (For example, phone numbers.)## Supported Node.js Versions
Libraries in this ecosystem make the best effort to track
[Node.js’ release schedule](https://nodejs.org/en/about/releases/). Here’s [a
post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).## Contributing
If you would like to help take a look at the [list of issues](https://github.com/anolilab/resume/issues) and check our [Contributing](.github/CONTRIBUTING.md) guild.
> **Note:** please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
## Credits
- [Daniel Bannert](https://github.com/prisis)
- [All Contributors](https://github.com/anolilab/resume/graphs/contributors)## License
The anolilab résumé is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT)