{"id":13449485,"url":"https://github.com/emersonbottero/vitepress-plugin-search","last_synced_at":"2025-03-22T22:33:06.981Z","repository":{"id":53889140,"uuid":"492102747","full_name":"emersonbottero/vitepress-plugin-search","owner":"emersonbottero","description":"Provide local search to your documentation site.","archived":false,"fork":false,"pushed_at":"2024-01-05T04:21:27.000Z","size":1189,"stargazers_count":244,"open_issues_count":9,"forks_count":31,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-21T07:35:41.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emersonbottero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-05-14T03:32:55.000Z","updated_at":"2025-03-02T03:32:19.000Z","dependencies_parsed_at":"2024-01-05T05:28:27.008Z","dependency_job_id":"444f695f-e285-4761-abc6-3d980308451d","html_url":"https://github.com/emersonbottero/vitepress-plugin-search","commit_stats":{"total_commits":69,"total_committers":6,"mean_commits":11.5,"dds":"0.26086956521739135","last_synced_commit":"460a8561047cb7d561e7cfbc429088198c043562"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersonbottero%2Fvitepress-plugin-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersonbottero%2Fvitepress-plugin-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersonbottero%2Fvitepress-plugin-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersonbottero%2Fvitepress-plugin-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emersonbottero","download_url":"https://codeload.github.com/emersonbottero/vitepress-plugin-search/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245029209,"owners_count":20549665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T06:00:40.070Z","updated_at":"2025-03-22T22:33:06.624Z","avatar_url":"https://github.com/emersonbottero.png","language":"Vue","funding_links":[],"categories":[":electric_plug: Plugins","Plugins"],"sub_categories":["Community Plugins"],"readme":"## Provides local search to your documentation site\n\nUses [flexsearch](https://github.com/nextapps-de/flexsearch).\n\n## Installing\n\n```js\nnpm i vitepress-plugin-search flexsearch -D\n```\n\n## Add the plugin\n\n- Using an vite.config file\n```js\n//vite.config.ts\nimport { SearchPlugin } from \"vitepress-plugin-search\";\nimport { defineConfig } from \"vite\";\n\n//default options\nvar options = {\n  ...flexSearchIndexOptions,\n  previewLength: 62,\n  buttonLabel: \"Search\",\n  placeholder: \"Search docs\",\n  allow: [],\n  ignore: [],\n};\n\nexport default defineConfig({\n  plugins: [SearchPlugin(options)],\n});\n```\n\n- Using config.js or config.ts\n```js\nimport { SearchPlugin } from \"vitepress-plugin-search\";\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  vite: { plugins: [SearchPlugin(options)] }\n});\n```\n\n## Options\n\nAccept [FlexSearch Index Options](https://github.com/nextapps-de/flexsearch#options)\n\n## Multi language support\n\nProvided by flexsearch  \n  \nSee [chinese settings for example](https://github.com/emersonbottero/vitepress-plugin-search/issues/11)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femersonbottero%2Fvitepress-plugin-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femersonbottero%2Fvitepress-plugin-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femersonbottero%2Fvitepress-plugin-search/lists"}