neovimcraft icon indicating copy to clipboard operation
neovimcraft copied to clipboard

`complementree.nvim` moved to sourcehut

Open vigoux opened this issue 2 years ago • 11 comments

Hi, I realized that complementree.nvim was listed here.

I moved the plugin to sourcehut today, and wanted to let you know.

I also realized that this is the first plugin listed here to be hosted on sourcehut.

Thanks for this !

vigoux avatar Oct 17 '22 09:10 vigoux

I'm a fan of sourcehut so I'll make sure it renders properly.

neurosnap avatar Oct 17 '22 12:10 neurosnap

If possible, I'd also like to advertise azy.nvim in here !

Both plugins are hosted on sr.ht !

By the way, thanks for this, it really helps with the discoverability of plugins !

vigoux avatar Oct 17 '22 12:10 vigoux

Np, have you ever worked with sr.ht's graphql api?

neurosnap avatar Oct 17 '22 12:10 neurosnap

Nope (neither with any GraphQL), but I might help to search for resources !

What are you searching for ?

vigoux avatar Oct 17 '22 16:10 vigoux

Hey, after a little search, I came accross a tool to work with sourcehut graphql APIs: https://meta.sr.ht/graphql https://git.sr.ht/graphql

I hope this helps !

vigoux avatar Oct 18 '22 08:10 vigoux

Yes thank you. This is the data we need from sourcehut: https://github.com/neurosnap/neovimcraft/blob/50f657023d912bcd9a062e75fde4ae64e070d5c9/scripts/process.ts#L189

neurosnap avatar Oct 18 '22 12:10 neurosnap

I had a quick look, and some things will definitely not be ported over:

  • stars
  • watchers
  • forks

I am not sur about the others, but I think they are easy to get from the graphql api. I don't know enough graphql though, but learning as we speak!

vigoux avatar Oct 18 '22 13:10 vigoux

Hey thanks for your help. I'd be delighted if you took a stab at implementation and happy to step in where needed. For stars, watchers, and forks, I would just set those to 0.

neurosnap avatar Oct 18 '22 14:10 neurosnap

Hi, I am honestly not able to help much further: I have never worked with this kind of tools...

I'll see if I have time at some point, but that make take a while, sorry !

vigoux avatar Oct 20 '22 12:10 vigoux

Hey no worries, thanks for your help so far! I'll try to prioritize this soon.

neurosnap avatar Oct 20 '22 13:10 neurosnap

Don't worry about it, thanks for your work!

vigoux avatar Oct 20 '22 14:10 vigoux

I added both the repos mentioned here, they should show up in neovimcraft later today

neurosnap avatar Nov 27 '22 19:11 neurosnap