{"id":36761207,"url":"https://github.com/gowvp/gb28181_web","last_synced_at":"2026-05-30T12:00:32.948Z","repository":{"id":269911824,"uuid":"908832356","full_name":"gowvp/gb28181_web","owner":"gowvp","description":"GB28181 - 2022 NVR | ONVIF/RTMP/RTSP | ZLMediaKit | 本地 YOLO 检测 | 私有部署支持 | 这是网页版客户端。","archived":false,"fork":false,"pushed_at":"2026-04-24T01:29:55.000Z","size":9634,"stargazers_count":35,"open_issues_count":0,"forks_count":19,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-24T03:34:11.644Z","etag":null,"topics":["frigate","gb28181","onvif","rtmp","rtsp","yolo","zlm"],"latest_commit_sha":null,"homepage":"http://gowvp.golang.space:15123","language":"TypeScript","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/gowvp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-12-27T04:43:40.000Z","updated_at":"2026-04-24T01:29:24.000Z","dependencies_parsed_at":"2026-01-08T19:03:12.499Z","dependency_job_id":null,"html_url":"https://github.com/gowvp/gb28181_web","commit_stats":null,"previous_names":["gowvp/gb28181_web"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gowvp/gb28181_web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowvp%2Fgb28181_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowvp%2Fgb28181_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowvp%2Fgb28181_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowvp%2Fgb28181_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gowvp","download_url":"https://codeload.github.com/gowvp/gb28181_web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowvp%2Fgb28181_web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33691312,"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-05-30T02:00:06.278Z","response_time":92,"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":["frigate","gb28181","onvif","rtmp","rtsp","yolo","zlm"],"created_at":"2026-01-12T12:55:39.585Z","updated_at":"2026-05-30T12:00:32.821Z","avatar_url":"https://github.com/gowvp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./docs/logo.avif\" alt=\"GoWVP Logo\" width=\"550\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/gowvp/gb28181/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/ixugo/goweb?include_prereleases\" alt=\"Version\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/ixugo/goweb/blob/master/LICENSE.txt\"\u003e\u003cimg src=\"https://img.shields.io/dub/l/vibe-d.svg\" alt=\"License\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# 开箱即用的 GB/T28181 协议视频平台\n\ngo wvp 是 Go 语言实现的开源 GB28181 解决方案，基于GB28181-2022标准实现的网络视频平台，支持 rtmp/rtsp，客户端支持网页版本和安卓 App。支持rtsp/rtmp等视频流转发到国标平台，支持rtsp/rtmp等推流转发到国标平台。\n\n## Golang 服务端实现 [gb28181](github.com/gowvp/gb28181)\n\n当前项目是由 React 实现的 web 管理平台\n\n## 页面缩略图\n\n![首页概览](./docs/home.webp)\n![首页概览](./docs/play.webp)\n\n## 在线演示平台\n+ [在线演示平台 :)](http://gowvp.golang.space:15123/)\n\n\n\n## 技术栈\n\n前置要求:\nnode.js \u003e 20.x\n\n+ [React 19](https://react.dev/)\n+ [TanStack Router](https://tanstack.com/router/latest)\n+ [shadcn/ui](https://ui.shadcn.com/)\n+ [Vite 7](https://cn.vitejs.dev/)\n+ [Tailwind CSS 4](https://tailwindcss.com/) - 使用 @tailwindcss/vite 插件\n+ [React Query](https://tanstack.com/query/latest/docs/framework/react/overview)\n+ [TypeScript](https://www.typescriptlang.org/)\n+ [Biome](https://biomejs.dev/) - 代码格式化和 lint\n\n## 使用帮助\n\n路由跳转\n\n```tsx\nimport { useNavigate } from \"@tanstack/react-router\";\n\nconst navigate = useNavigate();\n\nconst handleClick = () =\u003e {\n    navigate({ to: '/about' });\n}\n\n// 带搜索参数的导航\nnavigate({ to: '/zones', search: { cid: '123' } });\n```\n\nvite 配置代理\n```ts\n server: {\n    proxy: {\n      \"/api\": {\n        target: \"http://localhost:18081\",\n        changeOrigin: true,\n        rewrite: (path) =\u003e path.replace(/^\\/api/, \"\"),\n      },\n    },\n  },\n```\n\n\n## 生产模式公共前缀\n\n开发模式下，Vite 默认的开发服务器是以 / 为根路径运行的，而生产环境会以设置的 base 作为根路径。为了兼容开发模式和生产模式，可以按以下方式进行配置。\n值为 `./` 会导致开发模式下出错\n\n\n1.  更新 vite.config.ts\n```ts\n base: mode === \"development\" ? \"/\" : \"/web/\",\n```\n\n2. 其它静态文件\n```tsx\n\u003cimg src={`${import.meta.env.BASE_URL}assets/logo.avif`} alt=\"Logo\" /\u003e\n```\n\n## 开发与生成环境区分\n\n`yarn dev` 加载 `.env.development` 环境变量\n\n`yarn build` 加载 `.env.production` 环境变量\n\n### 其它\n\n**drawer 背景动画**\n需要使用 DrawerCSSProvider 包裹父组件，动画才生效\n\n**react-resizable-panels**\n导入 shadcn-ui 的 resizable ，需要额外执行\n`yarn add react-resizable-panels`\n\nvite.config.ts 需要增加以下配置，否则模块加载会出问题\n\n```ts\n ssr: {\n      // 外部化会导致问题的依赖项\n      noExternal: [\"react-resizable-panels\"],\n    },\n```\n\n### 部署\n\nStart the development server with HMR:\n\n```bash\nnpm run dev\n```\n\nYour application will be available at `http://localhost:5173`.\n\n## Building for Production\n\nCreate a production build:\n\n```bash\nnpm run build\n```\n\n## Deployment\n\n### Docker Deployment\n\nThis template includes three Dockerfiles optimized for different package managers:\n\n- `Dockerfile` - for npm\n- `Dockerfile.pnpm` - for pnpm\n- `Dockerfile.bun` - for bun\n\nTo build and run using Docker:\n\n```bash\n# For npm\ndocker build -t my-app .\n\n# For pnpm\ndocker build -f Dockerfile.pnpm -t my-app .\n\n# For bun\ndocker build -f Dockerfile.bun -t my-app .\n\n# Run the container\ndocker run -p 3000:3000 my-app\n```\n\nThe containerized application can be deployed to any platform that supports Docker,\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowvp%2Fgb28181_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgowvp%2Fgb28181_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowvp%2Fgb28181_web/lists"}