Skip to content

rodaine/lobster-keys

Repository files navigation

Lobster Keys

A userscript providing keybindings for lobste.rs

Installation

Userscripts can be easily managed on all major browsers with extensions like TamperMonkey.

GreasyFork

  1. Navigate to Lobster Keys on Greasy Fork

  2. Click the Install This Script button

  3. Follow the instructions from your UserScript manager to complete the process.

Manually

  1. Navigate to the user script

  2. Copy the full source of the script

  3. Create a new script in your manager, paste the source, and save.

Key Bindings

On all pages with a story list (the homepage, recent, saved, search, etc.), the following keybindings are enabled:

Page Actions

Key Action
[ Open Previous Page
] Open Next Page
J Select Next Story
K Select Previous Story

Story Actions

Only apply with a story selected

Key Action
Enter Open Story URL
A Open Author/Poster Profile
C Open Comments
D Open Domain Search
F Open Flag Dropdown
H Toggle Hide
S Toggle Save
U Toggle Upvote

Development

# bootstrap
npm install

# tests
npm run test

# build
npm run build

# watch mode
npm run build -- -w