Adding a Command Palette to Hacker News
Kreamsicle
Kreamsicle is a userscript that adds a command palette to Hacker News. Press Cmd+K (or Ctrl+K) to open it, then type to filter commands or search stories, users, comments, and domains.
It includes vim-style keyboard shortcuts:
gtfor top storiesgnfor newg1-g30to jump directly to a story by its position on the page.
I built it because I wanted faster navigation on HN without reaching for the mouse. The entire thing is a single JavaScript file with no dependencies. Source code is on GitHub.
To install, you'll need a userscript manager. On Chrome, install Tampermonkey from the Chrome Web Store. On Firefox, install Violentmonkey or Tampermonkey.
Once you have a userscript manager, open the kreamsicle.user.js file directly, your manager will prompt you to install it. After that, visit Hacker News and press Cmd+K to open the palette.
Contributions and feedback are welcome!