{"id":50731380,"url":"https://github.com/beixiyo/vv-icons.nvim","last_synced_at":"2026-06-10T09:01:16.965Z","repository":{"id":354985931,"uuid":"1220666574","full_name":"beixiyo/vv-icons.nvim","owner":"beixiyo","description":"Shared icon dictionary for Neovim and shell tools (zsh / bun fzf). Neovim 与 shell 共享图标字典","archived":false,"fork":false,"pushed_at":"2026-05-23T08:47:58.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T10:35:12.851Z","etag":null,"topics":["devicons","icons","lua","mini-icons","neovim","neovim-plugin","nvim","nvim-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/beixiyo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-25T07:04:38.000Z","updated_at":"2026-05-23T08:48:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/beixiyo/vv-icons.nvim","commit_stats":null,"previous_names":["beixiyo/vv-icons.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beixiyo/vv-icons.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-icons.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-icons.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-icons.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-icons.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beixiyo","download_url":"https://codeload.github.com/beixiyo/vv-icons.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beixiyo%2Fvv-icons.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["devicons","icons","lua","mini-icons","neovim","neovim-plugin","nvim","nvim-plugin"],"created_at":"2026-06-10T09:01:15.358Z","updated_at":"2026-06-10T09:01:16.934Z","avatar_url":"https://github.com/beixiyo.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003evv-icons.nvim\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cem\u003e共享图标库 — JSON 存储，Neovim 与 shell 工具共用同一份数据\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Neovim-0.10+-57A143?style=flat-square\u0026logo=neovim\u0026logoColor=white\" alt=\"Requires Neovim 0.10+\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Lua-2C2D72?style=flat-square\u0026logo=lua\u0026logoColor=white\" alt=\"Lua\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/zero_deps-✓-2ea44f?style=flat-square\" alt=\"Zero Dependencies\" /\u003e\n\u003c/p\u003e\n\n---\n\n## 安装\n\n```lua\n{\n  'beixiyo/vv-icons.nvim',\n  lazy = false,\n  priority = 1000, -- 其他插件启动期 require('vv-icons') 时需要先就位\n}\n```\n\n无 `setup` / 无 `opts`，纯数据 + 纯函数 loader，加载即用。\n\n## 数据文件\n\n| 文件 | 格式 | 说明 |\n|------|------|------|\n| `data/files.json` | 列表型：`{ match, glyph, color }[]` | 按 glob（支持 brace 展开）匹配文件名 |\n| `data/directories.json` | 字典型：`{ name: { glyph?, color? } }` | 目录图标 |\n| `data/extensions.json` | 字典型 | 按扩展名 |\n| `data/filetypes.json` | 字典型 | 按 filetype |\n| `data/git.json` | 字典型 | git status 图标 |\n| `data/ui.json` | 字典型 | 通用 UI 图标 |\n\n## Lua 引用\n\n```lua\nlocal icons = require('vv-icons')\n\n-- 扁平 glyph 字符串\nicons.find_file\n\n-- 命名空间\nicons.ns.ui\nicons.ns.git\nicons.ns.kinds    -- LSP kind 图标\n\n-- 原始 { glyph, hl } 表\nicons.raw.ui\n\n-- mini.icons 可直接消费的字典\nicons.files\nicons.directories\nicons.extensions\nicons.filetypes\n```\n\n## 典型消费\n\n```lua\n-- 灌给 mini.icons\nrequire('mini.icons').setup({\n  file      = require('vv-icons').files,\n  directory = require('vv-icons').directories,\n  extension = require('vv-icons').extensions,\n  filetype  = require('vv-icons').filetypes,\n})\n\n-- 灌给 blink.cmp / nvim-cmp 的 kind 图标\nlocal kinds = require('vv-icons').ns.kinds\n```\n\n## 可选色值\n\n`green` / `yellow` / `red` / `blue` / `cyan` / `magenta` / `orange` / `purple` / `grey` / `white`\n\nLua 侧映射到 `MiniIcons{Color}` 高亮组（由 colorscheme 提供具体色值），shell 侧映射到 256 色 ANSI。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeixiyo%2Fvv-icons.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeixiyo%2Fvv-icons.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeixiyo%2Fvv-icons.nvim/lists"}