{"id":14964231,"url":"https://github.com/shouchenicu/webcamera","last_synced_at":"2025-04-05T08:06:34.507Z","repository":{"id":242854331,"uuid":"807696724","full_name":"ShouChenICU/WebCamera","owner":"ShouChenICU","description":"基于WebRTC的点对点网络摄像头实时监控工具","archived":false,"fork":false,"pushed_at":"2024-06-13T13:20:26.000Z","size":899,"stargazers_count":444,"open_issues_count":2,"forks_count":40,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T08:06:28.842Z","etag":null,"topics":["camera","nuxtjs","p2p","vue3","webcam","webcamera","webrtc"],"latest_commit_sha":null,"homepage":"https://webcamera.cc/","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/ShouChenICU.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-29T15:45:21.000Z","updated_at":"2025-03-15T08:34:19.000Z","dependencies_parsed_at":"2024-06-05T11:14:39.932Z","dependency_job_id":"78a5cd42-4f94-452d-a8a8-f5efe67b9f72","html_url":"https://github.com/ShouChenICU/WebCamera","commit_stats":null,"previous_names":["shouchenicu/webcamera"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShouChenICU%2FWebCamera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShouChenICU%2FWebCamera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShouChenICU%2FWebCamera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShouChenICU%2FWebCamera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShouChenICU","download_url":"https://codeload.github.com/ShouChenICU/WebCamera/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247305934,"owners_count":20917208,"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":["camera","nuxtjs","p2p","vue3","webcam","webcamera","webrtc"],"created_at":"2024-09-24T13:32:49.864Z","updated_at":"2025-04-05T08:06:34.482Z","avatar_url":"https://github.com/ShouChenICU.png","language":"Vue","readme":"# WebCamera\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n![Nuxt](https://img.shields.io/badge/nuxt.js-v3.11.2-green.svg)\n![Yarn](https://img.shields.io/badge/yarn-v1.22.22-blue.svg)\n\n![WebCamera](./public/ogImg.webp)\n\nWebCamera 是一个基于 WebRTC 技术的网络摄像头监控工具，使用 Nuxt.js 框架开发。\n\n## 目录\n\n- [特性](#特性)\n- [安装](#安装)\n- [使用](#使用)\n- [构建](#构建)\n- [Docker运行](#Docker运行)\n- [贡献](#贡献)\n- [许可证](#许可证)\n\n## 特性\n\n- **实时视频流**: 使用 WebRTC 技术实现高效的实时视频流。\n- **跨平台支持**: 兼容多种浏览器和设备。\n- **易于开发**: 基于 Nuxt.js 框架，方便扩展和维护。\n- **模块化设计**: 便于功能的扩展和集成。\n- **隐私安全**: 使用点对点加密连接，保护隐私安全。\n\n## 安装\n\n在开始之前，请确保您的系统已经安装了 [Node.js](https://nodejs.org/) 和 [Yarn](https://yarnpkg.com/)。\n\n1. 克隆仓库\n\n```bash\ngit clone https://github.com/ShouChenICU/WebCamera.git\n\ncd WebCamera\n```\n\n2. 安装依赖\n\n```bash\nyarn install\n```\n\n## 使用\n\n1. 启动开发服务器\n\n```bash\nyarn run dev\n```\n\n2. 打开浏览器访问 `http://localhost:3000`\n\n3. 摄像头先连接，然后监控页面填入和摄像头相同的连接ID，点连接，即可连接到摄像头。\n\n## 构建\n\n1. 进入项目根目录执行\n\n```bash\nyarn run build\n```\n\n2. 构建输出在 `.output` 目录中\n3. 进入 `.output` 执行如下命令即可启动服务\n\n```bash\nnode server/index.mjs\n```\n\n**自部署请注意**: 浏览器媒体权限（摄像头和麦克风等）需要地址为`localhost`或使用`HTTPS`才能正常申请和启用，请自行配置`HTTPS`部署。\n\n## Docker运行\n\n```bash\ndocker build -t webcamera .\ndocker run -d -p 3000:3000 webcamera\n```\n\n## 贡献\n\n我们欢迎任何形式的贡献！如果你有任何建议或发现了 bug，请提交一个 issue 或者发送一个 pull request。\n\n1. Fork 本仓库\n2. 创建一个新的分支 (`git checkout -b feature-branch`)\n3. 提交你的更改 (`git commit -am 'Add some feature'`)\n4. 推送到分支 (`git push origin feature-branch`)\n5. 创建一个新的 Pull Request\n\n## 许可证\n\n该项目基于 MIT 许可证，详细信息请参阅 [LICENSE](./LICENSE) 文件。\n\n---\n\n\u003ca href=\"https://star-history.com/#ShouChenICU/WebCamera\u0026Date\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=ShouChenICU/WebCamera\u0026type=Date\u0026theme=dark\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=ShouChenICU/WebCamera\u0026type=Date\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=ShouChenICU/WebCamera\u0026type=Date\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshouchenicu%2Fwebcamera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshouchenicu%2Fwebcamera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshouchenicu%2Fwebcamera/lists"}