Được TopGit lập chỉ mục từ metadata GitHub: cesanta/mongoose có 13.1k sao, viết chủ yếu bằng C. Embedded web server, with TCP/IP network stack, MQTT and Websocket
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Mongoose: a full-stack embedded networking library
Mongoose is a full-stack embedded networking library for C/C++: a TCP/IP stack
with drivers, TLS 1.3, an embedded web server (HTTP, WebSocket), MQTT and
firmware OTA updates in two files, mongoose.c and mongoose.h. Mongoose runs on
STM32, NXP and other microcontrollers, on bare metal or with an RTOS, with no
external dependencies. Use it for cloud connectivity, device web dashboards,
secure firmware updates and remote control.
Use it instead of lwIP + mbedTLS + httpd + an MQTT client + OTA glue code, or
run it on top of lwIP or Zephyr.
On the market since 2004, used by a vast number of open source and commercial
products - it even runs on the International Space Station! Features include:
Cross-platform:
works on Linux/UNIX, MacOS, Windows, Android, STM32, NXP, ESP32, Nordic, TI, Microchip, Infineon, Renesas and other chips
write code once - and it'll work everywhere
ideal for the unification of the network infrastructure code across company
Built-in protocols: plain TCP/UDP, SNTP, HTTP, MQTT, Websocket, Modbus-TCP, and other
Asynchronous DNS resolver
Tiny static and run-time footprint
Source code is both ISO C and ISO C++ compliant
Very easy to integrate
Own TCP/IP stack for bare metal / RTOS, or run on top of any existing one (lwIP, Zephyr, ...)
Built-in TLS 1.3 stack. Also can use external TLS libraries - mbedTLS, OpenSSL, or other
Does not depend on any other software to implement networking
Built-in firmware updates for STM32 H5, STM32 H7, NXP IMXRT, RP2040/2350, ESP32 and more
Commercial support with proactive security updates; CRA-compliant
Mongoose is ideal for IoT devices, embedded web servers, OTA updates, MQTT telemetry, secure device dashboards, REST APIs on microcontrollers
See https://mongoose.ws/ for complete documentation, videos, case studies, etc.
Supported platforms
Mongoose has its own built-in TCP/IP stack with drivers, so it needs no
additional software to implement networking. The built-in stack runs on bare
metal and under any RTOS. Platforms supported by the Mongoose built-in TCP/IP
stack:
GPLv2: free for open source projects. Many popular open source projects use
Mongoose, for example
SWUpdate, the
embedded Linux update framework
Commercial: for closed-source products. Includes support directly from the
engineers who wrote the whole stack, and early security fixes.
See licensing
Commercial use
Mongoose is used by hundreds of businesses, from Fortune500 giants like
Siemens, Schneider Electric, Broadcom, Bosch, Google, Samsung, Qualcomm, Caterpillar to the small businesses
Used to solve a wide range of business needs, like implementing Web UI
interface on devices, RESTful API services, telemetry data exchange, remote
control for a product, remote software updates, remote monitoring, and others
Deployed to hundreds of millions devices in production environment worldwide
See Case Studies from our respected
customers like Schneider Electric (industrial automation), Broadcom (semiconductors), Pilz (industrial automation), and others
See Testimonials from engineers that integrated Mongoose in their commercial products
We provide Evaluation and Commercial licensing, support, consultancy and integration
services - don't hesitate to contact us
Security
We take security seriously:
Mongoose repository runs a
continuous integration test powered by GitHub,
which runs through hundreds of unit tests on every commit to the repository.
Our unit tests
are built with modern address sanitizer technologies, which help to find
security vulnerabilities early
Mongoose repository is integrated into Google's
oss-fuzz continuous fuzzer
which scans for potential vulnerabilities continuously
We receive periodic vulnerability reports from the independent security
groups like
Cisco Talos,
Microsoft Security Response Center,
MITRE Corporation,
Compass Security and others.
In case of the vulnerability found, we act according to the industry best
practice: hold on to the publication, fix the software and notify all our
customers that have an appropriate subscription
Some of our customers (for example NASA)
have specific security requirements and run independent security audits,
of which we get notified and in case of any issue, act similar to (3).
How to report security vulnerabilities
Please report via https://github.com/cesanta/mongoose/security/advisories.
Do NOT create a github issue.
Articles
Technical guides and deep dives into embedded web servers, WebUI integration and embedded networking technologies:
Embedded Web Server: A Comprehensive Guide for Modern Connected Devices
Building Embedded Web Device Dashboards
ESP32 Device Dashboard: A Step-by-Step Guide for Developers
How to build an STM32 Web Dashboard
STM32 WebSocket Guide
Web File Manager on STM32, ESP32 and Embedded Linux
Web dashboard on Zephyr RTOS
Limiting TCP/IP RAM usage on STM32
STM32 Ethernet explained
MQTT on a Microcontroller
STM32 OTA Firmware Update
RP2350 OTA Firmware Update
STM32 Ethernet and caches
NXP RW612 OTA Firmware Update
lwIP vs Mongoose - TCP/IP Stack Integration Benchmark
Embedded TCP/IP Stacks Comparison
STM32H5 File System on Internal Flash: LittleFS + Mongoose
Firmware OTA and remote control on NXP FRDM-RW612
25000 WebSocket messages per second on STM32 Nucleo-H723ZG
How to connect STM32 to AWS IoT Core
How to connect STM32 to Azure IoT Hub
How to connect STM32 to EMQX
STM32 Device Management deep dive: Secure OTA, Remote Control, health monitor
STM32 TCP/IP footprint: how much flash and RAM does Mongoose take?
Contributions
Contributions are welcome! Please follow the guidelines below:
Sign Cesanta CLA and send GitHub pull request
Make sure that PRs have only one commit, and deal with one issue only
cesanta/mongoose có 13.1k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/cesanta/mongoose. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
Dự án có trang chủ ở https://mongoose.ws. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
cesanta/mongoose còn đang phát triển không?
Commit gần nhất trên cesanta/mongoose là 3 tháng trước (theo timestamp GitHub). Repo có 3.0k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
cesanta/mongoose viết bằng ngôn ngữ gì?
cesanta/mongoose chủ yếu viết bằng C. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc thêm về cesanta/mongoose ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/cesanta/mongoose là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về mongoose?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về mongoose.