{"id":25963337,"url":"https://github.com/lucky845/github-profile-views","last_synced_at":"2025-03-04T20:29:54.230Z","repository":{"id":280387038,"uuid":"941817651","full_name":"lucky845/github-profile-views","owner":"lucky845","description":"一个简单而美观的GitHub个人主页访问量统计工具，可以轻松集成到你的GitHub个人资料页面。","archived":false,"fork":false,"pushed_at":"2025-03-03T06:07:33.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T06:26:37.535Z","etag":null,"topics":["ajax","express","nodejs"],"latest_commit_sha":null,"homepage":"https://github-profile-views-plum.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucky845.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2025-03-03T05:18:16.000Z","updated_at":"2025-03-03T06:10:36.000Z","dependencies_parsed_at":"2025-03-03T06:37:05.277Z","dependency_job_id":null,"html_url":"https://github.com/lucky845/github-profile-views","commit_stats":null,"previous_names":["lucky845/github-profile-views"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucky845%2Fgithub-profile-views","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucky845%2Fgithub-profile-views/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucky845%2Fgithub-profile-views/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucky845%2Fgithub-profile-views/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucky845","download_url":"https://codeload.github.com/lucky845/github-profile-views/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241917274,"owners_count":20042064,"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":["ajax","express","nodejs"],"created_at":"2025-03-04T20:29:53.560Z","updated_at":"2025-03-04T20:29:54.223Z","avatar_url":"https://github.com/lucky845.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Profile Views Counters\n\n一个简单而美观的GitHub个人主页访问量统计工具，可以轻松集成到你的GitHub个人资料页面。\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github-profile-views-plum.vercel.app/lucky845?theme=rainbow\" alt=\"Profile Views Demo\" width=\"650\"\u003e\n\u003c/p\u003e\n\n## 特点\n\n- 🌈 多种主题可选\n- 👁️ 同时显示总访问量和唯一访问者数量\n- 🏆 根据访问量自动评级（从D-到S+）\n- 🖼️ 显示用户GitHub头像\n- 🚀 易于部署到Vercel\n- 💾 MongoDB数据存储，支持内存模式作为备用\n\n## 使用方法\n\n只需在你的GitHub个人资料README.md中添加以下代码：\n\n```markdown\n![GitHub Profile Views](https://your-app-url.vercel.app/your-github-username)\n```\n\n### 自定义选项\n\n你可以通过URL参数自定义显示效果：\n\n#### 主题选择\n\n```markdown\n![GitHub Profile Views](https://your-app-url.vercel.app/your-github-username?theme=ocean)\n```\n\n## 主题展示\n\n以下是所有可用主题的展示效果：\n\n\u003cdetails\u003e\n\u003csummary\u003e点击查看所有主题\u003c/summary\u003e\n\n### Rainbow 主题 (默认)\n![Rainbow Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=rainbow)\n\n### GitHub 主题\n![GitHub Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=github)\n\n### Blue 主题\n![Blue Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=blue)\n\n### Purple 主题\n![Purple Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=purple)\n\n### Green 主题\n![Green Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=green)\n\n### Dark 主题\n![Dark Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=dark)\n\n### Light 主题\n![Light Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=light)\n\n### Neon 主题\n![Neon Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=neon)\n\n### Sunset 主题\n![Sunset Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=sunset)\n\n### Ocean 主题\n![Ocean Theme](https://github-profile-views-plum.vercel.app/lucky845?theme=ocean)\n\n\u003c/details\u003e\n\n### 可用主题列表\n\n- `rainbow` （默认）- 彩虹渐变\n- `github` - GitHub风格\n- `blue` - 蓝色渐变\n- `purple` - 紫色渐变\n- `green` - 绿色渐变\n- `dark` - 深色主题\n- `light` - 浅色主题\n- `neon` - 霓虹风格\n- `sunset` - 日落渐变\n- `ocean` - 海洋渐变\n\n## 部署自己的实例\n\n### 前提条件\n- Node.js\n- [MongoDB数据库](https://cloud.mongodb.com)（可选，没有也可以使用内存模式）\n- [Vercel账户](https://vercel.com/)（用于部署）\n\n### 部署步骤\n1. Fork这个仓库\n2. 克隆你fork的仓库到本地\n3. 安装依赖：`npm install`\n4. 创建 `.env` 文件并添加你的MongoDB连接字符串：\n   ```\n   MONGODB_URI=your_mongodb_connection_string\n   ```\n5. 本地测试：`npm start`\n6. 部署到Vercel：\n   - 导入你的GitHub仓库\n   - 添加环境变量 `MONGODB_URI`\n   - 部署！\n\n\u003cdetails\u003e\n\u003csummary\u003e详细部署指南\u003c/summary\u003e\n\n#### 本地开发\n\n```bash\n# 克隆仓库\ngit clone https://github.com/yourusername/github-profile-views.git\ncd github-profile-views\n\n# 安装依赖\nnpm install\n\n# 创建.env文件\necho \"MONGODB_URI=your_mongodb_connection_string\" \u003e .env\n\n# 启动开发服务器\nnpm start\n```\n\n#### 部署到Vercel\n\n1. 在[Vercel](https://vercel.com/)创建账户\n2. 点击\"New Project\"按钮\n3. 导入你的GitHub仓库\n4. 在\"Environment Variables\"部分添加`MONGODB_URI`\n5. 点击\"Deploy\"按钮\n\n\u003c/details\u003e\n\n## 评分系统\n\n访问量评分标准：\n\n| 评分 | 访问量范围 |\n|------|------------|\n| D-   | 少于100次  |\n| D    | 100-149次  |\n| D+   | 150-199次  |\n| C-   | 200-299次  |\n| C    | 300-399次  |\n| C+   | 400-599次  |\n| B-   | 600-799次  |\n| B    | 800-999次  |\n| B+   | 1000-1499次|\n| A-   | 1500-1999次|\n| A    | 2000-2999次|\n| A+   | 3000-4999次|\n| S    | 5000-9999次|\n| S+   | 10000次及以上|\n\n## 许可证\n\n本项目采用 Apache 2.0 许可证。详情请查看 [LICENSE](LICENSE) 文件。\n\n## 贡献\n\n欢迎提交问题和拉取请求！如果你想为这个项目做出贡献，请查看 [CONTRIBUTING.md](CONTRIBUTING.md) 文件。\n\n## 致谢\n\n感谢所有为这个项目做出贡献的开发者！","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucky845%2Fgithub-profile-views","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucky845%2Fgithub-profile-views","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucky845%2Fgithub-profile-views/lists"}