Skip to content

Commit

Permalink
Merge pull request #13 from levino/feature/run-prettier-in-ci
Browse files Browse the repository at this point in the history
Feature/run prettier in ci
  • Loading branch information
levino authored Nov 24, 2023
2 parents e0e5559 + ab5e0e7 commit 9c80b6e
Show file tree
Hide file tree
Showing 52 changed files with 605 additions and 472 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
root: true,
// This tells ESLint to load the config from the package `eslint-config-custom`
extends: ["custom"],
extends: ['custom'],
settings: {
next: {
rootDir: ["apps/*/"],
rootDir: ['apps/*/'],
},
},
};
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: ["master"]
branches: ['master']
pull_request:
types: [opened, synchronize]

Expand All @@ -24,10 +24,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm lint
run: pnpm turbo lint prettier
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/.next/**/*
pnpm-lock.yaml
apps/homepage/_layouts/compress.html
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
singleQuote: true
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ PINECONE_ENVIRONMENT=
OPENAI_API_KEY=
```


## App - Registry

```
Expand All @@ -68,7 +67,6 @@ pnpm dev --filter=registry

This will start a local server at [http://localhost:3002/thomasdavis](http://localhost:3002/thomasdavis)


### Formats

- Markdown
Expand All @@ -78,6 +76,7 @@ This will start a local server at [http://localhost:3002/thomasdavis](http://loc
- Lex

### Notes

- Gonna drop Typescript, prefer less barriers to entry
- Templates cannot read from the file system when using the registry
- Base templates using react/svelte/etc
Expand All @@ -91,7 +90,7 @@ pnpm dev --filter=homepage

Kind of a mess, but it works.

It uses Jekyll, to install it
It uses Jekyll, to install it

```
gem install bundler jekyll
Expand All @@ -102,35 +101,33 @@ Then to run it
```
jekyll serve
```

## AI

This repo contains some fun examples of AI/LLM usage. Each feature can be reached by simply appending your normal hosted url with the following;

### Jobs

This project creates embeddings out of Hacker News Who Is Hiring post, it then generates an embedding of your resume. Then uses vector similarity matching to recommend what jobs would be most applicable to you.
This project creates embeddings out of Hacker News Who Is Hiring post, it then generates an embedding of your resume. Then uses vector similarity matching to recommend what jobs would be most applicable to you.

It is not setup to be automated at the moment, and the formatting is garbage. Each post should be sent to GPT to reformat it into a templated job description before generating embeddings.


[http://localhost:3002/thomasdavis/jobs](http://localhost:3002/thomasdavis/jobs)

### Letter

This is a very simple service that prompts GPT with your resume and asks to generate a cover letter.

It could be easily improved to also contain the context of the job you are applying for.
It could be easily improved to also contain the context of the job you are applying for.

[http://localhost:3002/thomasdavis/letter](http://localhost:3002/thomasdavis/letter)


### Suggestions

This is a very simple service that prompts GPT with your resume and asks to generate a list of suggestions for you to improve your resume.

[http://localhost:3002/thomasdavis/suggestions](http://localhost:3002/thomasdavis/suggestions)


### Interview

This is an implementation of a chat bot, your resume is injected, and the conversation is included in the prompt. So you can interview your self or talk as if you were being interviewed.
Expand Down
2 changes: 1 addition & 1 deletion apps/homepage/_config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: JSON Resume
description: "JSON Resume is a community driven open source initiative to create a JSON based standard for resumes."
description: 'JSON Resume is a community driven open source initiative to create a JSON based standard for resumes.'
permalink: pretty
markdown: kramdown
include:
Expand Down
6 changes: 1 addition & 5 deletions apps/homepage/_data/broken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
github: phoinixi
author: Francesco Esposito
link: https://github.com/phoinixi

- name: Actual
slug: actual
github: davcd
Expand All @@ -28,15 +28,12 @@
author: Lorenzo Dal'Aqua
link: https://github.com/lorenzodalaqua



- name: Modern
slug: modern
github: thomasdavis
author: Thomas Davis
link: https://registry.jsonresume.org/thomasdavis


- name: Slick
slug: slick
github: dfmcphee
Expand All @@ -54,7 +51,6 @@
github: phoinixi
author: Francesco Esposito
link: https://github.com/phoinixi

# https://registry.jsonresume.org/thomasdavis?theme=macchiato
# https://registry.jsonresume.org/thomasdavis?theme=papirus
# https://registry.jsonresume.org/thomasdavis?theme=tan-responsive
Expand Down
109 changes: 51 additions & 58 deletions apps/homepage/_data/themes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,112 +54,105 @@

- name: Compact
slug: compact
github:
author:
link:
github:
author:
link:

- name: Contempo
slug: contempo
github:
author:
link:

github:
author:
link:

- name: Direct
slug: direct
github:
author:
link:
github:
author:
link:

- name: Dinesh
slug: dinesh
github:
author:
link:
github:
author:
link:

- name: Fresh
slug: fresh
github:
author:
link:
github:
author:
link:

- name: Full
slug: full
github:
author:
link:
github:
author:
link:

- name: Joeytall
slug: joeytall
github:
author:
link:
github:
author:
link:

- name: One Page Plus
slug: onepage-plus
github:
author:
link:

github:
author:
link:

- name: Kwan
slug: kwan-linkedin
github:
author:
link:
github:
author:
link:

- name: Resu
slug: resu
github:
author:
link:
github:
author:
link:

- name: Rickosborne
slug: rickosborne
github:
author:
link:

github:
author:
link:

- name: Riga
slug: riga
github:
author:
link:

github:
author:
link:

- name: Spartacus
slug: spartacus
github:
author:
link:

github:
author:
link:

- name: Timeline Fixed
slug: timeline-fixed
github:
author:
link:

github:
author:
link:

- name: Tachyons Clean
slug: tachyons-clean
github:
author:
link:

github:
author:
link:

- name: Simple
slug: simple
github:
author:
link:
github:
author:
link:

- name: Sceptile
slug: sceptile
github:
author:
link:
github:
author:
link:

- name: Classy
slug: classy
Expand Down
2 changes: 1 addition & 1 deletion apps/homepage/_layouts/compress.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Jekyll layout that compresses HTML
# v3.0.2
# https://jch.penibelst.de/
# © 20142015 Anatol Broder
# © 2014-2015 Anatol Broder
# MIT License
---

Expand Down
Loading

2 comments on commit 9c80b6e

@vercel
Copy link

@vercel vercel bot commented on 9c80b6e Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9c80b6e Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.