A Modbus library for Linux, Mac OS, FreeBSD and Windows
⚡ Executive Summary & Quick Facts
Authoritative Sourcelibmodbus is libmodbus is an open-source project written in C: A Modbus library for Linux, Mac OS, FreeBSD and Windows..
“According to real-time open source telemetry recorded on GitHubRepo.cloud (as of November 2026), stephane/libmodbus has accumulated 4,292 GitHub stars and 1,957 forks. It is written in C, licensed under LGPL-2.1, and ranks #3,374 globally. It is actively maintained with the latest commit recorded on Jul 2, 2026.”
| Repository | stephane/libmodbus ↗ |
|---|---|
| Primary Category | automation |
| Language & Stack | C |
| Software License | LGPL-2.1 |
| Community Traction | ★ 4.3K stars · ⑂ 2K forks · #3,374 globally |
| Maintenance | ● Active (Last commit: Jul 2, 2026) · 208 open issues |
| Target Audience | Developers and engineering teams building with C, seeking reliable, tested, and actively maintained tooling for production workloads. |
🛡️ Repository Maintenance & Health Audit (2026)
Health Score: 88/100 · Grade AYes, libmodbus is actively maintained. Continuous telemetry recorded the last code commit on Jul 2, 2026 (143 days ago). Supported by 4,292 stars and 1,957 community forks, this repository holds a calculated health index of 88/100, reflecting periodic maintenance (143 days ago) and healthy issue cadence.
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/stephane/libmodbus?utm_source=readme_chart)
Compact badges for your README header. Real-time stars, velocity, health audit, and rank.
[](https://githubrepo.cloud/repo/stephane/libmodbus?utm_source=readme_badge) [](https://githubrepo.cloud/repo/stephane/libmodbus?utm_source=readme_badge) [](https://githubrepo.cloud/repo/stephane/libmodbus?utm_source=readme_badge) [](https://githubrepo.cloud/repo/stephane/libmodbus?utm_source=readme_badge) [](https://githubrepo.cloud/repo/stephane/libmodbus?utm_source=readme_badge)
Momentum
+35
STARS · LAST 30 DAYS
1
PER DAY
#34
MOST-STARRED C
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +0 | +35 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +0 | +4 | +98 |
libmodbus gained 35 stars in the last 30 days, about 1 a day, and now has 4.3K. It is about 17 years old and has averaged roughly 252 stars a year. It ranks #34 among C repositories and #3,374 across all languages on GitHubRepo.
Trending Record
35
DAYS ON TRENDING
#2844
BEST RANK
Oct 7, 2026
FIRST APPEARANCE
Active
STATUS TODAY
libmodbus has maintained a continuous presence across global trending indexes, peaking at #2844. Below is the 30-day activity profile:
💡 Overview
libmodbus is an open-source project written in C: A Modbus library for Linux, Mac OS, FreeBSD and Windows.
Engineered for speed, consistency, and developer ease, it solves common hurdles in automation, c, libmodbus. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in C for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ git clone https://github.com/stephane/libmodbus.git
cd libmodbus
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
C99 or C11 compiler with CMake / make
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
libmodbus coordinates its core functionality through a modular C pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed libmodbus into C backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open LGPL-2.1 license.
🚀 Getting Started
Install libmodbus using your package manager: `git clone https://github.com/stephane/libmodbus.git`
Initialize your project workspace or configuration file for libmodbus.
Import libmodbus into your codebase or invoke it directly from your terminal.
Execute your test suite or run `libmodbus --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with C, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
stephane/libmodbus is currently ranked #3,374 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #3,369 | doctrine/DoctrineMigrationsBundle | PHP | ★ 4.3K | Compare ↗ |
| #3,369 | Dispatcharr/Dispatcharr | Python | ★ 4.3K | Compare ↗ |
| #3,371 | praw-dev/praw | Python | ★ 4.3K | Compare ↗ |
| #3,371 | jarnedemeulemeester/findroid | Kotlin | ★ 4.3K | Compare ↗ |
| #3,373 | fog/fog | Ruby | ★ 4.3K | Compare ↗ |
| #3,374 | stephane/libmodbus This Project | C | ★ 4.3K | |
| #3,375 | RawTherapee/RawTherapee | C++ | ★ 4.3K | Compare ↗ |
| #3,375 | ChrisBuilds/terminaltexteffects | Python | ★ 4.3K | Compare ↗ |
| #3,377 | adaltas/node-csv | JavaScript | ★ 4.3K | Compare ↗ |
| #3,377 | Nixtla/neuralforecast | Python | ★ 4.3K | Compare ↗ |
| #3,379 | clementine-player/Clementine | C++ | ★ 4.3K | Compare ↗ |
Frequently Asked Questions
What does libmodbus do? +
A Modbus library for Linux, Mac OS, FreeBSD and Windows
Is libmodbus actively maintained in 2026? +
Yes, libmodbus is actively maintained. The latest code push was recorded on Jul 2, 2026 (143 days ago). It holds a calculated Maintenance Health Score of 88/100 (A rating) with 4,292 stars and 208 open issues.
What language is libmodbus written in? +
The primary language is C. Topics include: automation, c, libmodbus, modbus.
How many stars does libmodbus have? +
libmodbus has 4,292 stars and 1,957 forks on GitHub.
How does libmodbus rank among GitHub repositories? +
With 4,292 stars, stephane/libmodbus is ranked #3,374 globally across all repositories tracked on GitHubRepo and #34 among C projects.
What license is libmodbus distributed under? +
The repository reports a LGPL-2.1 license. Always verify the repository LICENSE file for legal terms.