Kalpana Kalpana (Editor)

Mongoose (web server)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Sergey Lyubka

Written in
  
C

Developer(s)
  
Cesanta Software

Operating system
  
Cross-platform

Stable release
  
6.7 / January 17, 2017; 53 days ago (2017-01-17)

Repository
  
github.com/cesanta/mongoose/

Mongoose is a cross-platform embedded web server and networking library with functions including TCP, HTTP client and server, WebSocket client and server, MQTT client and broker and much more.

Contents

The small size of the software enables any Internet-connected device to function as a web server. Mongoose is available under GPL v2 and commercial licenses.

Mongoose is developed by Cesanta Software.

Overview

Mongoose is built on top of the Mongoose Embedded Library which can be used for the implementation of RESTful services, to serve Web GUI on embedded devices, create RPC frameworks (e.g. JSON-RPC). Mongoose is a cross-platform application that can be used on Windows, Macintosh OS, Linux, QNX, eCOS, Free RTOS, Android and iOS.

With just over 130 kB source code and an executable footprint of 40 kB on Linux 2.6 i386, Mongoose is one of the smallest web servers available. Via an application programming interface, (API) it can also be embedded into other programs. Mongoose is written in C.

In July 2015 Cesanta has introduced Mongoose OS a complete IoT firmware solution.

Mongoose OS is open source embedded operating system for low-power connected microcontrollers. Secure, complete environment for prototyping, development and managing of connected devices.

Mongoose OS is Designed for Internet of Things and provides:

  • secure connectivity;
  • best runtime performance;
  • complete environment for prototyping, development and managing;
  • available for ESP8266, ESP 32, TI CC3200, STM32, NRF52 and other hardware platforms.
  • Users

    Mongoose is used by several companies in various industries, including software companies, equipment companies, semiconductor companies and some Fortune 500 technology companies. In January 2017, Mongoose reached a mark of being downloaded over 2,000,000 times.

    Functions

    Functions of Mongoose include:

    Forks

    After the original author changed the license from MIT to GPL v2, Mongoose got forked to keep a permissive licensed version available. The different forks then significantly diverged when adding features.

    License change

    In August 2013 the license was changed from MIT license to a dual GPLv2 / commercial licensing scheme.

    References

    Mongoose (web server) Wikipedia