# IoTSharp **Repository Path**: IoTSharp/IoTSharp ## Basic Information - **Project Name**: IoTSharp - **Description**: IoTSharp 是一个 基于.Net Core 开源的物联网基础平台, 支持 HTTP、MQTT 、CoAp 协议, 属性数据和遥测数据协议简单类型丰富,是一个用于数据收集、处理、可视化与设备管理的 IoT 平台 QQ群:63631741 - **Primary Language**: C# - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://iotsharp.net - **GVP Project**: Yes ## Statistics - **Stars**: 2874 - **Forks**: 869 - **Created**: 2018-12-18 - **Last Updated**: 2026-03-23 ## Categories & Tags **Categories**: iot **Tags**: IOT, IoTGateway, mqtt, Coap, 物联网 ## README

IoTSharp logo

# IoTSharp [English](README.md) | [Chinese](README.zh.md) [![License](https://img.shields.io/github/license/IoTSharp/IoTSharp.svg)](LICENSE) [![.NET build](https://github.com/IoTSharp/IoTSharp/actions/workflows/dotnet-build.yml/badge.svg)](https://github.com/IoTSharp/IoTSharp/actions/workflows/dotnet-build.yml) [![Docs deploy](https://github.com/IoTSharp/IoTSharp/actions/workflows/docs-deploy.yml/badge.svg)](https://github.com/IoTSharp/IoTSharp/actions/workflows/docs-deploy.yml) [![Release binaries](https://github.com/IoTSharp/IoTSharp/actions/workflows/dotnet-publish.yml/badge.svg)](https://github.com/IoTSharp/IoTSharp/actions/workflows/dotnet-publish.yml) [![NuGet packages](https://github.com/IoTSharp/IoTSharp/actions/workflows/pack-nupkg.yml/badge.svg)](https://github.com/IoTSharp/IoTSharp/actions/workflows/pack-nupkg.yml) [![Docker images](https://github.com/IoTSharp/IoTSharp/actions/workflows/docker-release.yml/badge.svg)](https://github.com/IoTSharp/IoTSharp/actions/workflows/docker-release.yml) ![Docker Pulls](https://img.shields.io/docker/pulls/maikebing/iotsharp) ![GitHub all releases](https://img.shields.io/github/downloads/IoTSharp/IoTSharp/total) IoTSharp is an open-source industrial IoT platform for device access, telemetry collection, rule-chain processing, visualization, multi-tenant operations, and product delivery. ## 🚀 Overview IoTSharp brings together the core building blocks needed to run an IoT platform in production: - Device and gateway connectivity with HTTP, MQTT, CoAP, and extensible protocol integration. - Telemetry, attributes, alarms, products, assets, and tenant-aware management models. - Rule-chain driven processing for transformation, notification, automation, and business actions. - Relational and time-series storage options for different deployment and scaling needs. - Multiple delivery modes including Docker, Windows service, Linux service, installer flows, and release artifacts. The current main application targets `.NET 10`, and the web console is maintained as an IoTSharp-branded Vue 3 application. ## 🧭 Quick Start ### 🖥️ Run IoTSharp locally The recommended documentation entry points are: - Product docs: - Installation options: - Installer guide: - Docker Desktop extension: For frontend development, the current local dev server default is: - Frontend: `http://localhost:27915` ### 🤖 Use OpenClaw for AI-assisted SQLite setup If you want OpenClaw to guide you through creating a local SQLite-based IoTSharp instance, start with: - - Prompt template: [`tools/prompts/openclaw-sqlite-instance.txt`](tools/prompts/openclaw-sqlite-instance.txt) The runbook defines the SQLite bootstrap flow, installer initialization path, Docker Desktop Extension fallback route, and the safe rule for switching databases later through `appsettings.{Environment}.Installer.json`. ## 🧩 Supported Components | Area | Summary | | --- | --- | | Connectivity | Device, gateway, and protocol integration for industrial access scenarios | | Platform domain | Telemetry, attributes, alarms, products, assets, tenants, and users | | Data foundation | Relational storage, time-series storage, and installer-driven configuration templates | | Integration pipeline | Rule chains, scripting, notifications, event delivery, and automation actions | | Delivery modes | Docker, services, installer flows, and Docker Desktop Extension experiences | For the detailed database matrix, time-series options, message middleware support, and configuration examples, see the docs: - - - ## 📦 Deployment Options - Docker: - Docker Desktop extension: - Windows service: - Linux service: - Application configuration: Online demo: - ## 🗂️ Repository Structure Key directories in this repository: - [`IoTSharp`](IoTSharp): main ASP.NET Core application. - [`ClientApp`](ClientApp): Vue 3 frontend console. - [`docs`](docs): Docusaurus documentation site. - [`docker-desktop-extension`](docker-desktop-extension): Docker Desktop extension experience package. - [`IoTSharp.Installer.Windows`](IoTSharp.Installer.Windows): Windows installer project. - [`IoTSharp.Agent`](IoTSharp.Agent): desktop tray agent project. - [`IoTSharp.SDKs`](IoTSharp.SDKs): SDK and related client-facing artifacts. ## 🌐 Ecosystem and Related Projects NuGet packages and ecosystem libraries include: - `IoTSharp.Sdk.Http` - `IoTSharp.Sdk.MQTT` - `IoTSharp.Extensions` - `IoTSharp.Extensions.AspNetCore` - `IoTSharp.Extensions.EFCore` - `IoTSharp.Extensions.QuartzJobScheduler` - `IoTSharp.HealthChecks.*` - `IoTSharp.X509Extensions` Related repositories: - IoTSharp MQTT C SDK - IoTSharp Edge paho.mqtt.c - IoTSharp Edge nanoFramework - IoTSharp RT-Thread package ## 📚 Documentation - English docs entry: - Chinese README: [README.zh.md](README.zh.md) - Roadmap: [roadmap.md](roadmap.md) - Changelog: [CHANGELOG.md](CHANGELOG.md) ## 🤝 Contributing Contributions are welcome through issues and pull requests: - Pull requests: - Issues: Before contributing, please review the codebase structure, related documentation, and the current release/distribution direction in the docs site. ## 💬 Community Support If you need help using or deploying IoTSharp, community channels are available in the docs and community materials: - GitHub: - Gitee: - Official site: ## ❤️ Donation IoTSharp is released under the Apache 2.0 license. If you would like to support the project, you can back it through: - OpenCollective: - Afdian: - Backers list: [BACKERS.md](BACKERS.md) ## ✨ Blessing - May you do good and not evil. - May you find forgiveness for yourself and forgive others. - May you share freely, never taking more than you give.