mongoose/examples
2023-08-02 14:03:11 -03:00
..
arduino no Docker, in-place build for tests 2023-07-21 16:45:14 -03:00
captive-dns-server READMEs, golden update collaterals, etc 2023-02-21 12:07:48 -03:00
device-dashboard TLS API refactor 2023-07-25 13:07:28 +01:00
embedded-filesystem TLS API refactor 2023-07-25 13:07:28 +01:00
esp32 update to new API 2023-07-25 18:41:41 -03:00
esp8266/http-client-server update 2023-03-08 11:44:34 -03:00
file-upload-html-form READMEs, golden update collaterals, etc 2023-02-21 12:07:48 -03:00
file-upload-multiple-posts enhanced path sanitizing 2023-07-03 06:14:50 -04:00
file-upload-single-post READMEs, golden update collaterals, etc 2023-02-21 12:07:48 -03:00
http-client update to new API 2023-07-25 18:41:41 -03:00
http-proxy-client update to new API 2023-07-25 18:41:41 -03:00
http-restful-server update to new API 2023-07-25 18:41:41 -03:00
http-reverse-proxy update to new API 2023-07-25 18:41:41 -03:00
http-server Fix #2075. Add MG_HTTP_DIRLIST_TIME_FMT, remove MG_HTTP_DIRLIST_TIME and MG_HTTP_DIRLIST_TIME_UTC 2023-02-20 21:25:55 +00:00
http-streaming-client TLS API refactor 2023-07-25 13:07:28 +01:00
huge-response Update to use MG_ESC() 2023-05-17 14:26:45 -03:00
infineon/infineon-xmc4700_4800-lwip-rtx-rtos Add RTX-RTOS support 2022-02-23 19:56:37 +02:00
json-rpc-over-websocket Update to use MG_ESC() 2023-05-17 14:26:45 -03:00
live-log updated Makefiles and symlinks 2023-02-21 16:05:25 -03:00
mip-pcap Refactor device-dashboard 2023-05-26 16:20:25 +01:00
mip-tap update to new API 2023-07-25 18:41:41 -03:00
mqtt-client update to new API 2023-07-25 18:41:41 -03:00
mqtt-client-aws-iot update to new API 2023-07-25 18:41:41 -03:00
mqtt-over-ws-client update to new API 2023-07-25 18:41:41 -03:00
mqtt-server MQTT: support for properties feature added 2023-04-23 16:35:50 +03:00
multi-threaded Fix for some compilers 2023-04-11 08:41:14 -03:00
nxp Add more NXP examples and move them to nxp folder 2021-10-22 14:04:15 +03:00
rp2040 static clue 2023-07-18 17:10:05 -03:00
smtp-client TLS API refactor 2023-07-25 13:07:28 +01:00
sntp-time-sync update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
socks5-server update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
stm32 standardize example names 2023-08-02 14:03:11 -03:00
tcp TLS API refactor 2023-07-25 13:07:28 +01:00
ti static clue 2023-07-18 17:10:05 -03:00
timers update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
uart-bridge MQTT: support for properties feature added 2023-04-23 16:35:50 +03:00
udp-ssdp-search update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
video-stream update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
websocket-client updated Makefiles and symlinks 2023-02-24 13:46:31 -03:00
websocket-server updated Makefiles and symlinks 2023-02-24 13:46:31 -03:00
webui-login Update to use MG_ESC() 2023-05-17 14:26:45 -03:00
webui-plain Update to use MG_ESC() 2023-05-17 14:26:45 -03:00
webui-preact updated Makefiles and symlinks 2023-02-24 13:46:31 -03:00
webui-push-rest Update to use MG_ESC() 2023-05-17 14:26:45 -03:00
webui-push-ws Update to use MG_ESC() 2023-05-17 14:26:45 -03:00
webui-rest Update to use MG_ESC() 2023-05-17 14:26:45 -03:00
wifi-router-dashboard update to new API 2023-07-25 18:41:41 -03:00
zephyr Refactor device-dashboard 2023-05-26 20:45:08 -03:00
README.md Fix #2063 - a typo 2023-02-14 15:12:51 +00:00

Mongoose Network Library Examples

In order to build and run any of the existing examples, please follow: https://mongoose.ws/documentation/#how-to-build-and-run-examples

Contributing

Rules for creating a new example:

  • Makefile golden reference for desktop/server example: http-server
  • Makefile golden reference for the embedded example: stm32/nucleo-f746zg-baremetal
  • An example must build on Windows, Mac and Ubuntu Linux systems
  • Assume that user installed tools according to https://mongoose.ws/tutorials/tools/
  • Makefile must not include any other make files
  • Use CFLAGS for system-specific compilation options
  • Use CFLAGS_MONGOOSE for mongoose-specific compilation options
  • Use $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) to compile
  • If external repository is required, download it on demand using git shallow clone. See embedded example golden reference
  • Keep Makefile as short as possible, but verbose to understand it easily
  • Symlink files when required, like mongoose.c, ca.pem, etc. Make no copies
  • Example's README.md should contain only the title and the link to mongoose.ws tutorial page