nvim.sh

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!


Articles from blogs I read

Generated by openring

The Fediverse can be pretty toxic

Mastodon, inspired by GNU social, together with Pleroma, form the most popular components of what we know as the “Fediverse” today. All of them are, in essence, federated, free software Twitter clones, interoperable with each other via the ActivityPub protoc…

via Drew DeVault's blog July 9, 2022

Spearphishing: it can happen to you too

Image generated by MidJourney -- The Fool in a woodcut tarot card style For some reason, LinkedIn has become the de-facto social network for professionals. It is viewed as a powerful networking and marketing site that lets professionals communicate, find new…

via Xe's Blog July 9, 2022

SourceHut is committed to making IRC better

Internet Relay Chat (IRC) is a wonderful protocol with a 34-year history of helping free software, there at every step alongside the rise of the internet. Many real-time chat empires have risen and fallen during its tenure, some of them leaving behind lesson…

via Blogs on Sourcehut July 6, 2022