{"id":48154962,"url":"https://github.com/valaxyjs/valaxy-addon-vercount","last_synced_at":"2026-04-04T17:16:36.409Z","repository":{"id":286969762,"uuid":"822897069","full_name":"valaxyjs/valaxy-addon-vercount","owner":"valaxyjs","description":"A Vercount API based counting plugin for Valaxy, serving as an alternative to Busuanzi counting. 基于 Vercount API 实现的 Valaxy 计数插件, 用于不蒜子计数替代方案","archived":false,"fork":false,"pushed_at":"2025-08-25T09:13:26.000Z","size":15,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T10:51:56.312Z","etag":null,"topics":["busuanzi","valaxy","valaxy-addon","vercount"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valaxyjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-02T03:42:01.000Z","updated_at":"2025-08-25T09:13:30.000Z","dependencies_parsed_at":"2025-04-09T09:26:30.711Z","dependency_job_id":"1a801de5-699c-4201-9331-468d083a6c9c","html_url":"https://github.com/valaxyjs/valaxy-addon-vercount","commit_stats":null,"previous_names":["valaxyjs/valaxy-addon-vercount"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/valaxyjs/valaxy-addon-vercount","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaxyjs%2Fvalaxy-addon-vercount","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaxyjs%2Fvalaxy-addon-vercount/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaxyjs%2Fvalaxy-addon-vercount/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaxyjs%2Fvalaxy-addon-vercount/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valaxyjs","download_url":"https://codeload.github.com/valaxyjs/valaxy-addon-vercount/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valaxyjs%2Fvalaxy-addon-vercount/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["busuanzi","valaxy","valaxy-addon","vercount"],"created_at":"2026-04-04T17:16:34.125Z","updated_at":"2026-04-04T17:16:36.401Z","avatar_url":"https://github.com/valaxyjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003evalaxy-addon-vercount\u003c/h1\u003e\n\u003cpre align=\"center\"\u003e\nA \u003ca href=\"https://vercount.one/\"\u003eVercount\u003c/a\u003e API based counting plugin for \u003ca href=\"https://github.com/YunYouJun/valaxy\"\u003eValaxy\u003c/a\u003e, serving as an alternative to Busuanzi counting\n\u003c/pre\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/valaxy-addon-vercount\" rel=\"nofollow\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/valaxy-addon-vercount?color=0078E7\" alt=\"NPM version\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n- English | [简体中文](./README.zh-CN.md)\n\n## Features\n\n- ⚡ High-speed response, server response time less than 10ms\n- 🌎 Option to use China accelerated version or default Vercel global CDN for the API\n- 📊 Statistics through POST requests, supporting mobile devices and various browsers, with high accuracy\n- 🔒 Use of JSON callbacks to avoid CSRF attacks\n- 🔄 Automatically synchronizes all Busuanzi data\n\n## Installing this Plugin\n\n```bash\npnpm add valaxy-addon-vercount\n```\n\n```ts\nimport { defineValaxyConfig } from 'valaxy'\nimport { addonVercount } from 'valaxy-addon-vercount'\n\nexport default defineValaxyConfig({\n  addons: [\n    addonVercount(),\n  ],\n})\n```\n\n## Using this Plugin\n\n```vue\n\u003cscript lang=\"ts\" setup\u003e\nimport { useAddonVercount } from 'valaxy-addon-vercount'\n\nconst { page, site } = useAddonVercount()\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cspan\u003eArticle reads: {{ page.pv }}\u003c/span\u003e\n  \u003cspan\u003eArticle visitors: {{ page.uv }}\u003c/span\u003e\n  \u003cspan\u003eSite visits: {{ site.pv }}\u003c/span\u003e\n  \u003cspan\u003eSite visitors: {{ site.uv }}\u003c/span\u003e\n\u003c/template\u003e\n```\n\n## Configuration / Options\n\n| Name | Type | Default | Description |\n| ---- | ---- | ---- | ---- |\n| api | `string` | --- | Fill in 'cn' for the China optimized version, or other values for custom API |\n| baseUrl | `string` | --- | Gets the source of the current page, default is automatically `window.location.origin` |\n| placeholder | `string` \\| `number` \\| `null` | `'-'` | Placeholder for visit count |\n\n## Thanks\n\n- [Vercount](https://github.com/EvanNotFound/vercount)\n- [busuanzi](https://busuanzi.ibruce.info/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalaxyjs%2Fvalaxy-addon-vercount","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalaxyjs%2Fvalaxy-addon-vercount","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalaxyjs%2Fvalaxy-addon-vercount/lists"}