{"repo":"privkeyio/libnostr-c","free":true,"listed":false,"github":"https://github.com/privkeyio/libnostr-c","clone":"git clone https://github.com/privkeyio/libnostr-c.git","description":"Lightweight, portable C library for the Nostr protocol with native Lightning Network integration.","language":"C","stars":11,"topics":["bitcoin","nostr","lightning-network","c"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"libnostr-c A lightweight, portable C library for the Nostr protocol with native Lightning Network integration What is libnostr-c? A high-performance C implementation of the Nostr protocol built for efficiency and minimal dependencies. libnostr-c provides core event management, modern NIP-44 encryption powered by noscrypt, Lightning zaps, WebSocket relay communication, and complete relay-side protocol support. Designed for both client applications and relay implementations, with a focus on security, portability, and embedded systems. API Example Motivation Building nostr applications in C requires reliable, efficient cryptographic operations and protocol handling. libnostr-c provides a complete implementation with modern NIP-44 encryption, Lightning integration, and minimal resource requirements. Built with security-first design principles and optimized for both desktop and embedded systems. Platform Support The following table lists supported platforms and cryptographic backends: Platform Crypto Backend Notes CI Status -------- -------------- ----- --------- Linux noscrypt, secp256k1 GCC/Clang ✅ Tested macOS noscrypt, secp256k1 Clang ✅ Tested Windows noscrypt, secp256k1 MSVC ✅ Tested ESP-IDF noscrypt, mbedtls ESP32/S2/S3/C3/C6, v5.0+ ✅ Tested, run under QEMU ESP-IDF stack requirement On ESP targets the RNG goes through a cached mbedTLS CTR-DRBG rather than esp fill random() , so that a failed draw can be reported instead of silently returning zeros. That costs stack in the ta","default_branch":null,"files":null,"tree":[],"storefront":"/r/privkeyio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/privkeyio/libnostr-c/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}