{"id":15138539,"url":"https://github.com/hs-web/hsweb-iot-cloud","last_synced_at":"2025-09-29T08:30:31.266Z","repository":{"id":107577811,"uuid":"145494698","full_name":"hs-web/hsweb-iot-cloud","owner":"hs-web","description":"本项目已迁移至 github.com/jetlinks","archived":true,"fork":false,"pushed_at":"2018-10-19T01:36:04.000Z","size":11465,"stargazers_count":255,"open_issues_count":8,"forks_count":130,"subscribers_count":34,"default_branch":"master","last_synced_at":"2024-09-27T07:40:57.068Z","etag":null,"topics":["hsweb","iot-platform","java","kafka","mqtt","spring-boot","spring-cloud","udp","vertx"],"latest_commit_sha":null,"homepage":"https://github.com/jetlinks","language":"JavaScript","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/hs-web.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}},"created_at":"2018-08-21T02:21:04.000Z","updated_at":"2024-09-23T08:31:57.000Z","dependencies_parsed_at":"2023-06-08T13:15:31.165Z","dependency_job_id":null,"html_url":"https://github.com/hs-web/hsweb-iot-cloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hs-web%2Fhsweb-iot-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hs-web%2Fhsweb-iot-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hs-web%2Fhsweb-iot-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hs-web%2Fhsweb-iot-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hs-web","download_url":"https://codeload.github.com/hs-web/hsweb-iot-cloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234600846,"owners_count":18858545,"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":["hsweb","iot-platform","java","kafka","mqtt","spring-boot","spring-cloud","udp","vertx"],"created_at":"2024-09-26T07:40:53.730Z","updated_at":"2025-09-29T08:30:22.754Z","avatar_url":"https://github.com/hs-web.png","language":"JavaScript","readme":"# 开源物联网管理平台\n\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n## 目的\n提供一个开源的物联网管理平台,支持各种设备接入,并完成数据上报,分析,处理等自定义功能.\n\n### 技术栈\n1. java8,maven3\n2. [spring-boot](https://spring.io/projects/spring-boot): 整合各种组件\n3. [spring-cloud](https://spring.io/projects/spring-cloud): 对微服务提供支持\n4. [hsweb-framework](https://github.com/hs-web/hsweb-framework): 基础业务框架\n5. [vertx](https://vertx.io/): 物联网通信(mqtt,udp)\n6. [redisson](https://github.com/redisson/redisson): redis客户端\n7. [spring-cloud-stream](https://cloud.spring.io/spring-cloud-stream/): 事件驱动\n8. [kafka](http://kafka.apache.org/): 消息中间件\n9. [docker](https://www.docker.com/): 快速环境搭建,持续交付\n\n在使用本项目之前,你应该对以上技术有所了解.\n\n### 模块介绍\n\n     ---------hsweb-iot-cloud\n     -------------docker                    # 一些docker脚本\n     ---------------dev-env                 # 启动开发环境需要的外部服务(redis,kafka,zookeeper等)\n     -------------eureka-server             # 服务注册中心\n     -------------gateway-server            # 基于zuul的网关服务\n     -------------iot-components            # 通用组件\n     ------------------iot-authorization    # 权限集成\n     ------------------iot-cloud-stream     # spring-cloud-stream集成\n     ------------------iot-logging          # 访问日志,系统日志集成\n     ------------------iot-redis            # redis集成\n     ------------------server-dependencies  # 微服务通用依赖\n     -------------mqtt-emulator             # mqtt客户端模拟器\n     -------------user-server               # 用户服务\n     -------------interaction-server        # 物联网设备交互服务\n     \n约定: 所有微服务以`-server`为后缀,微服务禁止依赖其他微服务,只能依赖`iot-components`内的通用依赖.\n微服务间使用`FeignClient`或者`spring cloud stream` 进行通信.\n\n\n### 使用\n\n本项目使用了redis,kafka,zookeeper.因此在启动项目之前需要先安装并启动相应服务.\n\n以linux为例:\n\n1. 下载源码\n    \n        git clone https://github.com/hs-web/hsweb-iot-cloud.git\n\n2. 执行启动开发环境脚本,将会使用docker安装相应服务.(自行安装docker)\n\n        ./start-dev-env.sh\n        \n未提供windows下的安装脚本,windows下请自行安装相关服务:`redis`,`zookeeper`,`kafka`.\n\n3. 依次启动服务\n       \n        eureka-server,gateway-server,user-server....\n \n4. 服务启动成功后,浏览器访问: http://localhost:8000 ,用户名:admin 密码: admin\n\n5. 数据库,项目默认使用`h2`数据库,可自行修改`application.yml`配置更改数据库,目前支持: h2,mysql,oracle数据库.\n系统首次启动将会自动初始化数据库,无需导入数据库脚本.\n\n遇到问题? 可以加入QQ群:`515649185`,\n或者使用[issues](https://github.com/hs-web/hsweb-iot-cloud/issues/new)提问.\n\n### 贡献\n目前缺前端大佬一名, 要求: \n1. 有开源精神,愿意无偿并长期献身开源项目.\n2. 对`hsweb`感兴趣.\n3. 有能力使用主流前端框架重写现有功能页面.\n4. 加入QQ群:`515649185`(备注:`hsweb-iot-cloud`) @群主.\n\n### License\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhs-web%2Fhsweb-iot-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhs-web%2Fhsweb-iot-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhs-web%2Fhsweb-iot-cloud/lists"}