#esp32 #discord-webhook

diswh-esp

A simple way to send webhook messages on the ESP platform, or edit for discord. Fully featured with builders to make things easy!

2 stable releases

new 1.0.1 Jan 30, 2025
1.0.0 Jan 27, 2025

#772 in Embedded development

Download history 74/week @ 2025-01-22 161/week @ 2025-01-29

235 downloads per month

CC0 license

25KB
415 lines

Diswh

A webhook api designed for use with the ESP platform. Relies on the esp-idf-svc library to handle networking.

Unlike the standard diswh, this version does not provide a async api. However given the ESP platform is underpowered, i believe its a compromize we can live with.

REQUIRES std WILL NOT RUN ON no_std

How to use:

use diswh::{MessageBuilder, WebhookBuilder};

WebhookBuilder::new("url")
    .send_message(
        MessageBuilder::new("Hello webhook!", false).build()
    )?;

Dependencies

~7–16MB
~219K SLoC