Skip to content
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

PluginSearch github.com/vim-scripts/ through github api #660

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gmarik
Copy link
Contributor

@gmarik gmarik commented Nov 5, 2015

this is a WIP.
Quickly hacked together a search that searches Github instead outdated vim-scripts.org

Just putting it out there to discuss and gather feedback.

Pros:

  1. Replaces reliance on vim-scripts.org
  2. backed by Github
  3. enables description in search:

Cons:

  1. parsing(complex) JSON
  2. paginated responses
  3. no full list of plugins

Screenshot

PluginsSearch test

@@ -0,0 +1,71 @@
" ---------------------------------------------------------------------------
" Search the database from vim-script.org for a matching plugin. If no
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose the comment needs updating now that we have embraced the github. the one true github. all hail our new overlords 👽

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andxyz 😆 👍

Copy link

@ksHKK ksHKK Jul 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • [x]

@bronson
Copy link

bronson commented Nov 6, 2015

Love it. It's time for vim-scripts to ride off into the sunset.

@wsdjeg
Copy link
Contributor

wsdjeg commented Nov 6, 2015

great love it,

@ryanoasis ryanoasis mentioned this pull request Nov 9, 2015
@cengiz-io
Copy link

Is there a planned date for this to be merged?

@gmarik
Copy link
Contributor Author

gmarik commented Nov 11, 2015

@cengizio not really.
Biggest concerns about it: 1) parsing large JSONs. 2) security.

Not sure how to go about it yet…

@nfischer nfischer mentioned this pull request Mar 7, 2016
@mzlogin
Copy link

mzlogin commented May 31, 2018

Use https://vimawesome.com/ as data source for plugin search may a better choice.

It has clear query api like https://vimawesome.com/api/plugins?query=markdown&page=1 and response like below:

{
    "plugins": [
        {
            "author": "Ben Williams",
            "category": "language",
            "created_at": 1111363200,
            "github_author": "Ben Williams",
            "github_bundles": 5568,
            "github_homepage": "http://plasticboy.com/markdown-vim-mode/",
            "github_owner": "plasticboy",
            "github_readme_filename": "README.md",
            "github_repo_id": "128823",
            "github_repo_name": "vim-markdown",
            "github_short_desc": "Markdown Vim Mode",
            "github_stars": 2460,
            "github_url": "https://github.com/plasticboy/vim-markdown",
            "github_vim_scripts_bundles": 43,
            "github_vim_scripts_repo_name": "Markdown-syntax",
            "github_vim_scripts_stars": 3,
            "keywords": "ben file for language markdown mode syntax text-to-html vim williams",
            "name": "Markdown syntax",
            "normalized_name": "markdownsyntax",
            "plugin_manager_users": 5611,
            "short_desc": "Markdown Vim Mode",
            "slug": "markdown-syntax",
            "tags": [],
            "updated_at": 1521769519,
            "vimorg_author": "Ben Williams",
            "vimorg_downloads": 9122,
            "vimorg_id": "1242",
            "vimorg_name": "Markdown syntax",
            "vimorg_num_raters": 66,
            "vimorg_rating": 109,
            "vimorg_short_desc": "Syntax file for Markdown text-to-HTML language",
            "vimorg_type": "syntax",
            "vimorg_url": "http://www.vim.org/scripts/script.php?script_id=1242"
        },
        {
            "author": "Tim Pope",
            "category": "language",
            "created_at": 1267063774,
            "github_author": "Tim Pope",
            "github_bundles": 4873,
            "github_homepage": "",
            "github_owner": "tpope",
            "github_readme_filename": "README.markdown",
            "github_repo_id": "535029",
            "github_repo_name": "vim-markdown",
            "github_short_desc": "Vim Markdown runtime files",
            "github_stars": 874,
            "github_url": "https://github.com/tpope/vim-markdown",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "files markdown pope runtime tim vim vim-markdown",
            "name": "vim-markdown",
            "normalized_name": "markdown",
            "plugin_manager_users": 4873,
            "short_desc": "Vim Markdown runtime files",
            "slug": "vim-markdown-enchanted",
            "tags": [],
            "updated_at": 1517656636,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": "",
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Suan Yeo",
            "category": "language",
            "created_at": 1328510952,
            "github_author": "Suan Yeo",
            "github_bundles": 1095,
            "github_homepage": "",
            "github_owner": "suan",
            "github_readme_filename": "README.md",
            "github_repo_id": "3408646",
            "github_repo_name": "vim-instant-markdown",
            "github_short_desc": "Instant Markdown previews from VIm!",
            "github_stars": 1924,
            "github_url": "https://github.com/suan/vim-instant-markdown",
            "github_vim_scripts_bundles": 23,
            "github_vim_scripts_repo_name": "instant-markdown.vim",
            "github_vim_scripts_stars": 2,
            "keywords": "from instant instant-markdown.vim markdown previews real-time suan vim! yeo",
            "name": "instant-markdown.vim",
            "normalized_name": "instantmarkdown",
            "plugin_manager_users": 1118,
            "short_desc": "Instant Markdown previews from VIm!",
            "slug": "instant-markdown-vim",
            "tags": [],
            "updated_at": 1478385138,
            "vimorg_author": "Suan Yeo",
            "vimorg_downloads": 930,
            "vimorg_id": "3994",
            "vimorg_name": "instant-markdown.vim",
            "vimorg_num_raters": 12,
            "vimorg_rating": 32,
            "vimorg_short_desc": "Real-time Markdown previews from Vim!",
            "vimorg_type": "utility",
            "vimorg_url": "http://www.vim.org/scripts/script.php?script_id=3994"
        },
        {
            "author": "kannokanno",
            "category": "code-display",
            "created_at": 1370944252,
            "github_author": "kannokanno",
            "github_bundles": 790,
            "github_homepage": "",
            "github_owner": "kannokanno",
            "github_readme_filename": "README.mkd",
            "github_repo_id": "10621363",
            "github_repo_name": "previm",
            "github_short_desc": "Realtime preview by Vim. (Markdown, reStructuredText, textile)",
            "github_stars": 370,
            "github_url": "https://github.com/kannokanno/previm",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "(markdown, by kannokanno preview previm realtime restructuredtext, textile) vim.",
            "name": "previm",
            "normalized_name": "pre",
            "plugin_manager_users": 790,
            "short_desc": "Realtime preview by Vim. (Markdown, reStructuredText, textile)",
            "slug": "previm",
            "tags": [],
            "updated_at": 1522859665,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": "",
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "David Sanson",
            "category": "integration",
            "created_at": 1315180800,
            "github_author": "vim-pandoc",
            "github_bundles": 720,
            "github_homepage": "",
            "github_owner": "vim-pandoc",
            "github_readme_filename": "README.mkd",
            "github_repo_id": "14535342",
            "github_repo_name": "vim-pandoc",
            "github_short_desc": "pandoc integration and utilities for vim",
            "github_stars": 421,
            "github_url": "https://github.com/vim-pandoc/vim-pandoc",
            "github_vim_scripts_bundles": 7,
            "github_vim_scripts_repo_name": "vim-pandoc",
            "github_vim_scripts_stars": 3,
            "keywords": "a and david extended for in integration markdown pandoc pandoc's plugin sanson utilities vim vim-pandoc writing",
            "name": "vim-pandoc",
            "normalized_name": "pandoc",
            "plugin_manager_users": 727,
            "short_desc": "pandoc integration and utilities for vim",
            "slug": "vim-pandoc",
            "tags": ["pandoc", "markdown"],
            "updated_at": 1515680379,
            "vimorg_author": "David Sanson",
            "vimorg_downloads": 862,
            "vimorg_id": "3730",
            "vimorg_name": "vim-pandoc",
            "vimorg_num_raters": 9,
            "vimorg_rating": 19,
            "vimorg_short_desc": "a plugin for writing in pandoc's extended markdown",
            "vimorg_type": "ftplugin",
            "vimorg_url": "http://www.vim.org/scripts/script.php?script_id=3730"
        },
        {
            "author": "vim-pandoc",
            "category": "code-display",
            "created_at": 1383593066,
            "github_author": "vim-pandoc",
            "github_bundles": 666,
            "github_homepage": "",
            "github_owner": "vim-pandoc",
            "github_readme_filename": "README.md",
            "github_repo_id": "14121102",
            "github_repo_name": "vim-pandoc-syntax",
            "github_short_desc": "pandoc markdown syntax, to be installed alongside vim-pandoc",
            "github_stars": 164,
            "github_url": "https://github.com/vim-pandoc/vim-pandoc-syntax",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "alongside be installed markdown pandoc syntax, to vim-pandoc vim-pandoc-syntax",
            "name": "vim-pandoc-syntax",
            "normalized_name": "pandocsyntax",
            "plugin_manager_users": 666,
            "short_desc": "pandoc markdown syntax, to be installed alongside vim-pandoc",
            "slug": "vim-pandoc-syntax-shouldve-said-no",
            "tags": ["pandoc", "markdown"],
            "updated_at": 1492115831,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": null,
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Hallison Batista",
            "category": "language",
            "created_at": 1242145644,
            "github_author": "Hallison Batista",
            "github_bundles": 222,
            "github_homepage": "http://www.vim.org/scripts/script.php?script_id=2882",
            "github_owner": "hallison",
            "github_readme_filename": "README.mkd",
            "github_repo_id": "395095",
            "github_repo_name": "vim-markdown",
            "github_short_desc": "Markdown syntax highlight for Vim editor with snippets support",
            "github_stars": 208,
            "github_url": "https://github.com/hallison/vim-markdown",
            "github_vim_scripts_bundles": 225,
            "github_vim_scripts_repo_name": "Markdown",
            "github_vim_scripts_stars": 5,
            "keywords": "batista editor files for hallison highlight markdown snippets support syntax text vim with",
            "name": "Markdown",
            "normalized_name": "markdown",
            "plugin_manager_users": 447,
            "short_desc": "Markdown syntax highlight for Vim editor with snippets support",
            "slug": "markdown",
            "tags": [],
            "updated_at": 1331093240,
            "vimorg_author": "Hallison Batista",
            "vimorg_downloads": 11101,
            "vimorg_id": "2882",
            "vimorg_name": "Markdown",
            "vimorg_num_raters": 143,
            "vimorg_rating": 226,
            "vimorg_short_desc": "Syntax highlight for Markdown text files",
            "vimorg_type": "syntax",
            "vimorg_url": "http://www.vim.org/scripts/script.php?script_id=2882"
        },
        {
            "author": "Jamshed Vesuna",
            "category": "integration",
            "created_at": 1408132435,
            "github_author": "Jamshed Vesuna",
            "github_bundles": 437,
            "github_homepage": "",
            "github_owner": "jamshedvesuna",
            "github_readme_filename": "README.md",
            "github_repo_id": "23001221",
            "github_repo_name": "vim-markdown-preview",
            "github_short_desc": "A light Vim plugin for previewing markdown files in a browser - without leaving Vim.",
            "github_stars": 299,
            "github_url": "https://github.com/jamshedvesuna/vim-markdown-preview",
            "github_vim_scripts_bundles": 1,
            "github_vim_scripts_repo_name": "Vim-Markdown-Preview",
            "github_vim_scripts_stars": 1,
            "keywords": "- a browser browser. files for in jamshed leaving light markdown plugin preview previewing vesuna vim vim. without",
            "name": "Vim Markdown Preview",
            "normalized_name": "markdownpreview",
            "plugin_manager_users": 438,
            "short_desc": "A light Vim plugin for previewing markdown files in a browser - without leaving Vim.",
            "slug": "vim-markdown-preview-red",
            "tags": [],
            "updated_at": 1521609398,
            "vimorg_author": "Jamshed Vesuna",
            "vimorg_downloads": 417,
            "vimorg_id": "5012",
            "vimorg_name": "Vim Markdown Preview",
            "vimorg_num_raters": 4,
            "vimorg_rating": 13,
            "vimorg_short_desc": "A Vim plugin for previewing markdown files in a browser.",
            "vimorg_type": "utility",
            "vimorg_url": "http://www.vim.org/scripts/script.php?script_id=5012"
        },
        {
            "author": "Jeff Tratner",
            "category": "uncategorized",
            "created_at": 1348349374,
            "github_author": "Jeff Tratner",
            "github_bundles": 342,
            "github_homepage": null,
            "github_owner": "jtratner",
            "github_readme_filename": "README.md",
            "github_repo_id": "5917066",
            "github_repo_name": "vim-flavored-markdown",
            "github_short_desc": null,
            "github_stars": 144,
            "github_url": "https://github.com/jtratner/vim-flavored-markdown",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "jeff tratner vim-flavored-markdown",
            "name": "vim-flavored-markdown",
            "normalized_name": "flavoredmarkdown",
            "plugin_manager_users": 342,
            "short_desc": null,
            "slug": "vim-flavored-markdown",
            "tags": [],
            "updated_at": 1471647935,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": "",
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Drew Neil",
            "category": "language",
            "created_at": 1349887216,
            "github_author": "Drew Neil",
            "github_bundles": 323,
            "github_homepage": null,
            "github_owner": "nelstrom",
            "github_readme_filename": "README.md",
            "github_repo_id": "6246258",
            "github_repo_name": "vim-markdown-folding",
            "github_short_desc": "Fold markdown documents by section.",
            "github_stars": 137,
            "github_url": "https://github.com/nelstrom/vim-markdown-folding",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "by documents drew fold markdown neil section. vim-markdown-folding",
            "name": "vim-markdown-folding",
            "normalized_name": "markdownfolding",
            "plugin_manager_users": 323,
            "short_desc": "Fold markdown documents by section.",
            "slug": "vim-markdown-folding",
            "tags": ["fold"],
            "updated_at": 1491381937,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": "",
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Joshua Priddle",
            "category": "uncategorized",
            "created_at": 1328624247,
            "github_author": "Joshua Priddle",
            "github_bundles": 192,
            "github_homepage": "",
            "github_owner": "itspriddle",
            "github_readme_filename": "README.markdown",
            "github_repo_id": "3377884",
            "github_repo_name": "vim-marked",
            "github_short_desc": "Open the current Markdown buffer in Marked.app",
            "github_stars": 90,
            "github_url": "https://github.com/itspriddle/vim-marked",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "buffer current in joshua markdown marked.app open priddle the vim-marked",
            "name": "vim-marked",
            "normalized_name": "marked",
            "plugin_manager_users": 192,
            "short_desc": "Open the current Markdown buffer in Marked.app",
            "slug": "vim-marked",
            "tags": [],
            "updated_at": 1515559806,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": null,
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Gabriele Lana",
            "category": "language",
            "created_at": 1383234363,
            "github_author": "Gabriele Lana",
            "github_bundles": 183,
            "github_homepage": "",
            "github_owner": "gabrielelana",
            "github_readme_filename": "README.md",
            "github_repo_id": "14021271",
            "github_repo_name": "vim-markdown",
            "github_short_desc": "Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that doesn't suck!",
            "github_stars": 393,
            "github_url": "https://github.com/gabrielelana/vim-markdown",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "a complete create doesn't environment files for gabriele highlight lana markdown suck! syntax that to vim-markdown vim: with",
            "name": "vim-markdown",
            "normalized_name": "markdown",
            "plugin_manager_users": 183,
            "short_desc": "Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that doesn't suck!",
            "slug": "vim-markdown-sad-beautiful-tragic",
            "tags": [],
            "updated_at": 1522061668,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": null,
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "rcmdnk",
            "category": "uncategorized",
            "created_at": 1352738100,
            "github_author": "rcmdnk",
            "github_bundles": 149,
            "github_homepage": "http://plasticboy.com/markdown-vim-mode/",
            "github_owner": "rcmdnk",
            "github_readme_filename": "README.md",
            "github_repo_id": "14412221",
            "github_repo_name": "vim-markdown",
            "github_short_desc": "Markdown Vim Mode",
            "github_stars": 32,
            "github_url": "https://github.com/rcmdnk/vim-markdown",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "markdown mode rcmdnk vim vim-markdown",
            "name": "vim-markdown",
            "normalized_name": "markdown",
            "plugin_manager_users": 149,
            "short_desc": "Markdown Vim Mode",
            "slug": "vim-markdown-red",
            "tags": [],
            "updated_at": 1514437945,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": null,
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Steve Francia",
            "category": "integration",
            "created_at": 1290951096,
            "github_author": "Steve Francia",
            "github_bundles": 144,
            "github_homepage": "",
            "github_owner": "spf13",
            "github_readme_filename": "README.markdown",
            "github_repo_id": "1455342",
            "github_repo_name": "vim-preview",
            "github_short_desc": "Vim plugin for previewing markup files(markdown,rdoc,textile,html)",
            "github_stars": 2,
            "github_url": "https://github.com/spf13/vim-preview",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "files(markdown,rdoc,textile,html) for francia markup plugin previewing steve vim vim-preview",
            "name": "vim-preview",
            "normalized_name": "preview",
            "plugin_manager_users": 144,
            "short_desc": "Vim plugin for previewing markup files(markdown,rdoc,textile,html)",
            "slug": "vim-preview",
            "tags": [],
            "updated_at": 1308239697,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": "",
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Drew Neil",
            "category": "uncategorized",
            "created_at": 1271730330,
            "github_author": "Drew Neil",
            "github_bundles": 134,
            "github_homepage": "",
            "github_owner": "nelstrom",
            "github_readme_filename": "README.mkd",
            "github_repo_id": "918769",
            "github_repo_name": "vim-markdown-preview",
            "github_short_desc": "preview markdown documents in the browser from vim",
            "github_stars": 46,
            "github_url": "https://github.com/nelstrom/vim-markdown-preview",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "browser documents drew from in markdown neil preview the vim vim-markdown-preview",
            "name": "vim-markdown-preview",
            "normalized_name": "markdownpreview",
            "plugin_manager_users": 134,
            "short_desc": "preview markdown documents in the browser from vim",
            "slug": "vim-markdown-preview-the-story-of-us",
            "tags": [],
            "updated_at": 1284743840,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": "",
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Sergey Potapov",
            "category": "uncategorized",
            "created_at": 1290902400,
            "github_author": "Sergey Potapov",
            "github_bundles": 127,
            "github_homepage": "",
            "github_owner": "greyblake",
            "github_readme_filename": "README.markdown",
            "github_repo_id": "1118341",
            "github_repo_name": "vim-preview",
            "github_short_desc": "Vim plugin for previewing markup files(markdown,rdoc,textile,html)",
            "github_stars": 195,
            "github_url": "https://github.com/greyblake/vim-preview",
            "github_vim_scripts_bundles": 4,
            "github_vim_scripts_repo_name": "preview",
            "github_vim_scripts_stars": 5,
            "keywords": "files(markdown,rdoc,textile,html) for markup plugin potapov preview previewing sergey vim",
            "name": "preview",
            "normalized_name": "preview",
            "plugin_manager_users": 131,
            "short_desc": "Vim plugin for previewing markup files(markdown,rdoc,textile,html)",
            "slug": "preview",
            "tags": [],
            "updated_at": 1423766246,
            "vimorg_author": "Sergey Potapov",
            "vimorg_downloads": 2337,
            "vimorg_id": "3344",
            "vimorg_name": "preview",
            "vimorg_num_raters": 12,
            "vimorg_rating": 37,
            "vimorg_short_desc": "Plugin for previewing markup files(markdown,rdoc,textile,html)",
            "vimorg_type": "utility",
            "vimorg_url": "http://www.vim.org/scripts/script.php?script_id=3344"
        },
        {
            "author": "Amir Salihefendic",
            "category": "uncategorized",
            "created_at": 1388312796,
            "github_author": "Amir Salihefendic",
            "github_bundles": 103,
            "github_homepage": null,
            "github_owner": "amix",
            "github_readme_filename": "README.markdown",
            "github_repo_id": "15506894",
            "github_repo_name": "vim-zenroom2",
            "github_short_desc": "A Vim extension that emulates iA Writer environment when editing Markdown, reStructuredText or text files",
            "github_stars": 177,
            "github_url": "https://github.com/amix/vim-zenroom2",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "a amir editing emulates environment extension files ia markdown, or restructuredtext salihefendic text that vim vim-zenroom2 when writer",
            "name": "vim-zenroom2",
            "normalized_name": "zenroom2",
            "plugin_manager_users": 103,
            "short_desc": "A Vim extension that emulates iA Writer environment when editing Markdown, reStructuredText or text files",
            "slug": "vim-zenroom2",
            "tags": [],
            "updated_at": 1522508578,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": null,
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Tomohiro Hashidate",
            "category": "uncategorized",
            "created_at": 1375354825,
            "github_author": "Tomohiro Hashidate",
            "github_bundles": 90,
            "github_homepage": "",
            "github_owner": "joker1007",
            "github_readme_filename": "README.mkd",
            "github_repo_id": "11814828",
            "github_repo_name": "vim-markdown-quote-syntax",
            "github_short_desc": "vim plugin for highliting code in markdown quote",
            "github_stars": 42,
            "github_url": "https://github.com/joker1007/vim-markdown-quote-syntax",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "code for hashidate highliting in markdown plugin quote tomohiro vim vim-markdown-quote-syntax",
            "name": "vim-markdown-quote-syntax",
            "normalized_name": "markdownquotesyntax",
            "plugin_manager_users": 90,
            "short_desc": "vim plugin for highliting code in markdown quote",
            "slug": "vim-markdown-quote-syntax",
            "tags": [],
            "updated_at": 1502882673,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": null,
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "年糕小豆汤",
            "category": "uncategorized",
            "created_at": 1479562928,
            "github_author": "年糕小豆汤",
            "github_bundles": 70,
            "github_homepage": null,
            "github_owner": "iamcco",
            "github_readme_filename": "README.md",
            "github_repo_id": "74210833",
            "github_repo_name": "mathjax-support-for-mkdp",
            "github_short_desc": "mathjax support for markdown-preview.vim plugin",
            "github_stars": 4,
            "github_url": "https://github.com/iamcco/mathjax-support-for-mkdp",
            "github_vim_scripts_bundles": 0,
            "github_vim_scripts_repo_name": "",
            "github_vim_scripts_stars": 0,
            "keywords": "for markdown-preview.vim mathjax mathjax-support-for-mkdp plugin support 年糕小豆汤",
            "name": "mathjax-support-for-mkdp",
            "normalized_name": "mathjaxsupportformkdp",
            "plugin_manager_users": 70,
            "short_desc": "mathjax support for markdown-preview.vim plugin",
            "slug": "mathjax-support-for-mkdp",
            "tags": [],
            "updated_at": 1479564165,
            "vimorg_author": "",
            "vimorg_downloads": 0,
            "vimorg_id": null,
            "vimorg_name": "",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "",
            "vimorg_type": "",
            "vimorg_url": ""
        },
        {
            "author": "Dan Lowe",
            "category": "uncategorized",
            "created_at": 1322956800,
            "github_author": "Dan Lowe",
            "github_bundles": 55,
            "github_homepage": "",
            "github_owner": "tangledhelix",
            "github_readme_filename": "README.md",
            "github_repo_id": "2912224",
            "github_repo_name": "vim-octopress",
            "github_short_desc": "Octopress support for Vim",
            "github_stars": 75,
            "github_url": "https://github.com/tangledhelix/vim-octopress",
            "github_vim_scripts_bundles": 5,
            "github_vim_scripts_repo_name": "vim-octopress",
            "github_vim_scripts_stars": 5,
            "keywords": "dan for highlighting lowe markdown octopress octopress-flavored support syntax vim vim-octopress",
            "name": "vim-octopress",
            "normalized_name": "octopress",
            "plugin_manager_users": 60,
            "short_desc": "Octopress support for Vim",
            "slug": "vim-octopress",
            "tags": [],
            "updated_at": 1456087816,
            "vimorg_author": "Dan Lowe",
            "vimorg_downloads": 223,
            "vimorg_id": "3835",
            "vimorg_name": "vim-octopress",
            "vimorg_num_raters": 0,
            "vimorg_rating": 0,
            "vimorg_short_desc": "Syntax highlighting for Octopress-flavored Markdown",
            "vimorg_type": "syntax",
            "vimorg_url": "http://www.vim.org/scripts/script.php?script_id=3835"
        }
    ],
    "results_per_page": 20,
    "total_pages": 9,
    "total_results": 174
}

@Godron629
Copy link

Any love for this? PluginSearch is as vim-scripts has been taken down.

#599

@marcidy
Copy link

marcidy commented Jul 17, 2019

snapshot from wayback machine here for those of us limping along:
https://web.archive.org/web/20180829133511/http://vim-scripts.org/api/scripts.json

@Godron629
Copy link

@marcidy merging this does indeed fix the PluginSearch, if you are inclined to run a little off the master path.

@ryanoasis
Copy link
Member

This does seem like it would be nice to have. I don't think anything has yet addressed gmarik's 2 concerns 🤔

@Godron629
Copy link

I had considered scraping the results of https://www.vim.org/scripts/script_search_results.php?show_me=99999, but I figured regex matching HTML was probably worse than using some existing JSON endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants