SpriteHTTPD - embedded HTTP server with read-only filesystem and templating, originally developed for ESP8266, now stand-alone and POSIX compatible.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Ondřej Hruška 765b4ac507 add GetCookie 3 лет назад
demo add GetCookie 3 лет назад
fstool add malloc instrumentation 3 лет назад
spritehttpd add GetCookie 3 лет назад
.gitignore super polished fs tool 3 лет назад
Makefile add malloc instrumentation 3 лет назад
README.md readme 3 лет назад

README.md

sprite-httpd

This project is a continuation of Sprite-TM's ESP8266 / ESP32 http server (https://github.com/Spritetm/esphttpd) with ESP-Term improvements (https://github.com/MightyPork/libesphttpd), ported to plain FreeRTOS with Berkeley sockets. The posix port allows it to run on Linux as well

  • ideal for debugging.

The server implements some of the more basic parts of HTTP/1.1 with Websockets and includes a templating system and a compressed ROM filesystem called espfs.

Status

Currently cleaning the library and debugging it with the POSIX port and a demo project in the demo folder.

Verified:

  • EspFs with a new fancy command-line tool
  • New simpler Makefile
  • serving static files
  • templating engine

To test:

  • websockets
  • auth CGI
  • CORS header support

Planned:

  • port httpclient from the old library
  • cookie helpers
  • session CGI
  • try to make it work with mbedtls
  • avoid frequent allocations, reuse structs, maybe make more things static?