Crates.io | net-mumu |
lib.rs | net-mumu |
version | 0.1.2 |
created_at | 2025-08-15 15:23:43.373418+00 |
updated_at | 2025-08-17 13:46:29.556061+00 |
description | Network tools plugin for the Lava language |
homepage | https://lava.nu11.uk |
repository | https://gitlab.com/tofo/mumu-net |
max_upload_size | |
id | 1796983 |
size | 82,347 |
This is a Net/ping plugin for the MuMu lang-like lava runtime environment.
@license: MIT, Apache 2.0
Documentation:
This provides net:fetch, net:ping, and net:stop functions for crossing the internet with Lumu scripts. It provides high-level network actions, like raws ICCM ping, and web fetch.
extend("net")
import("NET")
Example:
token_id = net:ping("example.com", slog})
net:stop(token_id)
net:fetch("https://example.com", (data) => { slog(data); });
Please note:
This plugin is alpha/linux only.
Plugin automatically registers itself with the MuMu interpreter:
you must call extend("net")
from within lumu.
For use with mumu, libs are built with cdylib
and must be loaded with extend
.
Build
To build the libary and install it:
make all
sudo make install
Environment requirements:
root permissions for raw ICCM ping (linux only)
should be compatible with Smart Linu and Rust cargo (2021).
Licensing: MIT, Apache 2.0
Contact: Please submit issues via GitLab iss.