👉 You should edit the config file👈 before running any other commands, as this is where your scoring rules are stored.  Some samples rules are pr

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-10-31 15:00:13

👉 You should edit the config file👈 before running any other commands, as this is where your scoring rules are stored. Some samples rules are provided in the generated file. Each rule is a golang regex which must be JSON escaped (\b -> \\b).

After you've set up your rules, run hnjobs again and it will auto-fetch the most-recent job story, score the jobs by your criteria, and show the TUI.

If you hate orange, you can edit your config file to use one of the built-in themes: material or gruvbox[dark|light]<hard|soft> (example: gruvboxdarkhard).

If you want to take a crack at making your own, have a look at the default theme which is generated on first-run at UserConfigDir/hnjobs/theme-default.json (on linux: ~/.config/hnjobs/theme-default.json). You can either edit this or copy it to theme-foo.json and set your config's theme to foo.

Leave a Comment