January 8, 2022 on Eric Bower's blog

The older I get the more time I spend in the terminal. I really appreciate services that accommodate accessing information from the terminal.

For example, I am a huge fan of https://cht.sh to quickly access docs for programming languages and https://wttr.in to get a nice display of the weather.

I thought it would be fun to be able to quickly search for neovim plugins within the terminal. Since I already have a curated list of neovim plugins via https://neovimcraft.com, I thought it would be a fun project to work on for the day.

So I’m happy to announce https://nvim.sh - a website that makes it easy to find neovim plugins.

Using the service is easy and the default response is text/plain.

To figure out how the service works simply curl the website:

curl https://nvim.sh
nvim.sh - neovim plugin search from the terminal

api                        description
https://nvim.sh            help
https://nvim.sh/s          return all plugins in directory
https://nvim.sh/s/:search  search for plugin within directory
https://nvim.sh/t          list all tags within directory
https://nvim.sh/t/:search  search for plugins that exactly match tag within directory

powered by: https://neovimcraft.com
source: https://github.com/neurosnap/nvim.sh

Finding a plugin using /s/:search will look something like this:

$ curl https://nvim.sh/s/git

Name                              Stars  OpenIssues  Updated               Description                                                              
sindrets/diffview.nvim            671    7           2021-12-17T16:10:43Z  Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
tveskag/nvim-blame-line           121    1           2021-07-27T18:59:55Z  A small plugin that uses neovims virtual text to print git blame info at the end of the current line.
TimUntersberger/neogit            1056   57          2022-01-08T08:04:27Z  magit for neovim                                                         
tanvirtin/vgit.nvim               265    12          2022-01-08T06:55:57Z  Visual Git Plugin for Neovim                                             
kdheepak/lazygit.nvim             255    7           2022-01-04T23:44:54Z  Plugin for calling lazygit from within neovim.                           
Iron-E/nvim-highlite              134    1           2022-01-06T18:55:05Z  A colorscheme template that is "lite" on logic for the developer.        
onsails/vimway-lsp-diag.nvim      71     5           2021-12-28T07:58:29Z  Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist
onsails/diaglist.nvim             71     5           2021-12-28T07:58:29Z  Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist
lourenci/github-colors            29     1           2021-10-04T13:53:35Z  Yet another GitHub colorscheme                                           
lewis6991/gitsigns.nvim           1066   19          2021-12-30T11:54:10Z  Git integration for buffers                                              
tversteeg/registers.nvim          335    4           2022-01-03T08:48:42Z  📑 Neovim plugin to preview the contents of the registers                
f-person/git-blame.nvim           247    4           2022-01-04T23:20:49Z  Git Blame plugin for Neovim written in Lua                               
ruifm/gitlinker.nvim              148    7           2021-12-23T15:11:12Z  A lua neovim plugin to generate shareable file permalinks (with line ranges) for several git web frontend hosts. Inspired by tpope/vim-fugitive's :GBrowse
projekt0n/github-nvim-theme       559    5           2022-01-08T11:29:31Z  Github theme for Neovim, kitty, iTerm, Konsole, tmux and Alacritty written in Lua
winston0410/range-highlight.nvim  97     5           2021-08-03T07:19:30Z  An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
m00qek/plugin-template.nvim       29     0           2022-01-05T20:16:10Z  A template to create Neovim plugins written in Lua                       
rktjmp/highlight-current-n.nvim   16     1           2021-10-26T12:16:53Z  Highlights the current /, ? or * match under your cursor when pressing n or N and gets out of the way afterwards.

Searching for a plugin uses a fuzzy matching algorithm (Levenshtein distance) to find the best matches based on the name and description.

Since all of the plugins are tagged, you can also search for plugins matching the tag with /t/:search

$ curl https://nvim.sh/t/comment

Name                             Stars  OpenIssues  Updated               Description                                                               
folke/todo-comments.nvim         607    24          2021-12-11T09:13:48Z  ✅  Highlight, list and search todo comments in your projects             
numToStr/Comment.nvim            572    8           2022-01-02T12:51:22Z  :brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
b3nj5m1n/kommentary              471    13          2021-12-03T13:54:42Z  Neovim commenting plugin, written in lua.                                 
terrortylor/nvim-comment         207    7           2022-01-04T23:21:12Z  A comment toggler for Neovim, written in Lua                              
danymat/neogen                   149    6           2022-01-08T12:34:58Z  A better annotation generator. Supports multiple languages and annotation conventions.
winston0410/commented.nvim       93     2           2021-11-14T06:00:20Z  Neovim commenting plugin in Lua. Support operator, motions and more than 60 languages! :fire:
glepnir/prodoc.nvim              42     0           2021-01-23T07:01:54Z  a neovim comment and  annotation plugin using coroutine                   
s1n7ax/nvim-comment-frame        37     0           2021-09-14T06:54:29Z  Detects the language using treesitter and adds a comment block            
gennaro-tedesco/nvim-commaround  33     0           2021-12-16T11:39:07Z  nvim plugin to toggle comments on and off

The data source for this service is https://neovimcraft.com and it is automatically refreshed once per hour.

I’d be happy to read any feedback or suggestions to make this service even more useful!

⇒ This article is also available on gemini.

Articles from blogs I read

Generated by openring

Breaking down a small language design proposal

We are developing a new systems programming language. The name is a secret, so we’ll call it xxxx instead. In xxxx, we have a general requirement that all variables must be initialized. This is fine for the simple case, such as “let x: int = 10”. But, it doe…

via Drew DeVault's blog December 30, 2021

Using Datasette for an ELT Personal Twitter Data Warehouse

EDA tools like Datasette dramatically lower the cost of data analysis, with a surprisingly simple ELT contract - You handle the Extract phase, it handles the Load, and exposes a standard UI for you to do dynamic Transforms.

via Swyx.io RSS Feed December 26, 2021

npm audit: Broken by Design

Found 99 vulnerabilities (84 moderately irrelevant, 15 highly irrelevant)

via Dan Abramov's Overreacted Blog RSS Feed July 7, 2021