Skip to content

Commit f1fbf8d

Browse files
ion05claude
andcommitted
Ship a Goodreads search shortcut again
`gr` and `goodreads` search books and reviews. It shipped until v1.1.0 pruned it along with the `media` category it was filed under, and it comes back in Search, which is where a book search belongs now that categories are open section ids. It leaves extras/packs/removed-commands.json in the same commit. That file is the commands that no longer ship, so an entry there for one that does is a duplicate, and the pack's aliases would collide with the registry's. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent ce4d8cf commit f1fbf8d

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Added
1313

14+
- `gr` (also `goodreads`): search books and reviews on Goodreads. It shipped
15+
until v1.1.0 dropped the `media` category it was filed under; it is back, in
16+
Search.
1417
- `track <number>` (also `pkg`): one keyword for any parcel. BunnyLol reads
1518
the carrier (UPS, USPS, FedEx or DHL) off the shape of the number and opens
1619
that carrier's own tracking page. A number nobody recognises is searched

‎extras/packs/removed-commands.json‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -817,18 +817,6 @@
817817
"category": "media",
818818
"example": "lb parasite"
819819
},
820-
{
821-
"keys": [
822-
"gr",
823-
"goodreads"
824-
],
825-
"name": "Goodreads",
826-
"description": "Search books and reviews.",
827-
"url": "https://www.goodreads.com/",
828-
"searchUrl": "https://www.goodreads.com/search?q={q}",
829-
"category": "media",
830-
"example": "gr project hail mary"
831-
},
832820
{
833821
"keys": [
834822
"mal",

‎src/lib/commands.ts‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,16 @@ export const BUILTIN_COMMANDS: BuiltinCommand[] = [
564564
builtin: true,
565565
example: 'ebay thinkpad x1',
566566
},
567+
{
568+
keys: ['gr', 'goodreads'],
569+
name: 'Goodreads',
570+
description: 'Search books and reviews.',
571+
url: 'https://www.goodreads.com/',
572+
searchUrl: 'https://www.goodreads.com/search?q={q}',
573+
category: 'search',
574+
builtin: true,
575+
example: 'gr project hail mary',
576+
},
567577
{
568578
keys: ['hn', 'hackernews'],
569579
name: 'Hacker News',

0 commit comments

Comments
 (0)