fullmoon
mbedTLS
fullmoon | mbedTLS | |
---|---|---|
13 | 9 | |
638 | 4,945 | |
- | 1.9% | |
6.7 | 10.0 | |
25 days ago | 7 days ago | |
Lua | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fullmoon
- Fast and minimalistic Redbean-based Lua web framework in one file
-
Redbean β Single-file distributable web server
You can use the excellent fullmoon framework that takes care of a lot for you
https://github.com/pkulchenko/fullmoon
Then using lua is not much different than python/flask
-
Ask HN: What Are You Working on This Year?
My goal is similar to Joseph's (a platform for local first applications using CRDTs), but the approach is slightly different, as I'm building it based on SQLite synchronization using its session extension (https://www.sqlite.org/sessionintro.html) as the encoding mechanism. I plan to incorporate this sync functionality into my web framework (https://github.com/pkulchenko/fullmoon) to allow any application built with it to become "sync-enabled" with just a couple of additional lines of code.
-
redbean: a single-file actually portable web server with Lua, HTTPS and SQLite
Found it whilst checking out a web framework specifically for redbean: https://github.com/pkulchenko/fullmoon
- Show HN: Redbean web server debugging with ZeroBrane Studio
-
I just published 'Reimagining front-end web development with htmx and hyperscript' on hashnode
This may be of interest to you then: https://github.com/pkulchenko/fullmoon
-
Redbean 2.0 Release Notes
I've been having a lot of fun with this developing tiny webapps using Fullmoon[1]. I love Lua, but I frequently bounce between a Windows PC and a Linux PC. Having redbean + Fullmoon has made it a breeze switching back and forth without having to deal with system Lua installs. SQLite and the thorough amount of built-ins[2] is also a dream.
[1] https://github.com/pkulchenko/fullmoon
[2] https://redbean.dev/#functions
-
Fullmoon β Redbean-based Lua web framework deployed as single file
Yes, that register patch may be needed on some Linux systems; I'll add this to the documentation.
Redbean can't use the system Lua, so it comes bundled with its own Lua interpreter (Lua 5.4; there is also work being done to allow LuaJIT or Luau to be embedded instead).
The modules need to be put in the .lua directory within redbean archive; redbean searches within its archive, so you don't need to set LUA_PATH/LUA_CPATH. I have instructions on how to get examples working included in the examples (https://github.com/pkulchenko/fullmoon/tree/more-links#examp...) section.
In terms of the size, this includes MbedTLS and SQLite, so if you don't need those modules, you can compile redbean without them, which should reduce the size considerably.
- Fullmoon: A Redbean Web Framework
mbedTLS
-
OpenWrt 23.05
It's work in progress: https://github.com/Mbed-TLS/mbedtls/blob/development/docs/ar...
Newer version have okay-ish support, I'd guess the next OpenWRT release will have it again.
-
How can I disable the close_notify message?
It's related to this Mbed-TLS issue
-
DIY Physical Backed Tokens (EIP-5791) with ESP32 and BLE
i've used the entropy generator from MbedTLS which uses multiple sources of randomness, and seeding it additionally with the chip's mac address and the free heap size at time of creation. it would take a lot to recreate all that "noise" consistently, but i'm open to suggestions on how to make it more secure
-
Help libraries wonβt work on the IDE for esp32
However on the github page and assuming I found the right source - and this is a HUGE ASSUMPTION - there is a section on porting the library to other platforms.
-
redbean: a single-file actually portable web server with Lua, HTTPS and SQLite
Rebean is a single executable written in ANSI C that embeds Lua 5.4, MbedTLS and SQLite. The crazy thing about this is that it is a C binary that runs on six operating systems without any cross compiling thanks to leveraging Justine Tunney's cosmopolitan.
-
Install mbedTLS on Linux
it looks like the commands are all built under https://github.com/Mbed-TLS/mbedtls/tree/development/programs and the arch mbedtls package does some extra work to rename them and copy them into /usr/local/bin: https://github.com/archlinux/svntogit-community/blob/packages/mbedtls/trunk/PKGBUILD#L55
-
Elliptic Curve Cryptography Explained
If you want to see a real implemention of arbitrary sized integer math, mbedTLS is a great example:
https://github.com/ARMmbed/mbedtls/blob/development/library/...
All of the ECC code in that library relies on this code, which can be accelerated by dedicated hardware.
-
C Deep
mbed TLS - Another crypto implementation. Apache-2.0
-
WireGuard implementation for LwIP stack
Definitely, FreeRTOS + LwIP + Mbed TLS is a fairly common combo these days, and Mbed TLS has hardware acceleration where possible.
What are some alternatives?
redbean-docker - Docker image for redbean from the "scratch" container
OpenSSL - TLS/SSL and crypto library
cosmopolitan - build-once run-anywhere c library
wolfssl - The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3!
Fennel - Lua Lisp Language
libsodium - A modern, portable, easy to use crypto library.
lua-style-guide - Olivine Labs Lua Style Guide
GnuTLS - GnuTLS
openresty - High Performance Web Platform Based on Nginx and LuaJIT
LibTomCrypt - LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
wasm3 - π A fast WebAssembly interpreter and the most universal WASM runtime
LibreSSL - LibreSSL Portable itself. This includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code. Pull requests or patches sent to [email protected] are welcome.