https://github.com/stackoverflowexcept1on/bump-my-resume
Tool for Headhunter that can automatically update resumes
https://github.com/stackoverflowexcept1on/bump-my-resume
cv-updater headhunter-api resume rust selenium
Last synced: about 1 year ago
JSON representation
Tool for Headhunter that can automatically update resumes
- Host: GitHub
- URL: https://github.com/stackoverflowexcept1on/bump-my-resume
- Owner: StackOverflowExcept1on
- Created: 2022-12-10T21:16:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-03T21:20:16.000Z (almost 3 years ago)
- Last Synced: 2024-04-23T11:55:43.539Z (almost 2 years ago)
- Topics: cv-updater, headhunter-api, resume, rust, selenium
- Language: Rust
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### bump-my-resume
[](https://github.com/StackOverflowExcept1on/bump-my-resume/actions)
[](https://crates.io/crates/headhunter-cli)
[](https://docs.rs/headhunter-bindings/)
Tool for Headhunter that can automatically update resumes
Now you can simply register the application at https://dev.hh.ru/admin and get an access token once using Selenium. This
tool will simulate activity on a job search website and keep your resume on top.
### Requirements
- ChromeDriver
- Windows: [windows-latest-chrome.ps1](https://github.com/stevepryde/thirtyfour/blob/main/ci/windows-latest-chrome.ps1)
- Linux: [ubuntu-latest-chrome](https://github.com/stevepryde/thirtyfour/blob/main/ci/ubuntu-latest-chrome)
- macOS: [macos-latest-chrome](https://github.com/stevepryde/thirtyfour/blob/main/ci/macos-latest-chrome)
- Account on https://hh.ru
- `login`
- `password`
- Registered application on https://dev.hh.ru/admin
- `client_id` looks like `UWWE5NX5SXFVJAFVBDB3M1P8B7K3L0XK4HIJWFEPAZLW0CGRMUA997PG38I21C71`
- `client_secret` looks like `GGIGAZEFM796C6ZSTV0O5UUNIY06GVTC45XFZKEUEEB9ZIMP2ZMICXVDGQBTF2BT`
### Installing
```bash
# run ChromeDriver on the another thread (it should use port 9515)
chromedriver &
# pass authorization, this requires a ChromeDriver
cargo build --release
# replace it with your data
./target/release/headhunter-cli auth \
"client_id" \
"client_secret" \
"login" \
"password"
# credentials are written to response.json
cat response.json
# you can now use the CLI to update the latest date on your resume
./target/release/headhunter-cli bump
```
### Building statically linked binary on Linux
I found that useful for running on remote machine. You need to add some packages and musl target to do that.
```bash
# add musl-gcc command
sudo apt install musl-tools
# add linux musl target
rustup target add x86_64-unknown-linux-musl
# build statically linked binary
cargo build --release --target x86_64-unknown-linux-musl
# note: it's available in bit different directory
./target/x86_64-unknown-linux-musl/release/headhunter-cli --help
```
### Configuration on server
1. put `response.json` and `./target/release/headhunter-cli` to the same directory, e.g. to `/root/bump-my-resume`
2. run `crontab -e`
3. append it with line like this: `0 */1 * * * cd /root/bump-my-resume && ./target/release/headhunter-cli bump >> out.txt 2>&1`