-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some more possible destinations #174
Comments
Thanks for sharing these links @mrienstra – some of them are new to me! I'd be interested in adding more tools, but I’m not quite sure how to elegantly go beyond one-character keywords. I’m afraid that if we introduce too many shortcuts, people may start jumping to wrong URLs, which will bring more harm than benefit. I wonder if there’s room for something like |
That's a cool idea! Although I think I'd prefer keeping that second step in the CLI, something like this:
Here's how that might look with 2-character keywords: Personally, I don't think two-character keywords would be all that terrible, but I definitely think most users will only be a actively using a few. I've been pondering the addition of a config, so users can change the default keywords as desired, maybe disable destinations they don't plan to use, or otherwise tweak the behavior. Edit: screenshots above cobbled together with this code. Edit 3: The above is CLI-centric, but something similar could be done on the website (keyboard shortcuts, minimal keystrokes, option to keep hands on keyboard). |
If you decide to go this route, check out |
Down to work on this if you'd like. Also, small detail, but the prompt could show a default entry of |
👋 @mrienstra! Before we add more keywords, what we probably need is a universal way of providing search prompts for the query (like Google does when we type text in the browser’s address bar). Maybe we should explore this direction first, find a universal solution and then port it to all interfaces we have (which will include CLI). WDYT? |
Some of my insights. I'm using this package extensively, daily. My most used shortcuts are I'm using this package because it increases speed drastically. Personally, I wouldn't mind having shortcuts that will use 2 letters. After you learn them it is very easy to move around. Having a way to set your own, or disable some shortcuts could also be a nice solution. Do we have any analytics on what are the most used shortcuts, or how many users use Having services with the name of 2 words we can use their initials:
|
I suggest that we figure out search autocompletion first as it will help with navigating between more destinations. We can frame the feature like this:
I don't have any experience with this kind of stuff bu I believe that we need a new API endpoint which can be auto-discovered by Chrome, FF, Alfred etc. When this is sorted, we can add autocompletion support to njt.vercel.app and CLI. This will unblock pretty much any number of destinations we want. Adding two-letter destinations now will make the tool harder to use because it's difficult to remember a lot of abbreviations. |
One more possible destination
|
One more possible destination
|
Neat tool! I can see how it will save time if I remember to use it!
Some of these are kinda random, some of these I actually use, but thought I'd just go for it, in case any of them strike a chord.
https://npmtrends.com/njt
npm-audit
: https://www.gyanblog.com/tutorials/how-node-npm-audit-rest-api-vulnerability/https://npmgraph.js.org/?q=njt
https://snyk.io/advisor/npm-package/njt
https://socket.dev/npm/package/njt
https://techgaun.github.io/active-forks/index.html#https://github.com/kachkaev/njt
The text was updated successfully, but these errors were encountered: